This is a a LaTex document class useable for the THM and StudiumPlus.
Clone this repo and modify the document.tex file according to your needs. See the release page for a preview.
If your not familiar with LaTex or simply prefer writing in markdown but you like these beautiful looking LaTex pdf's thats completly fine. Use document.md as a start. If you are ready run
pandoc document.md -o document.pdf --template THM.latex --top-level-division=chapter
to compile your markdown to pdf.
To use Lyx as a frontend for your document, you have to complete these steps:
-
Obviously install Latex and Lyx
-
Copy
THM.latex
into.lyx/layouts
.cp THM.latex ~/.lyx/layouts
-
Create a
textmf
directory in your current homemkdir -p ~/textmf/tex/latex
-
Copy
THM.cls
and the resource folder to~/textmf/tex/latex
cp resources ~/textmf/tex/latex
cp THM.cls ~/textmf/tex/latex
-
Update Lyx: Tools -> Reconfigure and restart Lyx
Use the standard \maketitle
command to generate your title page. All your information will be added automatically.
Use \makeinsurance
for generating a insurance section. All your information will be added automatically.
Set the document type with:
\documentType{Praxisphasenbericht}{SS 2018}
As second argument a short description can be supplied. Use {}
for empty description
The standard author command of LaTex is overriden
\author{Your Name}{Your zip code}{Your place}{Your address}{Your matnr}
Supply additional information like shown above. Use {}
for empty description
Set your company supervisor with:
\companysupervisor{Name}
Set your unversity supervisor with:
unisupervisor{Name}
Set company information.
\company{Company name}{company zip code}{company place}{company address}{logo.png}
Adds a generic lock mark to your document.
\lockMark
If provided it will add a signature to the lock mark. Can be any image or pdf/eps file. Hint: Create your signature on a touchscreen device, export it to pdf.
\signature{yourSignatureFile}{paddingTop}{paddingLeft}
Adds a statement about the usage of common known acronyms.
\commonAcronyms
For adding side notes the todonotes
package is used. For convenience, there are short cuts for some different types of notes. Any arguments in []
will be passed to the underlying \todo
command.
\unsure{Is this correct?}
\change{Change this!}
\info{This can help me in chapter seven!}
\improvement{The following section needs to be rewritten!}
\unsure[inline]{An inline todo}