Skip to content

DCC-org/documents

Repository files navigation

documents

Setup

We need a few tools to successfully work with latex:

sudo pacman -Syu texlive-bin texlive-core make texlive-bibtexextra texlive-bin texlive-core texlive-fontsextra texlive-formatsextra texlive-games texlive-genericextra texlive-htmlxml texlive-humanities texlive-latexextra texlive-music texlive-pictures texlive-plainextra texlive-pstricks texlive-publishers texlive-science biber

Also a font package:

sudo pacman -Syu ttf-inconsolata

Python dependencies for colorized text and syntax highlighting:

sudo pacman -Syu python-pygments python2-pygments pygmentize

Last but not least, a tool to convert svg to pdf:

sudo pacman -Syu inkscape

how to cite

\cite{HorgasAnalyse} 'Hadoop ist sacklahm(siehe benchmarks aus \cite{Horgasanalyse}'

stuff for the appendix

We have a few files that place content in the appendix section

figures.tex

this is for all figures (pictures, pdf, svg)

tables.tex

tables, obvious?

listings.tex

source code, text

Embed svg

this is a bit tricky. embedding a svg, in general, is pretty easy:

\begin{figure}[tbp]
  \centering
  \includesvg[svgpath=../figures/,path=../figures/,width=1.0\textwidth]{ssduserstory}
  \caption{Wireframe für SSD Userstory}
\label{figure:ssduserstory}
\end{figure}

this expects a file at: .../figures/ssduserstory.svg. inkscape will be called to convert it to tex. Also you need:

\usepackage{svg}

somewhere.

Sad news: most of the tools for drawing svg files are totally fucked up. https://validator.w3.org/ can be used to validate the svg. I've tested draw.io, yED and gliffy. All of them suck because the svg is broken. How can we fix that? We can convert the svg to pdf with inkscape and use the pdf in latex (also we use pdfcrop to pruge useless surrounding whitespace):

inkscape -A ssduserstory.pdf ssduserstory.svg
pdfcrop ssduserstory.pdf

and the corresponding latex code:

\begin{figure}[tbp]
  \centering
  \includegraphics[width=1.0\textwidth]{../figures/ssduserstory-crop.pdf}
  \caption{Wireframe für SSD Userstory}
\label{figure:ssduserstory}
\end{figure}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages