GithubHelp home page GithubHelp logo

themerius / academic-xetex-template Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 336 KB

Template for academic documents written in XeTeX language. (Preconfigured for German)

License: Other

TeX 95.29% JavaScript 4.71%

academic-xetex-template's Introduction

Academic XeLaTeX Template

You should have installed XeLaTeX, it's bundeled with the MacTeX distribution. You should have installed Adobe's OpenSource Fonts:

You can also use other fonts, but this must be configured!

On Ubuntu/Debian the following packages should be installed:

  • texlive

  • texlive-bibtex-extra

  • texlive-lang-german

  • texlive-latex-extra

  • texlive-xetex

Make the PDF

Simply type:

make pdf

Per default the pdf is located at _build/BUILDNAME. In the Makefile you can define the output filename BUILDNAME.

Structure

Document.tex is the root document. In Config.header.tex are the usepackages and other TeX preamble parameters defined. In Config.methods.tex are the user defined makros. In Biblotgraphy.bib is the bibtex list of your references for this work.

In Titlepages are the Templates for the titlepages. In Chapters is the content of the document. In this manner you can create Figures or Code folders.

Cheat Sheet

For clarity stick to a maximum count of 80 characters per line.

Formatting fonts:

\emph{Emphasized Text}
{\tt Typewriter}
\underline{Underlinded Text}
\textit{Italic Text for whole text blocks}
\textbf{Bold Text for whole text blocks}

emph can be used within textit or textbf.
emph applies automatically a suitable emphasis.

Quotes:

Inline: „German quotations marks look like 99 66.“
Inline: »German quotations marks alternative.«
Inline: „German ‚half‘ quotations marks.“
Inline: »German ›half‹ quotations marks alternative.«

\begin{quote}
  Zitierter Text.
\end{quote}

References after DIN 1505:

http://merkel.zoneo.net/Latex/natbib.php
http://www.ctan.org/tex-archive/biblio/bibtex/contrib/german/din1505

\citep[siehe][S.~15]{default}
\citep{default}
\citet{default}

Formatting Lists:

\begin{itemize}
  \item X
\end{itemize}

\begin{enumerate}
  \item X
\end{enumerate}

Formatting Tables: http://en.wikibooks.org/wiki/LaTeX/Tables

\begin{tabular}{ l | c || r }
  \hline
  1 & 2 & 3 \\
  4 & 5 & 6 \\
  7 & 8 & 9 \\
  \hline
\end{tabular}

Instead of l using e.g. p{5cm} for automatically linebreak.

Table with captions: http://www.weinelt.de/latex/table.html

\begin{table}[tbp]
  % tabular
  \caption{Lorem ipsum.}
\end{table}

Formatting Figures:

\begin{figure}[h!]
  \centering
  \includegraphics[width=1.0\textwidth]{Figures/Fig.png}
  \caption{Lorem ipsum.}\label{lorem}
\end{figure}

\ref{lorem}

Formatting Code:

\begin{verbatim}
print "this is a little code snippet"
\end{verbatim}

\begin{verbatim*}
show spaces explicit
\end{verbatim*}

\verb|inline verbatim|
\verb+inline verbatim+

\verb*|inline verbatim|
\verb*+inline and show spaces explicit+

http://en.wikibooks.org/wiki/LaTeX/Source_Code_Listings

\begin{lstlisting}
Put your code here.
\end{lstlisting}

Bibliography

TODO

academic-xetex-template's People

Contributors

themerius avatar thorimmb avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.