Editing LaTeX Dissertation Formatting Tips
From CommunityData
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 18: | Line 18: | ||
To synchronize the publication and dissertation versions of these articles, I created a special <code>git</code> branch in the repositories for each project. The sole purpose of these branches was to make it convenient to merge any changes I made to the articles into the dissertation.<br /> | To synchronize the publication and dissertation versions of these articles, I created a special <code>git</code> branch in the repositories for each project. The sole purpose of these branches was to make it convenient to merge any changes I made to the articles into the dissertation.<br /> | ||
I added the <code>.tex</code> files from these project-repositories into my dissertation project using a [https://en.wikipedia.org/wiki/Symbolic_link symbolic links].<br /> | I added the <code>.tex</code> files from these project-repositories into my dissertation project using a [https://en.wikipedia.org/wiki/Symbolic_link symbolic links].<br /> | ||
I used [https://yihui.org/knitr/ <code>knitr</code>] to build my tables and figures in these projects, but I did not find it necessary to include the knitr source code in my dissertation project. So when I edited these chapters, I worked on the <code>knitr</code> files (<code>.Rtex</code>) in the project repositories. To bring these changes into the dissertation, I ran knitr and then, in a manual step, edited the resulting <code>*.tex</code> files to turn them from stand-alone LaTeX projects into <code>memoir</code> chapters, as described below. I then used the <code>\input</code> LaTeX command to insert the contents of <code>.tex</code> files into the main document | I used [https://yihui.org/knitr/ <code>knitr</code>] to build my tables and figures in these projects, but I did not find it necessary to include the knitr source code in my dissertation project. So when I edited these chapters, I worked on the <code>knitr</code> files (<code>.Rtex</code>) in the project repositories. To bring these changes into the dissertation, I ran knitr and then, in a manual step, edited the resulting <code>*.tex</code> files to turn them from stand-alone LaTeX projects into <code>memoir</code> chapters, as described below. I then used the <code>\input</code> LaTeX command to insert the contents of <code>.tex</code> files into the main document. | ||
I realize I could have used a more careful organization of my LaTeX projects to avoid the manual step. ''C’est la vie.'' For simplicity, I didn’t include all the project-specific stuff in <code>cdsc_examples_repositories</code> and just copied the final <code>.tex</code> files instead.<br /> | I realize I could have used a more careful organization of my LaTeX projects to avoid the manual step. ''C’est la vie.'' For simplicity, I didn’t include all the project-specific stuff in <code>cdsc_examples_repositories</code> and just copied the final <code>.tex</code> files instead.<br /> |