Editing CommunityData:TeX
From CommunityData
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 1: | Line 1: | ||
In order to write LaTeX documents, there are two main options. The first is to do everything in Overleaf. The second option, which is explained below in this document | In order to write LaTeX documents, there are two main options. The first is to do everything in Overleaf. The second option, which is explained below in this document, is to install software on your local machine which will compile LaTeX documents. | ||
This document explains how to use our lab-created templates. Using other templates may require other steps. | This document explains how to use our lab-created templates. Using other templates may require other steps. | ||
Line 15: | Line 15: | ||
This code includes a bunch of bash scripts which are used to quickly create a new project. If you want, you can copy the files into your path (e.g., <code>ln -s ~/tex/cdsc_tex/new* ~/bin/</code>); this will allow you to run, for example, <code>new_knitr_document documentname</code> to create a new knitr document from the template. | This code includes a bunch of bash scripts which are used to quickly create a new project. If you want, you can copy the files into your path (e.g., <code>ln -s ~/tex/cdsc_tex/new* ~/bin/</code>); this will allow you to run, for example, <code>new_knitr_document documentname</code> to create a new knitr document from the template. | ||
== Using the | == Using the Templates == | ||
There are quite a number of useful instructions sprinkled throughout the TeX source file in comments. You should pay particular attention to the comments that begin with: | There are quite a number of useful instructions sprinkled throughout the TeX source file in comments. You should pay particular attention to the comments that begin with: | ||
Line 39: | Line 39: | ||
\pagestyle{cdsc-page-overleaf} | \pagestyle{cdsc-page-overleaf} | ||
Either approach can be useful for keeping track of which version of a document somebody has. | Either approach can be useful for keeping track of which version of a document somebody has. | ||
The templates themselves use the [http://texdoc.net/texmf-dist/doc/latex/memoir/memman.pdf LaTeX Memoir Class] (warning that link is a ~1000 page PDF and the documentation). | The templates themselves use the [http://texdoc.net/texmf-dist/doc/latex/memoir/memman.pdf LaTeX Memoir Class] (warning that link is a ~1000 page PDF and the documentation). | ||
== Sending Patches to the templates == | == Sending Patches to the templates == |