├── .gitignore ├── README.md ├── algo-backprop ├── algo.sty └── backprop.tex ├── algo-contour-relaxed-superpixels ├── algo.sty └── contour-relaxed-superpixels.tex ├── algo-convex-hull ├── algo.sty └── convex-hull.tex ├── algo-dasp ├── algo.sty └── dasp.tex ├── algo-entropy-rate-superpixels ├── algo.sty └── entropy-rate-superpixels.tex ├── algo-felzenswalb-huttenlocher ├── algo.sty └── felzenswalb-huttenlocher.tex ├── algo-ipiano └── ipiano.tex ├── algo-quick-shift ├── algo.sty └── quick-shift.tex ├── algo-seeds ├── algo.sty └── seeds.tex ├── algo-sgd ├── algo.sty └── sgd.tex ├── algo-slic ├── algo.sty └── slic.tex ├── algo-turbopixels ├── algo.sty └── turbopixels.tex ├── algo-vccs ├── algo.sty └── vccs.tex ├── algorithmic-ccat ├── algorithmic.sty └── ccat.tex ├── baposter ├── baposter.cls └── poster_portrait.tex ├── beamer-gatech-theme ├── GPL.txt ├── README.md ├── beamerthemegatech.sty ├── example.tex └── logo-gt.png ├── beamer-rwth-minimal-theme ├── GPL.txt ├── README.md ├── beamerthemerwthsimple.sty └── example.tex ├── beamer-rwth-theme ├── GPL.txt ├── README.md ├── beamerthemerwth.sty ├── example.tex └── logo.png ├── bibliography-no-hanging ├── no-hanging.bib └── no-hanging.tex ├── cv-brennen-bearnes ├── cv.tex └── cv_brennen.cls ├── cv-christopher-paciorek ├── README.md ├── cv.tex └── res.cls ├── cv-clement-schmitt ├── README.md └── cv.tex ├── cv-david-grant ├── README.md ├── cv.tex └── shading.sty ├── cv-jason-blevins ├── README.md └── cv.tex ├── cv-michiel-helvensteijn ├── README.md ├── cv.tex ├── my-cv.cls ├── my-whenprinting.sty ├── qr.png └── rubrics │ ├── academic-activities.tex │ ├── academic-projects.tex │ ├── awards.tex │ ├── courses.tex │ ├── education.tex │ ├── international.tex │ ├── personal-projects.tex │ ├── professional-experience.tex │ ├── publications.tex │ ├── refereed-for.tex │ └── teaching-experience.tex ├── figures-crop ├── crop-image.tex └── pictures │ ├── heat_10.png │ ├── heat_11.png │ ├── heat_12.png │ ├── heat_13.png │ └── heat_9.png ├── figures-sidecap ├── pictures │ └── map.png └── sidecap.tex ├── general-bold └── bold.tex ├── general-boxes └── boxes.tex ├── general-colors ├── colors.tex └── define_colors.html ├── general-english-letter-subject └── letter.tex ├── general-english-letter └── letter.tex ├── general-eür └── eür.tex ├── general-fonts └── fonts.tex ├── general-german-letter-enclosure └── letter-enclosure.tex ├── general-german-letter └── letter.tex ├── general-german-vollmacht └── vollmacht.tex ├── general-hyperlinks └── hyperlinks.tex ├── general-hyphenation └── hyphenation.tex ├── general-letter-invoice └── letter-invoice.tex ├── general-mdframed └── background-color.tex ├── general-scrlttr2-letter └── letter.tex ├── general-section-center └── section-center.tex ├── general-subsubsubsection └── subsubsubsection-subsubsubsubsection.tex ├── general-tables └── tables.tex ├── general-umlauts └── umlauts.tex ├── listings-cpp └── cpp.tex ├── listings-dart └── dart.tex ├── listings-matlab └── matlab.tex ├── listings-sql └── sql.tex ├── math-argmax-argmin └── argmax-argmin.tex ├── math-ceil-floor └── ceil-floor.tex ├── math-framed-theorems └── framed-theorems.tex ├── math-left-align-equation-number └── left-align-equation-number.tex ├── math-limsup-liminf └── limsup-liminf.tex ├── math-matrix-frame └── matrix-frame.tex ├── math-plus-minus └── plus-minus.tex ├── math-spacing └── spacing.tex ├── pgfplots-activation-functions └── activation-functions.tex ├── pgfplots-early-stopping └── early-stopping.tex ├── pgfplots-gaussian-erf └── gaussian-erf.tex ├── pgfplots-group └── group.tex ├── pgfplots-line-plots-2 └── line-plots.tex ├── pgfplots-line-plots-3 └── line-plots.tex ├── pgfplots-line-plots-4 └── line-plots.tex ├── pgfplots-line-plots-csv ├── line-plots.tex ├── training_abs.txt ├── training_absthr.txt ├── training_bce.txt ├── training_kld.txt ├── training_loss.txt ├── validation_abs.txt ├── validation_absthr.txt ├── validation_bce.txt ├── validation_kld.txt ├── validation_loss.txt ├── validation_mean.txt └── validation_std.txt ├── pgfplots-line-plots └── line-plots.tex ├── pgfplots-oscillations └── oscillations.tex ├── pgfplots-pgfplotstable-highlight-rows ├── data.csv └── pgfplotstable.tex ├── pgfplots-pgfplotstable-ignore-rows ├── data.csv └── pgfplotstable.tex ├── pgfplots-pgfplotstable ├── data.csv └── pgfplotstable.tex ├── pgfplots-stacked-bar-plots └── stacked-bar-plots.tex ├── templates-cvpr ├── bibliography.bib ├── cvpr.sty ├── cvpr_eso.sty ├── eso-pic.sty ├── ieee_fullname.bst ├── paper.tex └── supp.tex ├── templates-elsevier ├── paper.bib └── paper.tex ├── templates-iclr ├── bibliography.bib ├── fancyhdr.sty ├── iclr2020_conference.bst ├── iclr2020_conference.sty ├── math_commands.tex ├── natbib.sty └── paper.tex ├── templates-icml ├── algorithm.sty ├── algorithmic.sty ├── bibliography.bib ├── fancyhdr.sty ├── icml2019.bst ├── icml2019.sty └── paper.tex ├── templates-nips ├── neurips_2019.sty └── paper.tex ├── templates-poster-landscape ├── bibliography.bib ├── poster.tex └── poster_full.tex ├── templates-poster-portrait ├── bibliography.bib ├── poster-blx.bib ├── poster.tex └── poster_full.tex ├── templates-proposal ├── bibliography.bib ├── jponew.bst ├── proposal.tex └── proposalnsf.cls ├── templates-rwth-leibe ├── report.bib ├── report.tex └── titlepage.tex ├── templates-rwth-master ├── acknowledgements.tex ├── algo.sty ├── appendix.tex ├── assertion.tex ├── conclusion.tex ├── dedication.tex ├── experiments.tex ├── introduction.tex ├── method.tex ├── problem.tex ├── related-work.tex ├── thesis.bib ├── thesis.tex └── titlepage.tex ├── templates-rwth-ney ├── report.bib └── report.tex ├── templates-siam ├── lexample_fig1.eps ├── paper.tex ├── references.bib ├── siamart0216.cls └── siamplain.bst ├── templates-springer ├── egbib.bib ├── llncs.cls ├── paper.tex └── splncs03.bst ├── templates-uds-defense ├── assets │ ├── cvpr2019_topic.pdf │ ├── icml2020_topic.pdf │ ├── logos │ │ ├── mpilogo-inf-wide.eps │ │ ├── sic.png │ │ └── uds.eps │ └── tpami2022_topic.pdf ├── beamerthemempiisimple.sty ├── colors.tex ├── font.tex └── slides.tex ├── templates-uds-phd ├── README.md ├── abstract.tex ├── acknowledgements.tex ├── bibliography.bib ├── classicthesis_cw.sty ├── commands.tex ├── conclusion.tex ├── dedication.tex ├── diss.cls ├── introduction.tex ├── packages.tex ├── paper1.tex ├── paper1 │ ├── conclusion.tex │ ├── experiments.tex │ ├── introduction.tex │ └── main.tex ├── paper2.tex ├── paper2 │ ├── conclusion.tex │ ├── experiments.tex │ ├── introduction.tex │ └── main.tex ├── paper3.tex ├── paper3 │ ├── conclusion.tex │ ├── experiments.tex │ ├── introduction.tex │ └── main.tex ├── paper4.tex ├── paper4 │ ├── conclusion.tex │ ├── experiments.tex │ ├── introduction.tex │ └── main.tex ├── paper5.tex ├── paper5 │ ├── conclusion.tex │ ├── experiments.tex │ ├── introduction.tex │ └── main.tex ├── part1.tex ├── part2.tex ├── part3.tex ├── related_work.tex ├── thesis.tex ├── title.tex ├── uds.png └── zusammenfassung.tex ├── tikz-arrows-new └── tikzlibraryarrows.new.code.tex ├── tikz-auto-encoder-architectures └── auto-encoder-architectures.tex ├── tikz-backprop └── backprop.tex ├── tikz-bayes-net ├── bayes-net.tex └── tikzlibrarybayesnet.code.tex ├── tikz-camera-illustration └── camera-illustration.tex ├── tikz-cnn └── cnn.tex ├── tikz-convolutional-layer └── convolutional-layer.tex ├── tikz-fp-tree └── fp-tree.tex ├── tikz-gradient-descent └── gradient-descent.tex ├── tikz-hessian-backprop └── hessian-backprop.tex ├── tikz-horizontal-alignment └── horizontal-alignment.tex ├── tikz-multilayer-perceptron └── multilayer-perceptron.tex ├── tikz-neuron └── neuron.tex ├── tikz-perceptron └── perceptron.tex ├── tikz-pooling-layer └── pooling-layer.tex ├── tikz-precision-recall └── precition-recall.tex ├── tikz-resolution └── resolution.tex ├── tikz-twolayer-perceptron └── twolayer-perceptron.tex ├── tikz-vae └── vae.tex ├── tikz-variational-auto-encoder-architecture └── auto-encoder-architectures.tex └── tikz-voronoi-cells ├── points.txt ├── voronoi.tex ├── voronoi.txt └── voronoi_sample.m /.gitignore: -------------------------------------------------------------------------------- 1 | *.log 2 | *.out 3 | *.gz 4 | *.aux 5 | *.glo 6 | *.toc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # LaTeX Resources 2 | 3 | This repository provides several examples and resources for LaTeX. All examples are tested using MikTeX >=2.9 on Windows 7 and on Ubuntu 12.04/14.04 using `texlive-full`. 4 | 5 | ## Citing 6 | 7 | If you want to cite this repository, use (make sure to fill in the right date!) 8 | 9 | @misc{Stutz2022, 10 | author = {David Stutz}, 11 | title = {Collection of LaTeX resources and examples}, 12 | publisher = {GitHub}, 13 | journal = {GitHub repository}, 14 | howpublished = {\url{https://github.com/davidstutz/latex-resources}}, 15 | note = {Accessed on MM.DD.YYYY} 16 | } 17 | 18 | ## License 19 | 20 | Several examples have been taken from different places all over the world wide web. This is usually indicated by the corresponding URL within the source code or 21 | any copyright statements in file headers. 22 | 23 | All other examples are licensed under the BSD 3-Clause License: 24 | 25 | Copyright (c) 2015-2022, David Stutz 26 | All rights reserved. 27 | 28 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 29 | 30 | * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 31 | * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 32 | * Neither the name of David Stutz nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. 33 | 34 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------------------- /algo-backprop/backprop.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \usepackage{amsmath} 4 | \usepackage[section]{algorithm} 5 | \usepackage[numbered]{algo} 6 | \usepackage{enumerate} 7 | 8 | \begin{document} 9 | 10 | \begin{algorithm}[h] 11 | \small 12 | \begin{enumerate}[(1)] 13 | \item For a sample $(x_n ,y^*_n)$, propagate the input $x_n$ through the 14 | network to compute the outputs $(v_{i_1}, \ldots, v_{i_{|V|}})$ (in topological order). 15 | \vspace{-6px} 16 | %\begin{enumerate}[(a)] 17 | % \item Given a topological sort $V = (v_{i_1},\ldots,v_{i_{|V|}})$, 18 | % sequentially compute the layers' outputs, also denoted by $v_{i_j}$. 19 | % \item Then $y(x_n;w) = v_{i_{|V|}}$ is the network's output. 20 | %\end{enumerate} 21 | \item Compute the loss $\mathcal{L}_n := \mathcal{L}(v_{i_{|V|}}, y_n^*)$ 22 | and its gradient 23 | \begin{align} 24 | \frac{\partial \mathcal{L}_n}{\partial v_{i_{|V|}}}. 25 | \end{align} 26 | \vspace{-6px} 27 | \item For each $j = |V|,\ldots,1$ compute 28 | \begin{align} 29 | \frac{\partial \mathcal{L}_n}{\partial w_j} = 30 | \frac{\partial \mathcal{L}_n}{\partial v_{i_{|V|}}} \prod_{k = j + 1}^{|V|} \frac{\partial v_{i_k}}{\partial v_{i_{k - 1}}} 31 | \frac{\partial v_{i_j}}{\partial w_j}. 32 | \end{align} 33 | where $w_j$ refers to the weights in node $i_j$. 34 | \vspace{-12px} 35 | \end{enumerate} 36 | \caption{Error backpropagation algorithm for a layered neural network 37 | represented as computation graph $G = (V,E)$.} 38 | \end{algorithm} 39 | 40 | \end{document} -------------------------------------------------------------------------------- /algo-contour-relaxed-superpixels/contour-relaxed-superpixels.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \usepackage{amsmath} 4 | \usepackage[font=footnotesize]{caption} 5 | \usepackage[section]{algorithm} 6 | \captionsetup[algorithm]{font=footnotesize} 7 | \usepackage[numbered]{algo} 8 | 9 | \begin{document} 10 | 11 | \begin{algorithm}[t] 12 | \begin{algo}{CRS}{\label{algo:related-work-contour-relaxed}\qinput{color image $I$, number of superpixels $K$}\qoutput{superpixel segmentation $S$}} 13 | \qcom{The step size $R$ can be derived from the image size $W \times H$ and $K$:}\\ 14 | initialize $S$ as regular grid with step size $R$\\ 15 | initialize $\boldsymbol \theta$ using sufficient statistics (e.g. Gaussian)\\ 16 | \qfor $t = 1$ \qto $T$\\ 17 | \qcom{Originally, the image is traversed multiple times using different directions to avoid a directional bias \cite{ConradMertzMester}:}\\ 18 | \qfor $n = 1$ \qto $N$\\ 19 | \qif $x_n$ is a boundary pixel\\ 20 | \qcom{This can be evaluated by taking $\boldsymbol \theta$ as constant; Conrad et al. suggest to minimize the negative logarithm of \eqref{eq:related-work-contour-relaxed-maximize} instead:}\\ 21 | \qthen assign $x_n$ to the label maximizing \eqref{eq:related-work-contour-relaxed-maximize}\qfi\qrof\qrof\\ 22 | \qreturn $S$ 23 | \end{algo} 24 | \caption{The algorithm to maximize the energy given in equation \eqref{eq:related-work-contour-relaxed-energy} to obtain Contour Relaxed Superpixels \cite{ConradMertzMester}.} 25 | \label{fig:related-work-contour-relaxed-algorithm} 26 | \end{algorithm} 27 | 28 | \begin{align} 29 | \label{eq:related-work-contour-relaxed-maximize} 30 | E(S) = \kappa \kappa' \exp(- N_{e} C_{e} - N_{v} C_{v}) \prod_{S_i} \prod_{x_m \in S_i} \prod_{c=1}^3 p(I_c(x_m) | \theta_{i,c}) 31 | \end{align} 32 | 33 | \begin{thebibliography}{1} 34 | \bibitem{ConradMertzMester} 35 | C. Conrad, M. Mertz, R. Mester. 36 | \emph{Contour-relaxed superpixels}. 37 | Energy Minimization Methods in Computer Vision and Pattern Recognition, 2013. 38 | \end{thebibliography} 39 | 40 | \end{document} -------------------------------------------------------------------------------- /algo-convex-hull/convex-hull.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \usepackage{amsmath} 4 | \usepackage[section]{algorithm} 5 | \usepackage[numbered]{algo} 6 | \usepackage{enumerate} 7 | 8 | \newcommand{\Vol}{\ensuremath{\mathrm{Vol}}} 9 | 10 | \begin{document} 11 | 12 | \begin{algorithm}[t] 13 | \small 14 | \begin{algo}{Semi-Convex Hull}{ 15 | \label{alg:data-hull} 16 | \qinput{triangular mesh $\mathcal{M}$} 17 | \qoutput{simplified mesh $\mathcal{M}^{(T)}$} 18 | } 19 | draw sample points $\mathcal{P}$ from $\mathcal{M}$\\ 20 | compute convex hull $\mathcal{M}^{(0)} = (V^{(0)}, F^{(0)})$ of $\mathcal{M}$\\ 21 | remesh $\mathcal{M}^{(0)}$ using \cite{FuhrmannAckermannGoesele:2010}\\ 22 | \qfor $t = 0$ \qto $T - 1$\\ 23 | \qif $\mathcal{M} \not\subseteq \Vol(V^{(t)})$\\ 24 | \qthen find smallest $\alpha > 0$ such that $P \subseteq \Vol((1 + \alpha)V^{(t)})$\\ 25 | $V^{(t)} := (1 + \alpha) V^{(t)}$\\ 26 | remesh $\mathcal{M}^{(t)}$ using \cite{FuhrmannAckermannGoesele:2010}\qfi\\ 27 | $V^{(t + 1)} = V^{(t)} - \gamma \nabla \mathcal{L}(V^{(t)})$\qrof\\ 28 | \qreturn $\mathcal{M}^{(T)}$ 29 | \end{algo} 30 | % TODO short caption 31 | \caption{The semi-convex hull algorithm used in \cite{GueneyGeiger:2015} 32 | to obtain watertight, simplified meshes.} 33 | \end{algorithm} 34 | 35 | \begin{thebibliography}{1} 36 | \bibitem{GueneyGeiger:2015} F. G\"{u}ney and A. Geiger. 37 | \emph{Displets: Resolving stereo ambiguities using object knowledge}. 38 | In IEEE Conference on Computer Vision and Pattern Recognition, pages 4165-4175, 2015. 39 | 40 | \bibitem{FuhrmannAckermannGoesele:2010} S. Fuhrmann, J. Ackermann, T. Kalbe, and M. Goesele. 41 | \emph{Direct resampling for isotropic surface remeshing}. 42 | In International Symposium on Vision, Modeling and Visualization, pages 9-16, 2010. 43 | \end{thebibliography} 44 | 45 | \end{document} -------------------------------------------------------------------------------- /algo-dasp/dasp.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \usepackage{amsmath} 4 | \usepackage[font=footnotesize]{caption} 5 | \usepackage[section]{algorithm} 6 | \captionsetup[algorithm]{font=footnotesize} 7 | \usepackage[numbered]{algo} 8 | 9 | \begin{document} 10 | 11 | \begin{algorithm}[t!] 12 | \begin{algo}{DASP (sed sampling)}{\label{algo:superpixel-segmentation-depth-dasp-random}\qinput{color image $I$, density $p(x_n) \propto \frac{1}{A(x_n)}$}\qoutput{superpixel centers $\mu(S) = \{\mu(S_1),\ldots,\mu(S_K)\}$}} 13 | initialize $\mu(S) = \emptyset$\\ 14 | \qfor $n = 1$ \qto $N$\\ 15 | $r$ \qlet $random([0, 1])$\\ 16 | \qif $r < p(x_n)$\\ 17 | \qthen $\mu(S)$ \qlet $\mu(S) \cup \{x_n\}$\qfi\qrof\\ 18 | \qreturn $\mu(S)$ 19 | \end{algo} 20 | \caption[\textbf{DASP} \cite{WeikersdorferGossowBeetz} randomly samples the initial superpixel centers from a custom density based on depth information.]{The easiest way to sample superpixel centers form the superpixel density $p(x_n)$ is given by random sampling. For each pixel, a number in the range $[0,1]$ is randomly chosen and compared to the probability $p(x_n)$ of $x_n$ being an initial superpixel center. For details how the desired number of superpixels is met we refer to the implementation.} 21 | \label{fig:superpixel-segmentation-depth-dasp-random} 22 | \end{algorithm} 23 | 24 | \begin{thebibliography}{1} 25 | \bibitem{WeikersdorferGossowBeetz} 26 | D. Weikersdorfer, A. Schick, D. Cremers. 27 | \emph{Depth-adaptive supervoxels for RGB-D video segmentation}. 28 | International Converence on Image Processing, 2013. 29 | \end{thebibliography} 30 | 31 | \end{document} -------------------------------------------------------------------------------- /algo-entropy-rate-superpixels/entropy-rate-superpixels.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \usepackage{amsmath} 4 | \usepackage[font=footnotesize]{caption} 5 | \usepackage[section]{algorithm} 6 | \captionsetup[algorithm]{font=footnotesize} 7 | \usepackage[numbered]{algo} 8 | 9 | \begin{document} 10 | 11 | \begin{algorithm}[t] 12 | \begin{algo}{ERS}{\label{algo:related-work-ers}\qinput{undirected, weighted graph $G = (V, E)$}\qoutput{superpixel segmentation $S$}} 13 | initialize $M = \emptyset$\\ 14 | \qforeach edge $(n,m) \in E$\\ 15 | \qcom{Let $\hat{G}$ denote the graph $\hat{G} = (V, M \cup \{(n, m)\})$:}\\ 16 | choose edge $(n,m) \in E$ yielding the largest gain in the energy $E(\hat{G})$\\ 17 | \qif $\hat{G}$ has no cycles and $\hat{G}$ contains less or equal than $K$ connected components\\ 18 | \qthen $M$ \qlet $M \cup \{(n,m)\}$\qfi\qrof\\ 19 | \qcom{The superpixel segmentation is given by the connected components in $\hat{G}$:}\\ 20 | derive superpixel segmentation $S$ from $\hat{G}$\\ 21 | \qreturn $S$ 22 | \end{algo} 23 | \caption{The greedy algorithm used to maximize the energy $E(\hat{G})$ to obtain Entropy Rate Superpixels \cite{LiuTuzelRamalingamChellappa}.} 24 | \label{fig:related-work-ers-algorithm} 25 | \end{algorithm} 26 | 27 | \begin{thebibliography}{1} 28 | \bibitem{LiuTuzelRamalingamChellappa} 29 | M. Y. Lui, O. Tuzel, S. Ramalingam, R. Chellappa. 30 | \emph{Entropy rate superpixel segmentation}. 31 | Converence on Computer Vision and Pattern Recognition, 2011. 32 | \end{thebibliography} 33 | 34 | \end{document} -------------------------------------------------------------------------------- /algo-felzenswalb-huttenlocher/felzenswalb-huttenlocher.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \usepackage{amsmath} 4 | \usepackage[font=footnotesize]{caption} 5 | \usepackage[section]{algorithm} 6 | \captionsetup[algorithm]{font=footnotesize} 7 | \usepackage[numbered]{algo} 8 | 9 | \begin{document} 10 | 11 | \begin{algorithm}[t] 12 | \begin{algo}{}{\label{algo:related-work-fh}\qinput{undirected, weighted graph $G = (V,E)$}\qoutput{superpixel segmentation $S$}} 13 | sort $E$ by increasing edge weight\\ 14 | let $S$ be the superpixel segmentation where each pixel is its own superpixel\\ 15 | \qfor $k = 1$ \qto $|E|$\\ 16 | let $(n,m)$ be the $k^\text{th}$ edge\\ 17 | \qif $s(x_n) \neq s(x_m)$\\ 18 | \qthen \qif $w_{n,m}$ is sufficiently small compared to $MInt(S_{s(x_n)}, S_{s(x_m)})$\\ 19 | \qthen merge superpixels $S_{s(x_n)}$ and $S_{s(x_m)}$\qfi\qfi\qrof\\ 20 | \qreturn $S$ 21 | \end{algo} 22 | \caption{The superpixel algorithm \textbf{FH} proposed in \cite{FelzenswalbHuttenlocher}.} 23 | \label{fig:related-work-fh-algorithm} 24 | \end{algorithm} 25 | 26 | \begin{thebibliography}{1} 27 | \bibitem{FelzenswalbHuttenlocher} 28 | P. F. Felzenswalb, 29 | D. P. Huttenlocher. 30 | \emph{Efficient graph-based image segmentation}. 31 | International Journal of Computer Vision, 59(2), 2004. 32 | \end{thebibliography} 33 | 34 | \end{document} -------------------------------------------------------------------------------- /algo-ipiano/ipiano.tex: -------------------------------------------------------------------------------- 1 | % SIAM Article Template 2 | \documentclass[a4paper,11pt]{article} 3 | 4 | \usepackage{algorithm} 5 | \usepackage{algorithmic} 6 | \usepackage{amsmath} 7 | 8 | \begin{document} 9 | 10 | \begin{algorithm}[h] 11 | \caption{iPiano.} 12 | \label{alg:ipiano} 13 | \begin{algorithmic}[1] 14 | \STATE{choose $c_1, c_2 > 0$ // With $c_1$, $c_2$ close to zero.} 15 | \STATE{choose $L_{-1} > 0$} 16 | \STATE{choose $\eta > 1$} 17 | \STATE{choose $x^{(0)}$} 18 | \STATE{$x^{(-1)} := x^{(0)}$} 19 | \STATE{// Fixed number of iterations; or $\epsilon$-criterion.} 20 | \FOR{$n = 0, \ldots$} 21 | \STATE{$L_n := \frac{1}{\eta} L_{n - 1}$ // Initial estimate of $L_n$ is $L_{n-1}$} 22 | \REPEAT 23 | \STATE{$L_n := \eta L_n$ // Next estimate of $L_n$.} 24 | \REPEAT 25 | \STATE{choose $\alpha_n \geq c_1$}\label{line:ipiano-alpha} 26 | \STATE{choose $\beta_n \geq 0$}\label{line:ipiano-beta} 27 | \STATE{$\delta_n := \frac{1}{\alpha_n} - \frac{L_n}{2} - \frac{\beta_n}{2\alpha_n}$} 28 | \STATE{$\gamma_n := \frac{1}{\alpha_n} - \frac{L_n}{2} - \frac{\beta_n}{\alpha_n}$} 29 | \UNTIL{$\delta_n \geq \gamma_n \geq c_2$} 30 | \STATE{$\tilde{x}^{(n + 1)} = \text{prox}_{\alpha_n g} \left(x^{(n)} - \alpha_n \nabla f(x^{(n)}) + \beta_n (x^{(n)} - x^{(n - 1)})\right)$ // Re-estimate $\tilde{x}^{(n + 1)}$.} 31 | \UNTIL{Lipschitz condition is satisifed for $\tilde{x}^{(n + 1)}$} 32 | \STATE{$x^{(n + 1)} := \tilde{x}^{(n + 1)}$} 33 | \ENDFOR 34 | \end{algorithmic} 35 | \end{algorithm} 36 | 37 | \end{document} -------------------------------------------------------------------------------- /algo-quick-shift/quick-shift.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \usepackage{amsmath} 4 | \usepackage[font=footnotesize]{caption} 5 | \usepackage[section]{algorithm} 6 | \captionsetup[algorithm]{font=footnotesize} 7 | \usepackage[numbered]{algo} 8 | 9 | % Following packages only required for this sample, not for using algo.sty in the first place! 10 | \usepackage{color} 11 | \usepackage{listings} 12 | \lstset{language=TeX} 13 | 14 | \definecolor{dkgreen}{rgb}{0,0.6,0} 15 | \definecolor{dkgray}{rgb}{0.25,0.25,0.25} 16 | 17 | \lstset{% 18 | backgroundcolor=\color{white}, 19 | basicstyle=\footnotesize, 20 | breakatwhitespace=false, 21 | breaklines=true, 22 | captionpos=b, 23 | commentstyle=\color{dkgreen}, 24 | deletekeywords={...}, 25 | escapeinside={\%*}{*)}, 26 | extendedchars=true, 27 | frame=single, 28 | keepspaces=true, 29 | keywordstyle=\color{blue}, 30 | language=Octave, 31 | morekeywords={*,...}, 32 | numbers=left, 33 | numbersep=5pt, 34 | numberstyle=\tiny\color{dkgray}, 35 | rulecolor=\color{dkgray}, 36 | showspaces=false, 37 | showstringspaces=false, 38 | showtabs=false, 39 | stepnumber=1, 40 | tabsize=2, 41 | title=\lstname 42 | } 43 | 44 | \begin{document} 45 | 46 | \section{Quick Shift} 47 | 48 | To use the \lstinline!alog.sty! package for a book, update the following lines of \lstinline!algo.sty!: 49 | 50 | \begin{lstlisting} 51 | % Set counter to include chapter: 52 | % \renewcommand{\thealgorithm}{\thechapter .\arabic{algo}} 53 | \renewcommand{\thealgorithm}{\thesection .\arabic{algo}} 54 | \end{lstlisting} 55 | 56 | \begin{algorithm}[h] 57 | \begin{algo}{QS}{\label{algo:related-work-qs}\qinput{color image $I$}\qoutput{superpixel segmentation $S$}} 58 | \qfor $n = 1$ \qto $N$\\ 59 | initialize $t(x_n) = \boldsymbol 0$\qrof\\ 60 | \qfor $n = 1$ \qto $N$\\ 61 | \qcom{$N_R(x_n)$ is the set of all pixels in the local neighborhood of size $R \times R$ around pixel $x_n$:}\\ 62 | calculate $p(x_n) = \sum_{x_m \in N_R(x_n)} \exp\left(\frac{-d(x_n,x_m)^2}{(2/3) R}\right)$ \qrof\\ 63 | \qfor $n = 1$ \qto $N$\\ 64 | set $t(x_n) = \arg\max_{x_m \in N_R(x_n): p(x_m) > p(x_n)} \{p(x_m)\}$\qrof\\ 65 | \qcom{$t$ maps each pixel to its neighbor $x_m$ with highest $p(x_m)$ if $p(x_m) > p(x_n)$;}\\ 66 | \qcom{$t$ can be interpreted as forest, where all pixels $x_n$ with $t(x_n) = \boldsymbol 0$ are roots.}\\ 67 | derive superpixel segmentation $S$ from $t$\\ 68 | \qreturn $S$ 69 | \end{algo} 70 | \caption{The superpixel algorithm \textbf{QS} proposed in \cite{QuickShift}.} 71 | \label{fig:related-work-qs-algorithm} 72 | \end{algorithm} 73 | 74 | \begin{thebibliography}{1} 75 | \bibitem{QuickShift} 76 | A. Vedaldi, 77 | S. Soatto, 78 | \emph{Quick shift and kernel methods for mode seeking}, 79 | ECCV, 80 | 2008. 81 | \end{thebibliography} 82 | 83 | \end{document} -------------------------------------------------------------------------------- /algo-seeds/seeds.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \usepackage{amsmath} 4 | \usepackage[font=footnotesize]{caption} 5 | \usepackage[section]{algorithm} 6 | \captionsetup[algorithm]{font=footnotesize} 7 | \usepackage[numbered]{algo} 8 | 9 | \begin{document} 10 | 11 | \begin{algorithm}[t] 12 | \begin{algo}{SEEDS}{\label{algo:superpixel-segmentation-seeds}\qinput{color image $I$, block size $w^{(1)} \times h^{(1)}$, number of levels $L$, histogram size $Q$}\qoutput{superpixel segmentation $S$}} 13 | initialize the block hierarchy and the initial superpixel segmentation $S$\\ 14 | \qcom{Initialize histograms for all blocks and superpixels:}\\ 15 | \qfor $l = 1$ \qto $L$\\ 16 | \qforeach block $B_i^{(l)}$ \qcom{For $l = L$ these are the initial superpixels.}\\ 17 | initialize histogram $h_{B_i^{(l)}}$\qrof\qrof\\ 18 | \qcom{Block updates:}\\ 19 | \qfor $l = L - 1$ \qto $1$\\ 20 | \qforeach block $B_i^{(l)}$\\ 21 | let $S_j$ be the superpixel $B_i^{(l)}$ belongs to\\ 22 | \qif a neighboring block belongs to a different superpixel $S_k$\\ 23 | \qthen \qif $\cap(h_{B_i^{(l)}}, h_{S_k}) > \cap(h_{B_i^{(l)}}, h_{S_j - B_i^{(l)}})$\\ 24 | \qthen $S_k$ \qlet $S_k \cup B_i^{(l)}$ and $S_j$ \qlet $S_j - B_i^{(l)}$\qfi\qfi\qrof\qrof\\ 25 | \qcom{Pixel updates:}\\ 26 | \qfor $n = 1$ \qto $N$\\ 27 | let $S_j$ be the superpixel $x_n$ belongs to\\ 28 | \qif a neighboring pixel belongs to a different superpixel $S_k$\\ 29 | \qthen\qif $h_{S_k}(h(x_n)) > h_{S_j}(h(x_n))$\label{line:superpixel-segmentation-seeds-pixel-criterion}\\ 30 | \qthen $S_k$ \qlet $S_k \cup \{x_n\}$ and $S_j$ \qlet $S_j - \{x_n\}$\qfi\qfi\qrof\\ 31 | \qreturn $S$ 32 | \end{algo} 33 | \caption[The basic algorithm of \textbf{SEEDS} \cite{VanDenBerghBoixRoigCapitaniVanGool}.]{The basic algorithm of \textbf{SEEDS}.} 34 | \label{fig:superpixel-segmentation-seeds-algorithm} 35 | \end{algorithm} 36 | 37 | \begin{thebibliography}{1} 38 | \bibitem{VanDenBerghBoixRoigCapitaniVanGool} 39 | M. van den Bergh, X. Boix, G. Roig, B. de Capitani, L. van Gool. 40 | \emph{SEEDS: Superpixels extracted via energy-driven sampling}. 41 | Computing Research Repository, abs/1309.3848, 2013. 42 | \end{thebibliography} 43 | 44 | \end{document} -------------------------------------------------------------------------------- /algo-sgd/sgd.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \usepackage[section]{algorithm} 4 | \usepackage[numbered]{algo} 5 | 6 | \begin{document} 7 | 8 | \begin{algorithm}[t] 9 | \begin{algo}{Gradient Descent}{ 10 | \small 11 | \label{alg:deep-learning-gradient-descent} 12 | \qinput{initial weights $w^{(0)}$, number of iterations $T$} 13 | \qoutput{final weights $w^{(T)}$} 14 | } 15 | \qfor $t = 0$ \qto $T - 1$\\ 16 | estimate $\nabla \mathcal{L}(w^{(t)})$\\ 17 | compute $\Delta w^{(t)} = - \nabla \mathcal{L}(w^{(t)})$\label{lin:deep-learning-delta-w}\\ 18 | select learning rate $\gamma$\\ 19 | $w^{(t + 1)} := w^{(t)} + \gamma \Delta w^{(t)}$\qrof\\ 20 | \qreturn $w^{(T)}$ 21 | \end{algo} 22 | % TODO short caption 23 | \caption[]{The general gradient descent algorithm; different choices of 24 | the learning rate $\gamma$ and the estimation technique for $\nabla\mathcal{L}(w)$ 25 | may lead to different implementations.} 26 | \end{algorithm} 27 | 28 | \end{document} -------------------------------------------------------------------------------- /algo-slic/slic.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \usepackage{amsmath} 4 | \usepackage[font=footnotesize]{caption} 5 | \usepackage[section]{algorithm} 6 | \captionsetup[algorithm]{font=footnotesize} 7 | \usepackage[numbered]{algo} 8 | 9 | \begin{document} 10 | 11 | \begin{algorithm}[t!] 12 | \begin{algo}{SLIC}{\label{algo:superpixel-segmentation-slic}\qinput{color image $I$, number of superpixels $K$}\qoutput{superpixel segmentation $S$}} 13 | initialize superpixel centers on a regular grid with step size $R$\\ 14 | move centers to low-gradient magnitude positions\\ 15 | \qrepeat\\ 16 | \qfor $k = 1$ \qto $K$\\ 17 | \qforeach pixel $x_n$ in a $2R \times 2R$ neighborhood around $\mu(S_k)$\\ 18 | \qif $x_n$ is unassigned\\ 19 | \qthen $S_k$ \qlet $S_k \cup \{x_n\}$\qfi\\ 20 | \qelseif $d(x_n, S_k) < d(x_n, S_{s(x_n)})$\\ 21 | \qthen $S_k$ \qlet $S_k \cup \{x_n\}$ and $S_{s(x_n)}$ \qlet $S_{s(x_n)} - \{x_n\}$\qfi\qrof\qrof 22 | \quntil nothing changes \qcom{or maximum number of iterations reached.}\\ 23 | enforce connectivity\\ 24 | \qreturn $S$ 25 | \end{algo} 26 | \caption[The basic algorithm of \textbf{SLIC} \cite{AchantaShajiSmithLucchiFuaSuesstrunk}.]{\textbf{SLIC} is implemented as local $K$-means clustering. Here, local means that for each superpixel only pixels in a $2R \times 2R$ window around the superpixel's center are of interest. After clustering, \textbf{SLIC} needs to enforce connectivity.} 27 | \label{fig:superpixel-segmentation-slic-algorithm} 28 | \end{algorithm} 29 | 30 | \begin{thebibliography}{1} 31 | \bibitem{AchantaShajiSmithLucchiFuaSuesstrunk} 32 | R. Achanta, A. Shaji, K. Smith, A. Lucchi, P. Fua, S. Süsstrunk. 33 | \emph{SLIC superpixels}. 34 | Technical report, École Polytechnique Fédérale de Lausanne, Lusanne, Switzerland, June 2010. 35 | \end{thebibliography} 36 | 37 | \end{document} -------------------------------------------------------------------------------- /algo-turbopixels/turbopixels.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \usepackage{amsmath} 4 | \usepackage[font=footnotesize]{caption} 5 | \usepackage[section]{algorithm} 6 | \captionsetup[algorithm]{font=footnotesize} 7 | \usepackage[numbered]{algo} 8 | 9 | \begin{document} 10 | 11 | \begin{algorithm}[t] 12 | \begin{algo}{TP}{\label{algo:related-work-turbopixels}\qinput{color image $I$, number of superpixels $K$}\qoutput{superpixel segmentation $S$}} 13 | \qcom{$R$ can be derived from the image size $W \times H$ and the number of superpixels $K$:}\\ 14 | place superpixel centers on a regular grid with step size $R$\\ 15 | \qcom{All pixels $x_n$ where $\Psi(x_n) > 0$ are unassigned.}\\ 16 | initialize $\Psi^{(0)}$\\ 17 | \qrepeat\\ 18 | compute $v_I$ and $v_B$\\ 19 | evolve the contour by computing $\Psi^{(T+1)}$\\ 20 | update assigned pixels\\ 21 | $T$ \qlet $T + 1$ 22 | \quntil all pixels are assigned\\ 23 | \qcom{A superpixel segmentation can be derived from the contour given by $\Psi$:}\\ 24 | derive $S$ from $\Psi$\\ 25 | \qreturn $S$ 26 | \end{algo} 27 | \caption{The superpixel algorithm \textbf{TP} proposed in \cite{LevinshteinStereKutulakosFleetDickinsonSiddiqi}.} 28 | \label{fig:related-work-tp-algorithm} 29 | \end{algorithm} 30 | 31 | \begin{thebibliography}{1} 32 | \bibitem{LevinshteinStereKutulakosFleetDickinsonSiddiqi} 33 | A. Levinshtein, A. Stere, K. N. Kutulakos, D. J. Fleet, S. J. Dickinson, K. Siddiqi. 34 | \emph{TurboPixels: Fast superpixels using geometric flows}. 35 | Transactions on Pattern Analysis and Machine Intelligence, 31(12):2290–2297, December 2009. 36 | \end{thebibliography} 37 | 38 | \end{document} -------------------------------------------------------------------------------- /algo-vccs/vccs.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \usepackage{amsmath} 4 | \usepackage[font=footnotesize]{caption} 5 | \usepackage[section]{algorithm} 6 | \captionsetup[algorithm]{font=footnotesize} 7 | \usepackage[numbered]{algo} 8 | 9 | \begin{document} 10 | 11 | \begin{algorithm}[t] 12 | \begin{algo}{VCCS}{\label{algo:superpixel-segmentation-depth-vccs}\qinput{voxelized point cloud, supervoxel resolution $R$, search radius $R_s$}\qoutput{superpixel segmentation $S$}} 13 | place supervoxel centers on a regular grid with step size $R$\\ 14 | discard unnecessary supervoxel centers based on the search radius $R_s$\\ 15 | move supervoxel centers to low gradient magnitude positions\\ 16 | %\qcom{Eventually, move supervoxel centers to mean position within local neighborhood}\\ 17 | \qfor $t = 1$ \qto $T$ \qcom{$T$ is the maximum depth.}\\ 18 | \qfor $k = 1$ \qto $K$\\ 19 | perform one step breadth first search for supervoxel $S_k$\\ 20 | update supervoxel center\qrof\qrof\\ 21 | derive superpixel segmentation $S$ by backprojecting the supervoxels\\ 22 | \qreturn $S$ 23 | \end{algo} 24 | \caption[The supervoxel algorithm \textbf{VCCS} \cite{PaponAbramovSchoelerWoergoetter}.]{\textbf{VCCS} uses $K$-means clustering based on breadth-first search beginning at the supervoxel centers to assign each voxel to a supervoxel. This way, \textbf{VCCS} ensures that the supervoxels represent connected components within the $26$-adjacency graph derived from the voxelized point cloud. The below algorithm can easily be adapted to return a supervoxel segmentation instead of a superpixel segmentation.} 25 | \label{fig:superpixel-segmentation-depth-vccs-breadth-first} 26 | \end{algorithm} 27 | 28 | \begin{thebibliography}{1} 29 | \bibitem{PaponAbramovSchoelerWoergoetter} 30 | J. Papon, A. Abramov, M. Schoeler, F. Wörgötter. 31 | \emph{Voxel cloud connectivity segmentation - supervoxels for point clouds}. 32 | Conference on Computer Vision and Pattern Recognition, 2013. 33 | \end{thebibliography} 34 | 35 | \end{document} -------------------------------------------------------------------------------- /algorithmic-ccat/ccat.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \usepackage{nicefrac} 4 | \usepackage{amsmath} 5 | \usepackage{algorithmic} 6 | 7 | \begin{document} 8 | 9 | \begin{algorithmic}[1] 10 | \WHILE{true} 11 | \STATE choose random batch $(x_1,y_1),\ldots,(x_B,y_B)$. 12 | \FOR{$b = 1,\ldots,\nicefrac{B}{2}$} 13 | \STATE $\delta_b:=\arg\max\limits_{\|\delta\|_\infty \leq \epsilon} \max\limits_{k \neq y_b} f_k(x_b{+}\delta)$ 14 | \STATE $\tilde{x}_b := x_b + \delta_b$ 15 | \STATE $\lambda := (1 - \min(1, \nicefrac{\|\delta_b\|_\infty}{\epsilon}))^\rho$ 16 | \STATE $\tilde{y_b} := \lambda \,\,\text{one\_hot}(y_b) + (1 - \lambda) \nicefrac{1}{K}$ 17 | \ENDFOR 18 | \STATE update parameters:\\\hspace*{1cm}$\sum_{b = 1}^{\nicefrac{B}{2}} \mathcal{L}(f(\tilde{x}_b), \tilde{y}_b) + \sum_{b = \nicefrac{B}{2}}^{B} \mathcal{L}(f(x_b), y_b)$ 19 | \ENDWHILE 20 | \end{algorithmic} 21 | 22 | \begin{thebibliography}{1} 23 | \bibitem{CCAT} 24 | D. Stutz, M. Hein, B. Schiele. 25 | \emph{Confidence-Calibrated Adversarial Training: Generalizing to Unseen Attacks}. 26 | ArXiv, 2019. 27 | \end{thebibliography} 28 | 29 | \end{document} -------------------------------------------------------------------------------- /baposter/poster_portrait.tex: -------------------------------------------------------------------------------- 1 | \documentclass[portrait,final,a0paper,fontscale=0.277]{baposter} 2 | 3 | \usepackage{calc} 4 | \usepackage{graphicx} 5 | \usepackage{amsmath} 6 | \usepackage{amssymb} 7 | \usepackage{relsize} 8 | \usepackage{multirow} 9 | \usepackage{rotating} 10 | \usepackage{bm} 11 | \usepackage{enumitem} 12 | \usepackage{url} 13 | \usepackage{booktabs} 14 | 15 | \begin{document} 16 | 17 | \hyphenation{resolution occlusions} 18 | %% 19 | \begin{poster}% 20 | % Poster Options 21 | { 22 | % Show grid to help with alignment 23 | grid=false, 24 | % Column spacing 25 | colspacing=1em, 26 | % Color style 27 | bgColorOne=white, 28 | bgColorTwo=white, 29 | borderColor=black, 30 | headerColorOne=black, 31 | headerColorTwo=white, 32 | headerFontColor=white, 33 | boxColorOne=white, 34 | boxColorTwo=white, 35 | % Format of textbox 36 | textborder=faded, 37 | % Format of text header 38 | eyecatcher=true, 39 | headerborder=closed, 40 | headerheight=0.1\textheight, 41 | % textfont=\sc, An example of changing the text font 42 | headershape=roundedright, 43 | headershade=shadelr, 44 | headerfont=\Large\bf\textsc, %Sans Serif 45 | textfont={\setlength{\parindent}{1.5em}}, 46 | boxshade=plain, 47 | % background=shade-tb, 48 | background=plain, 49 | linewidth=2pt 50 | } 51 | % Eye Catcher 52 | {} 53 | % Title 54 | {Title} 55 | % Authors 56 | {David Stutz} 57 | % University logo 58 | {} 59 | 60 | \headerbox{Box 1}{name=one,column=0,row=0}{ 61 | Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. 62 | } 63 | 64 | \headerbox{Box 2}{name=two,column=0,below=one}{ 65 | Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. 66 | } 67 | 68 | \headerbox{Box 3}{name=three,column=1,row=0}{ 69 | Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. 70 | } 71 | 72 | \end{poster} 73 | 74 | \end{document} 75 | 76 | -------------------------------------------------------------------------------- /beamer-gatech-theme/README.md: -------------------------------------------------------------------------------- 1 | # Georgia Tech LaTeX Theme 2 | 3 | Georgia Tech LaTex Beamer Theme based on the RWTH Aachen University LaTex Beamer Theme by Tobias Pohlen. 4 | 5 | ## FAQ 6 | 7 | **How to not show the table of contents before each _sub_section?** 8 | 9 | In the method `GTtoc` comment out the `AtBeginSubsection` statement: 10 | 11 | % 12 | % Show table of contents. 13 | % 14 | % @param frame title 15 | % 16 | \newcommand{\GTtoc}[1] 17 | { 18 | \AtBeginSection[] 19 | { 20 | \begin{frame} 21 | \frametitle{#1} 22 | % Highlight the current subsection and its parent section. 23 | \tableofcontents[currentsection] 24 | \end{frame} 25 | } 26 | %\AtBeginSubsection[] 27 | %{ 28 | % \begin{frame} 29 | % \frametitle{#1} 30 | % % Highlight the current subsection and its parent section. 31 | % \tableofcontents[currentsection,currentsubsection] 32 | % \end{frame} 33 | %} 34 | } 35 | 36 | ## License 37 | 38 | **Note:** The below license does not include the Georgia Tech logo (that is, `logo-gt.png`), that is Georgia Tech is copyright holder of the provided logo. 39 | 40 | Copyright (c) 2015, David Stutz 41 | 42 | This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 43 | 44 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 45 | 46 | You should have received a copy of the GNU General Public License along with this program. If not, see [http://www.gnu.org/licenses/](http://www.gnu.org/licenses/). 47 | -------------------------------------------------------------------------------- /beamer-gatech-theme/logo-gt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidstutz/latex-resources/6de42dca4b15dd87e6467c48b64b44992dd7755d/beamer-gatech-theme/logo-gt.png -------------------------------------------------------------------------------- /beamer-rwth-minimal-theme/README.md: -------------------------------------------------------------------------------- 1 | # RWTH Aachen University LaTeX Theme 2 | 3 | This is a minimal version of the RWTH Aachen University LaTeX/Beamer Template in [rwth-theme](../rwth-theme/). 4 | 5 | ## License 6 | 7 | Copyright (c) 2012 - 2014 by Tobias Pohlen 8 | 9 | Released under the GPL License, see `GPL.txt`. -------------------------------------------------------------------------------- /beamer-rwth-theme/README.md: -------------------------------------------------------------------------------- 1 | # RWTH Aachen University LaTeX Theme 2 | 3 | This is a fork of the RWTH Aachen Unviersity LaTeX/Beamer Theme. 4 | 5 | The original project can be found at: [Author's website](http://geekstack.net/index.php?page=rwth_latex_theme), [BitBucket](https://bitbucket.org/geekStack/rwth-aachen-latex-theme/src/default/). 6 | 7 | ## FAQ 8 | 9 | *How to show outline only before sections?* 10 | 11 | Change the following lines: 12 | 13 | \AtBeginSubsection[] 14 | { 15 | \begin{frame} 16 | % This shouldn't be fixed. 17 | \frametitle{#1} 18 | % Highlight just the current subsection and its parent section 19 | \tableofcontents[currentsection,currentsubsection] 20 | \end{frame} 21 | } 22 | 23 | New code: 24 | 25 | \AtBeginSection[] 26 | { 27 | \begin{frame} 28 | % This shouldn't be fixed. 29 | \frametitle{#1} 30 | % Highlight just the current subsection and its parent section 31 | \tableofcontents[currentsection] 32 | \end{frame} 33 | } 34 | 35 | ## License 36 | 37 | **Note:** The below license does not include the RWTH Aachen University logo (that is, `logo.png`, which was taken from the official website [rwth-aachen.de](http://www.rwth-aachen.de/)), that is RWTH Aachen University is copyright holder of the provided logo. 38 | 39 | Copyright (c) 2012 - 2014 by Tobias Pohlen 40 | 41 | Released under the GPL License, see `GPL.txt`. 42 | -------------------------------------------------------------------------------- /beamer-rwth-theme/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidstutz/latex-resources/6de42dca4b15dd87e6467c48b64b44992dd7755d/beamer-rwth-theme/logo.png -------------------------------------------------------------------------------- /bibliography-no-hanging/no-hanging.bib: -------------------------------------------------------------------------------- 1 | @article{A, 2 | author={Author, A.}, 3 | title={The title of this article that should be long enough to wrap}, 4 | journal={Journal of Irreproducible Results}, 5 | year={2042}, 6 | } 7 | @article{B, 8 | author={Buthor, B.}, 9 | title={The title of this article that should be long enough to wrap}, 10 | journal={Journal of Irreproducible Results}, 11 | year={2042}, 12 | } 13 | -------------------------------------------------------------------------------- /bibliography-no-hanging/no-hanging.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | % http://tex.stackexchange.com/questions/100731/omit-hanging-indent-in-bibtex 4 | \usepackage{etoolbox} 5 | 6 | 7 | \begin{document} 8 | \nocite{*} 9 | \bibliographystyle{alpha} 10 | \begin{thebibliography}{1} 11 | \bibitem{gcpr} 12 | D. Stutz. 13 | \emph{Superpixel Segmentation: An Evaluation}. 14 | German Conference on Pattern Recognition, 2015. 15 | \end{thebibliography} 16 | 17 | % ! 18 | \patchcmd{\thebibliography} 19 | {\advance\leftmargin\labelsep} 20 | {\leftmargin=0pt\itemindent=\labelwidth\advance\itemindent\labelsep} 21 | {}{} 22 | \bibliographystyle{alpha} 23 | \begin{thebibliography}{1} 24 | \bibitem{gcpr} 25 | D. Stutz. 26 | \emph{Superpixel Segmentation: An Evaluation}. 27 | German Conference on Pattern Recognition, 2015. 28 | \end{thebibliography} 29 | 30 | \end{document} -------------------------------------------------------------------------------- /cv-christopher-paciorek/README.md: -------------------------------------------------------------------------------- 1 | # README 2 | 3 | License see [http://www.stat.berkeley.edu/~paciorek/computingTips/Latex_template_creating_CV_.html](http://www.stat.berkeley.edu/~paciorek/computingTips/Latex_template_creating_CV_.html). 4 | -------------------------------------------------------------------------------- /cv-clement-schmitt/README.md: -------------------------------------------------------------------------------- 1 | # README 2 | 3 | License see [https://www.overleaf.com/articles/clement-schmitts-cv/dkxjvvfhbyjs](https://www.overleaf.com/articles/clement-schmitts-cv/dkxjvvfhbyjs). 4 | -------------------------------------------------------------------------------- /cv-clement-schmitt/cv.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt,a4paper]{moderncv} 2 | 3 | \moderncvtheme[blue]{classic} 4 | \usepackage[utf8]{inputenc} %Windows 5 | 6 | %\usepackage[scale=0.975]{geometry} 7 | \usepackage[top=0.5cm, bottom=0.5cm, left=0.5cm, right=0.5cm]{geometry} 8 | \usepackage{graphicx} 9 | 10 | \firstname{Clément} 11 | \familyname{Schmitt} 12 | \title{Développeur Informatique} 13 | \address{161 avenue des cevennes}{34400 Saint-Series} 14 | \mobile{06.76.80.27.96} 15 | %\phone{} 16 | %\fax{Votre Fax} 17 | \email{clement.schmitt@etud.univ-montp2.fr} 18 | \extrainfo{} 19 | \photo[50pt]{photo.png} 20 | \quote{Objectif: Intégrer une équipe au sein d'un projet novateur en tant que développeur informatique.} 21 | \makeatletter 22 | \renewcommand*{\bibliographyitemlabel}{\@biblabel{\arabic{enumiv}}} 23 | \makeatother 24 | 25 | \usepackage{multibib} 26 | \newcites{book,misc}{{Books},{Others}} 27 | 28 | \nopagenumbers{} 29 | \begin{document} 30 | \maketitle 31 | \section{Cursus} 32 | \cventry{2012--2015}{Master Spécialité IMAGINA}{Faculté des sciences}{Montpellier}{\textit{Bac+5}}{} 33 | \cventry{2011--2012}{Diplôme de licence 3}{Faculté des sciences}{Montpellier}{\textit{Bac+3}}{} 34 | \cventry{2008--2011}{Diplôme Universitaire Technologique Informatique}{IUT}{Montpellier}{\textit{Bac+2}}{} 35 | \cventry{2008}{Baccalauréat S option Science de l'ingénieur}{Lycée Louis-Feuillade}{Lunel}{}{} 36 | 37 | \section{Compétences Informatiques} 38 | \cvline{Langages}{C\#, C/C++, JAVA, HTML/CSS, PHP, SQL, JavaScript, jQuery.} 39 | \cvline{Moteur jeu}{Unity 3D et utilisation de Fmod Studio (son). Utilisation de la librairie OpenGL.} 40 | \cvline{Web/mobile}{Framework symfony, librairie Hightcharts, jQuery Mobile, yournavigation.} 41 | 42 | \section{Projets} 43 | \cvline{Prototypes}{Projets en C\# (mini-jeux \& applications multiplateformes) avec Unity3D: TowerDefense, Configurateur d'espace, Spaceshooter; Integration de dispostif: Oculus Rift, Falcon, Kinect.} 44 | \cvline{Moteur 3D}{Réalisation de rendu 3D de scènes virtuelles à l’aide d’OpenGL.} 45 | 46 | \section{Expériences Professionnelles} 47 | \cventry{Avril-Août 2015}{Développeur Unity3D}{NaturalPad}{Montpellier}{}{Stage encadré par l'Université de Montpellier II. Réalisation d'un jeu sérieux pour les kinésithérapeutes, gestion de projet (méthode agile: Scrum)} 48 | \cventry{Juin-Août 2014}{Développeur Unity3D}{VISIMMO 3D}{Paris}{}{Réalisation d'un configurateur d'espace, et création d'applications multiplateformes: maquettes virtuelles/intéractives. (IOS, Android et Windows)} 49 | 50 | \cventry{Mars-Mai 2014}{Développeur Unity3D}{Pointcube}{Lyon}{}{Ajout de fonctionnalités dans l'interface 2D, correction de bugs, maintenance (intégration des modèles 3D) pour un configurateur d'extérieur/paysage.} 51 | 52 | \cventry{Juin-Août 2013}{Développeur Web}{Adwin}{La Grande Motte}{}{Stage volontaire au sein l'entreprise Adwin. Adapter l'outil de gestion aux appareils mobiles.} 53 | 54 | \cventry{Février-Avril 2011}{Développeur Web}{PMSIpilot}{Lyon}{}{Stage encadré par l'IUT de Montpellier. Réalisation d'applications de gestion.} 55 | 56 | \section{Références} 57 | \cventry{}{Marc Poisson}{VISIMMO 3D}{Paris}{marc.poisson@v3d-corporate.com}{Co-fondateur et associé. Directeur des pôles V3D Immo, V3D Com, V3D Formation.} 58 | \cventry{}{David Thibault}{Adways}{Lyon}{dthibaul@gmail.com}{Développeur 3D.} 59 | 60 | \section{Expériences - Centres d'intérêts} 61 | \cvline{Langues}{Français(langue maternelle), Anglais(bon niveau), Allemand(niveau bac).} 62 | \cvline{Emplois saisonniers}{Voiture pilote chez Mediaco (Juillet/Août 2011-2012). Moniteur de voile (Juillet/Août 2007-2010).} 63 | \cvline{Evènements}{Montpellier In Game: Game Summit Conference (2012, 2013), participation à la Retro Game Jam (2013).} 64 | \cvline{Permis}{Voiture, Moto et Bateau.} 65 | 66 | \end{document} -------------------------------------------------------------------------------- /cv-david-grant/README.md: -------------------------------------------------------------------------------- 1 | # README 2 | 3 | License see [http://www.davidgrant.ca/latex_resume_template](http://www.davidgrant.ca/latex_resume_template). 4 | -------------------------------------------------------------------------------- /cv-jason-blevins/README.md: -------------------------------------------------------------------------------- 1 | # README 2 | 3 | License see [http://jblevins.org/projects/cv-template/](http://jblevins.org/projects/cv-template/). 4 | -------------------------------------------------------------------------------- /cv-michiel-helvensteijn/README.md: -------------------------------------------------------------------------------- 1 | # README 2 | 3 | License see [http://www.mhelvens.net/professional/cv](http://www.mhelvens.net/professional/cv). 4 | -------------------------------------------------------------------------------- /cv-michiel-helvensteijn/cv.tex: -------------------------------------------------------------------------------- 1 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \iffalse %%%% 2 | % % 3 | % Copyright (c) 2013 - Michiel Helvensteijn (www.mhelvens.net) % 4 | % % 5 | % Please don't modify and distribute the LaTeX code of my personal CV. % 6 | % The cv.tex file and the rubric files are not released under an open % 7 | % source license. That's only the my-cv.cls and my-whenprinting.sty files. % 8 | % % 9 | % I include these files merely as a usage example. % 10 | % % 11 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \fi %%%% 12 | 13 | \documentclass[final,a4paper]{my-cv} 14 | 15 | \usepackage{microtype} 16 | 17 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 18 | % CV Headers % 19 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 20 | 21 | \leftheader{ 22 | Address: & Niels Bohrweg 1 \\ 23 | & 2333 CA, Leiden \\ 24 | & the Netherlands \\ 25 | Office: & 163 \\ 26 | Phone: & +31(0)715277069 \\ 27 | E-mail: & \pdfemail{mhelvens@liacs.nl} 28 | } 29 | 30 | \rightheader{ 31 | Gender: & Male \\ 32 | Nationality: & Dutch \\ 33 | Marital status: & Single \\ 34 | Birth-date: & 26-9-1986 \\ 35 | Personal ID nr.: & 196775176 \\ 36 | Website: & \pdfurl{www.mhelvens.net} 37 | } 38 | 39 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 40 | % QR Code % 41 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 42 | 43 | \photoscale{.1} 44 | \setlength{\photosep}{-9mm} 45 | \photo[r]{qr.png} 46 | 47 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 48 | % My Name % 49 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 50 | 51 | \myname{Michiel Helvensteijn} 52 | 53 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 54 | \begin{document} % 55 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 56 | 57 | \makerubric{education} 58 | \makerubric{professional-experience} 59 | \makerubric{teaching-experience} \label{rubric:teachingexperience} 60 | \makerubric{publications} 61 | \makerubric{awards} 62 | \makerubric{international} 63 | \makerubric{refereed-for} 64 | \makerubric{academic-projects} 65 | \makerubric{academic-activities} 66 | \makerubric{courses} 67 | \makerubric{personal-projects} 68 | 69 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 70 | \end{document} % 71 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 72 | -------------------------------------------------------------------------------- /cv-michiel-helvensteijn/qr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidstutz/latex-resources/6de42dca4b15dd87e6467c48b64b44992dd7755d/cv-michiel-helvensteijn/qr.png -------------------------------------------------------------------------------- /cv-michiel-helvensteijn/rubrics/academic-activities.tex: -------------------------------------------------------------------------------- 1 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \iffalse %%%% 2 | % % 3 | % Copyright (c) 2014 - Michiel Helvensteijn (www.mhelvens.net) % 4 | % % 5 | % Please don't modify and distribute the LaTeX code of my personal CV. % 6 | % The cv.tex file and the rubric files are not released under an open % 7 | % source license. That's only the my-cv.cls and my-whenprinting.sty files. % 8 | % % 9 | % I include these files merely as a usage example. % 10 | % % 11 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \fi %%%% 12 | 13 | \begin{rubric}{Miscelaneous Academic Activities} 14 | \in{2013} 15 | Initiation / organization of a weekly group meeting for the FM research group at the CWI 16 | \in{2012} 17 | Local organization for the \nth{6} IFIP International Conference on Theoretical Computer Science 18 | \fromTo{2011}{2012} 19 | Organization of the biweekly ACG colloquium at the CWI 20 | \fromTo{2010}{2012} 21 | Organization of three separate peer-reviewed deliverables for the HATS project 22 | \end{rubric} 23 | 24 | -------------------------------------------------------------------------------- /cv-michiel-helvensteijn/rubrics/academic-projects.tex: -------------------------------------------------------------------------------- 1 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \iffalse %%%% 2 | % % 3 | % Copyright (c) 2014 - Michiel Helvensteijn (www.mhelvens.net) % 4 | % % 5 | % Please don't modify and distribute the LaTeX code of my personal CV. % 6 | % The cv.tex file and the rubric files are not released under an open % 7 | % source license. That's only the my-cv.cls and my-whenprinting.sty files. % 8 | % % 9 | % I include these files merely as a usage example. % 10 | % % 11 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \fi %%%% 12 | 13 | \begin{rubric}{European Projects} 14 | \fromToExpected{2014}{2016} 15 | DDMoRe: The Drug Disease Model Resources consortium, 16 | supported through the \pdflink{http://www.imi.europa.eu}{IMI} by the 17 | \nth{7} Framework Programme of the EC and the \pdflink{http://www.efpia.eu/}{EFPIA}% 18 | \hfill\www{http://www.ddmore.eu} 19 | \fromTo{2009}{2013} 20 | HATS: Highly Adaptable and Trustworthy Software using Formal Models, 21 | supported by the \nth{7} Framework Programme of the EC within the 22 | \pdflink{http://cordis.europa.eu/fp7/ict/programme/fet_en.html}{FET} scheme% 23 | \hfill\www{http://www.hats-project.eu} 24 | \end{rubric} 25 | -------------------------------------------------------------------------------- /cv-michiel-helvensteijn/rubrics/awards.tex: -------------------------------------------------------------------------------- 1 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \iffalse %%%% 2 | % % 3 | % Copyright (c) 2014 - Michiel Helvensteijn (www.mhelvens.net) % 4 | % % 5 | % Please don't modify and distribute the LaTeX code of my personal CV. % 6 | % The cv.tex file and the rubric files are not released under an open % 7 | % source license. That's only the my-cv.cls and my-whenprinting.sty files. % 8 | % % 9 | % I include these files merely as a usage example. % 10 | % % 11 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \fi %%%% 12 | 13 | \begin{rubric}{Awards} 14 | \in{2013} 15 | \nth{1} place at Startup Weekend Enschede 2013 \hfill\www{http://www.movingstory.net} 16 | \in{2009} 17 | Cum Laude Master's Degree in Computer Science 18 | \in{2007} 19 | Cum Laude Bachelor's Degree in Informatica 20 | \in{2005} 21 | Jong Talent Aanmoedigings Prijs `Informatica \& Technische Informatica' 22 | from the Koninklijke Hollandsche Maatschappij der Wetenschappen 23 | \hfill\www{http://www.nieuwsbrief.leidenuniv.nl/051122studenten.html} 24 | \end{rubric} 25 | -------------------------------------------------------------------------------- /cv-michiel-helvensteijn/rubrics/courses.tex: -------------------------------------------------------------------------------- 1 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \iffalse %%%% 2 | % % 3 | % Copyright (c) 2014 - Michiel Helvensteijn (www.mhelvens.net) % 4 | % % 5 | % Please don't modify and distribute the LaTeX code of my personal CV. % 6 | % The cv.tex file and the rubric files are not released under an open % 7 | % source license. That's only the my-cv.cls and my-whenprinting.sty files. % 8 | % % 9 | % I include these files merely as a usage example. % 10 | % % 11 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \fi %%%% 12 | 13 | \begin{rubric}{Followed Courses} 14 | \in{Nov~~2012} 15 | `Writing an Excellent Research Grant Proposal' at Leiden University 16 | \in{Oct~~2012} 17 | `Intellectual Property' at Leiden University 18 | \in{Oct~~2012} 19 | `The Art of Presenting Science' at the CWI 20 | \in{Feb~~2012} 21 | `Effective Communication' at Leiden University 22 | \in{Feb~~2012} 23 | `Time Management and Personal Efficiency' at the CWI 24 | \in{Nov~~2011} 25 | ICT.OPEN: an IPA Research School event 26 | \in{Oct~~2011} 27 | `Write it Right' at the CWI 28 | \in{Apr~~2011} 29 | IPA Lentedagen: an IPA Research School event 30 | \in{Nov~~2010} 31 | IPA Herfstdagen: an IPA Research School event 32 | \in{Apr~~2010} 33 | IPA Lentedagen: an IPA Research School event 34 | \end{rubric} 35 | -------------------------------------------------------------------------------- /cv-michiel-helvensteijn/rubrics/education.tex: -------------------------------------------------------------------------------- 1 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \iffalse %%%% 2 | % % 3 | % Copyright (c) 2014 - Michiel Helvensteijn (www.mhelvens.net) % 4 | % % 5 | % Please don't modify and distribute the LaTeX code of my personal CV. % 6 | % The cv.tex file and the rubric files are not released under an open % 7 | % source license. That's only the my-cv.cls and my-whenprinting.sty files. % 8 | % % 9 | % I include these files merely as a usage example. % 10 | % % 11 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \fi %%%% 12 | 13 | \begin{rubric}{Education}[cum laude] 14 | \fromToExpected{2009}{2014} 15 | PhD in Computer Science at the CWI and Leiden University 16 | \fromTo*{2007}{2009} 17 | Master of Science in Computer Science at Leiden University (\emph{cum laude}) 18 | \fromTo*{2004}{2007} 19 | Bachelor of Science in Informatica at Leiden University (\emph{cum laude}) 20 | \fromTo{1998}{2004} 21 | Voorbereidend Wetenschappelijk Onderwijs at Alfrink College Zoetermeer 22 | \fromTo{1999}{2000} 23 | MBO Algemene Ondernemers Vaardigheden at the NHA 24 | \fromTo{1997}{1998} 25 | MBO Praktische Informatiekunde 1 at Stichting Facta 26 | \end{rubric} 27 | -------------------------------------------------------------------------------- /cv-michiel-helvensteijn/rubrics/international.tex: -------------------------------------------------------------------------------- 1 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \iffalse %%%% 2 | % % 3 | % Copyright (c) 2014 - Michiel Helvensteijn (www.mhelvens.net) % 4 | % % 5 | % Please don't modify and distribute the LaTeX code of my personal CV. % 6 | % The cv.tex file and the rubric files are not released under an open % 7 | % source license. That's only the my-cv.cls and my-whenprinting.sty files. % 8 | % % 9 | % I include these files merely as a usage example. % 10 | % % 11 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \fi %%%% 12 | 13 | \newcommand\loc[1]{ ~~--~~#1} 14 | 15 | \begin{rubric}{International Visits}* 16 | 17 | \subrubric{Conferences} 18 | 19 | \in{Oct~~2014} 20 | \nth{13} IDA Conference & \loc{Leuven, Belgium} 21 | \in{Oct~~2014} 22 | \nth{1} ng-europe Conference & \loc{Paris, France} 23 | \in{Oct~~2013} 24 | Tissue KM Workshop & \loc{Brussels, Belgium} 25 | \in{Sep~~2012} 26 | \nth{16} SPLC Conference & \loc{Salvador, Brazil} 27 | \in{Jan~~2012} 28 | \nth{6} VaMoS Workshop & \loc{Leipzig, Germany} 29 | \in{Oct~~2010} 30 | \nth{9} GPCE Conference & \loc{Eindhoven, The Netherlands} 31 | \in{Sep~~2008} 32 | IFIP \nth{20} World Computer Congress & \loc{Milan, Italy} 33 | 34 | \subrubric{Project Meetings} 35 | 36 | \in{Aug~~2014} 37 | BioJS Hackathon & \loc{Munich, Germany} 38 | \in{Sep~~2011} 39 | \nth{3} Annual HATS Meeting & \loc{Oslo, Norway} 40 | \in{May~~2011} 41 | HATS Working Meeting & \loc{Leuven, Belgium} 42 | \in{Sep~~2010} 43 | \nth{2} Annual HATS Meeting & \loc{Kaiserslautern, Germany} 44 | \in{Aug~~2010} 45 | HATS Working Meeting & \loc{Oslo, Norway} 46 | \in{Oct~~2009} 47 | HATS Working Meeting & \loc{Leuven, Belgium} 48 | \in{Sep~~2009} 49 | \nth{1} Annual HATS Meeting & \loc{Gothenburg, Sweden} 50 | 51 | \subrubric{Research Visits} 52 | 53 | \in{May~~2013} 54 | Visit to Katholieke Universiteit Leuven & \loc{Leuven, Belgium} 55 | \in{Dec~~2012} 56 | Visit to Katholieke Universiteit Leuven & \loc{Leuven, Belgium} 57 | \in{Jul~~2012} 58 | Visit to the University of Bologna & \loc{Bologna, Italy} 59 | \in{Nov~~2010} 60 | Visit to Katholieke Universiteit Leuven & \loc{Leuven, Belgium} 61 | \in{Dec~~2009} 62 | Visit to Chalmers University & \loc{Gothenburg, Sweden} 63 | 64 | \subrubric{Research Schools} 65 | 66 | \in{Aug~~2010} 67 | Marktoberdorf Summer School & \loc{Marktoberdorf, Germany} 68 | \in{Feb~~2010} 69 | SYANCO Winter School & \loc{Berlin, Germany} 70 | 71 | \end{rubric} 72 | -------------------------------------------------------------------------------- /cv-michiel-helvensteijn/rubrics/personal-projects.tex: -------------------------------------------------------------------------------- 1 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \iffalse %%%% 2 | % % 3 | % Copyright (c) 2014 - Michiel Helvensteijn (www.mhelvens.net) % 4 | % % 5 | % Please don't modify and distribute the LaTeX code of my personal CV. % 6 | % The cv.tex file and the rubric files are not released under an open % 7 | % source license. That's only the my-cv.cls and my-whenprinting.sty files. % 8 | % % 9 | % I include these files merely as a usage example. % 10 | % % 11 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \fi %%%% 12 | 13 | \begin{rubric}{Personal Projects} 14 | \from{2014} 15 | \verb|delta.js|: an implementation of delta modeling for JavaScript 16 | \hfill\www{https://github.com/mhelvens/delta.js} 17 | \from{2014} 18 | \verb|js-graph|: a graph datastructure for JavaScript 19 | \hfill\www{https://github.com/mhelvens/js-graph} 20 | \from{2014} 21 | \verb|pkgloader|: a \LaTeX{} package for managing the options and loading order of packages 22 | \hfill\www{https://github.com/mhelvens/latex-pkgloader} 23 | \from{2014} 24 | \verb|delta-modules|: an implementation of delta modeling for the \LaTeX{} language 25 | \hfill\www{https://github.com/mhelvens/latex-delta-modules} 26 | \from{2013} 27 | \verb|lt3graph|: a graph datastructure for the \LaTeX3 programming environment 28 | \hfill\www{https://github.com/mhelvens/latex-lt3graph} 29 | \fromTo{2013}{2014} 30 | Talescape: Experiencing and sharing interactive audible augmented reality 31 | \hfill\www{http://www.mhelvens.net/professional/projects/moving-story} 32 | \from{2013} 33 | \verb|underoverlap|: a \LaTeX{} construct for partly overlapping math decorations 34 | \hfill\www{http://latex-underoverlap.googlecode.com} 35 | \from{2012} 36 | \verb|withargs|: a \LaTeX{} construct for locally passing token-lists as \verb~#i~ arguments 37 | \hfill\www{https://github.com/mhelvens/latex-withargs} 38 | \fromTo{2012}{2013} 39 | \verb|concepts|: a \LaTeX{} package for keeping track of formal concepts in scientific papers 40 | \hfill\www{http://latex-concepts.googlecode.com} 41 | \from{2011} 42 | Delta Profiles: a smart, modular profile manager for Android based on Delta Modeling 43 | \hfill\www{http://www.mhelvens.net/professional/projects/delta-profiles} 44 | \from{2008} 45 | Mist, the programming language: the design of a high level programming language 46 | \hfill\www{http://www.mhelvens.net/professional/projects/the-mist-programming-language} 47 | \end{rubric} 48 | -------------------------------------------------------------------------------- /cv-michiel-helvensteijn/rubrics/professional-experience.tex: -------------------------------------------------------------------------------- 1 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \iffalse %%%% 2 | % % 3 | % Copyright (c) 2014 - Michiel Helvensteijn (www.mhelvens.net) % 4 | % % 5 | % Please don't modify and distribute the LaTeX code of my personal CV. % 6 | % The cv.tex file and the rubric files are not released under an open % 7 | % source license. That's only the my-cv.cls and my-whenprinting.sty files. % 8 | % % 9 | % I include these files merely as a usage example. % 10 | % % 11 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \fi %%%% 12 | 13 | \begin{rubric}{Professional Experience} 14 | \fromToExpected{2014}{2016} 15 | Postdoctoral Researcher \& Developer at Leiden University 16 | 17 | \fromTo{2013}{2014} 18 | Software Developer at the CWI 19 | \fromTo{2012}{2013} 20 | Research Assistant at Leiden University 21 | \fromTo{2009}{2012} 22 | Research Assistant at the CWI 23 | \fromTo{2007}{2009} 24 | Student Assistant for Jobmotion, Leiden University (see 25 | also \pdfref{rubric:teachingexperience}{Teaching Experience}) 26 | \fromTo{2005}{2007} 27 | Software Engineer for Carlo Roosen Studio 28 | \fromTo{2003}{2005} 29 | Webdevelopment and Webdesign on freelance basis 30 | \end{rubric} 31 | -------------------------------------------------------------------------------- /cv-michiel-helvensteijn/rubrics/publications.tex: -------------------------------------------------------------------------------- 1 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \iffalse %%%% 2 | % % 3 | % Copyright (c) 2013 - Michiel Helvensteijn (www.mhelvens.net) % 4 | % % 5 | % Please don't modify and distribute the LaTeX code of my personal CV. % 6 | % The cv.tex file and the rubric files are not released under an open % 7 | % source license. That's only the my-cv.cls and my-whenprinting.sty files. % 8 | % % 9 | % I include these files merely as a usage example. % 10 | % % 11 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \fi %%%% 12 | 13 | \begin{rubric}{Peer-reviewed Publications}[notable] 14 | \in{2014} 15 | B. de Bono, P. Grenon, \emph{M. Helvensteijn}, J. Kok and N. Kokash: 16 | ApiNATOMY: The Generation of Interactive Circuitboard Views of Complex Physiology Knowledge, 17 | in the Proceedings of the Virtual Physiological Human Conference 18 | \hfill\emptydoi 19 | \in{2014} 20 | B. de Bono, P. Grenon, \emph{M. Helvensteijn}, J. Kok and N. Kokash: 21 | ApiNATOMY: Towards Multiscale Views of Human Anatomy, 22 | in the Proceedings of the 13th International Symposium 23 | on Intelligent Data Analysis, pp. 72--83 24 | \hfill\doi{10.1007/978-3-319-12571-8_7} 25 | \in{2013} 26 | R. H\"ahnle, \emph{M. Helvensteijn}, E.B. Johnsen, 27 | M. Lienhardt, D. Sangiorgi, I. Schaefer and P. Wong: 28 | HATS Abstract Behavioral Specification: The Architectural View, 29 | FMCO 2011 postproceedings 30 | \hfill\doi{10.1007/978-3-642-35887-6_6} 31 | \in{2012} 32 | F.S. de Boer, \emph{M. Helvensteijn}, J. Winter: 33 | A Modal Logic for Abstract Delta Modeling, 34 | in the Proceedings of the \nth{16} International Software Product Line Conference 35 | - Volume 2, pp. 45--52 36 | \hfill\doi{10.1145/2364412.2364421} 37 | \in{2012} 38 | \emph{M. Helvensteijn}: 39 | Dynamic Delta Modeling, 40 | in the Proceedings of the \nth{16} International Software Product Line Conference 41 | - Volume 2, pp. 127--134 42 | \hfill\doi{10.1145/2364412.2364434} 43 | \in{2012} 44 | \emph{M. Helvensteijn}: 45 | Abstract Delta Modeling: My Research Plan, 46 | in the Proceedings of the \nth{16} International Software Product Line Conference 47 | - Volume 2, pp. 217--224 48 | \hfill\doi{10.1145/2364412.2364449} 49 | \in*{2012} 50 | D. Clarke, \emph{M. Helvensteijn}, I. Schaefer: 51 | Abstract Delta Modeling, 52 | accepted for publication in Mathematical Structures of Computer Science special issue 53 | \hfill\emptydoi 54 | \in{2012} 55 | \emph{M. Helvensteijn}: 56 | Delta Modeling Workflow, 57 | in the Proceedings of the \nth{6} international Workshop on 58 | Variability Modelling of Software-intensive Systems, pp. 129--137 59 | \hfill\doi{10.1145/2110147.2110162} 60 | \in{2012} 61 | \emph{M. Helvensteijn}, R. Muschevici, P. Wong: 62 | Delta Modeling in Practice, a Fredhopper Case Study, 63 | in the Proceedings of the \nth{6} international Workshop on 64 | Variability Modelling of Software-intensive Systems, pp. 139--148 65 | \hfill\doi{10.1145/2110147.2110163} 66 | \in{2010} 67 | D. Clarke, \emph{M. Helvensteijn}, I. Schaefer: 68 | Abstract Delta Modeling, 69 | in the Proceedings of the \nth{9} international conference on Generative 70 | Programming and Component Engineering; (ACM SIGPLAN), pp. 13--22 71 | \hfill\doi{10.1145/1868294.1868298} 72 | \in*{2008} 73 | \emph{M. Helvensteijn}: 74 | Applying Data Mining to the Study of Joseki, 75 | in Artificial Intelligence in Theory and Practice II; (Boston: Springer), pp. 87--96 76 | \hfill\doi{10.1007/978-0-387-09695-7_9} 77 | \end{rubric} 78 | -------------------------------------------------------------------------------- /cv-michiel-helvensteijn/rubrics/refereed-for.tex: -------------------------------------------------------------------------------- 1 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \iffalse %%%% 2 | % % 3 | % Copyright (c) 2014 - Michiel Helvensteijn (www.mhelvens.net) % 4 | % % 5 | % Please don't modify and distribute the LaTeX code of my personal CV. % 6 | % The cv.tex file and the rubric files are not released under an open % 7 | % source license. That's only the my-cv.cls and my-whenprinting.sty files. % 8 | % % 9 | % I include these files merely as a usage example. % 10 | % % 11 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \fi %%%% 12 | 13 | \begin{rubric}{Refereeing Experience} 14 | \in{2014} 15 | Elsevier Journal `Journal of Logical and Algebraic Methods in Programming' 16 | \in{2014} 17 | Springer Journal `Software and Systems Modeling' Special Issue ($\times 2$) 18 | \in{2013} 19 | HATS International School on Formal Models for Components and Objects Postproceedings 20 | \in{2013} 21 | Elsevier Journal `Science of Computer Programming' Special Issue 22 | \in{2012} 23 | \nth{5} IPM International Conference on Fundamentals of Software Engineering ($\times 2$) 24 | \in{2012} 25 | \nth{28} Symposium On Applied Computing 26 | \in{2012} 27 | \nth{10} Conference on Formal Methods for Components and Objects, postproceedings 28 | \in{2012} 29 | \nth{14} Conference on Coordination Models and Languages ($\times 2$) 30 | \in{2011} 31 | \nth{27} Symposium On Applied Computing 32 | \in{2011} 33 | \nth{2} International Conference on Formal Verification of Object-Oriented Software ($\times 2$) 34 | \in{2011} 35 | \nth{8} International Symposium on Formal Aspects of Component Software 36 | \in{2011} 37 | \nth{2} International Conference on Complex Systems Design \& Management 38 | \in{2011} 39 | \nth{15} CSI International Symposium on Computer Science and Software Engineering 40 | \in{2011} 41 | \nth{4} IPM International Conference on Fundamentals of Software Engineering 42 | \in{2010} 43 | \nth{8} IEEE International Conference on Software Engineering and Formal Methods 44 | \in{2009} 45 | \nth{7} IEEE International Conference on Software Engineering and Formal Methods 46 | \end{rubric} 47 | -------------------------------------------------------------------------------- /cv-michiel-helvensteijn/rubrics/teaching-experience.tex: -------------------------------------------------------------------------------- 1 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \iffalse %%%% 2 | % % 3 | % Copyright (c) 2014 - Michiel Helvensteijn (www.mhelvens.net) % 4 | % % 5 | % Please don't modify and distribute the LaTeX code of my personal CV. % 6 | % The cv.tex file and the rubric files are not released under an open % 7 | % source license. That's only the my-cv.cls and my-whenprinting.sty files. % 8 | % % 9 | % I include these files merely as a usage example. % 10 | % % 11 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \fi %%%% 12 | 13 | \begin{rubric}{Teaching Experience}[notable] 14 | \in*{2013} 15 | Lecturer on modern web development for Studievaardigheden at Leiden University 16 | \in*{2013} 17 | Lecturer on Android development for Challenges of Computer Science at Leiden University 18 | \in*{2012} 19 | Lecturer on Android development for Studievaardigheden at Leiden University 20 | \fromTo{2011}{2012} 21 | Teaching Assistant for Programmeren \& Correctheid at Leiden University 22 | \in*{2011} 23 | Lecturer on Qt development for Studievaardigheden at Leiden University 24 | \in*{2010} 25 | Teacher of Hoare logic for Programmeren \& Correctheid at Leiden University 26 | \fromTo{2008}{2009} 27 | Student Assistant for Challenges in Computer Science Seminar at Leiden University 28 | \fromTo{2008}{2009} 29 | Student Assistant for Programmeren \& Correctheid at Leiden University 30 | \in{2008} 31 | Student Assistant for Compiler Construction at Leiden University 32 | \fromTo{2007}{2008} 33 | Student Assistant for Programmeermethoden at Leiden University 34 | \end{rubric} 35 | -------------------------------------------------------------------------------- /figures-crop/crop-image.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt]{article} 2 | 3 | \usepackage{subfigure} 4 | \usepackage{graphicx} 5 | 6 | \subfigcapmargin = 0.1em 7 | \subfigbottomskip = 0em 8 | 9 | \begin{document} 10 | \begin{figure} 11 | \centering 12 | \subfigure{ 13 | \includegraphics[trim=10cm 10cm 10cm 5cm,clip, width=0.135\textwidth]{pictures/map} 14 | } 15 | \subfigure{ 16 | \includegraphics[trim=10cm 10cm 10cm 5cm,clip, width=0.135\textwidth]{pictures/map} 17 | } 18 | \subfigure{ 19 | \includegraphics[trim=10cm 10cm 10cm 5cm,clip, width=0.135\textwidth]{pictures/map} 20 | } 21 | \subfigure{ 22 | \includegraphics[trim=10cm 10cm 10cm 5cm,clip, width=0.135\textwidth]{pictures/map} 23 | } 24 | \subfigure{ 25 | \includegraphics[trim=10cm 10cm 10cm 5cm,clip, width=0.135\textwidth]{pictures/map} 26 | } 27 | \subfigure{ 28 | \includegraphics[trim=10cm 10cm 10cm 5cm,clip, width=0.135\textwidth]{pictures/map} 29 | } 30 | \end{figure} 31 | \end{document} 32 | -------------------------------------------------------------------------------- /figures-crop/pictures/heat_10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidstutz/latex-resources/6de42dca4b15dd87e6467c48b64b44992dd7755d/figures-crop/pictures/heat_10.png -------------------------------------------------------------------------------- /figures-crop/pictures/heat_11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidstutz/latex-resources/6de42dca4b15dd87e6467c48b64b44992dd7755d/figures-crop/pictures/heat_11.png -------------------------------------------------------------------------------- /figures-crop/pictures/heat_12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidstutz/latex-resources/6de42dca4b15dd87e6467c48b64b44992dd7755d/figures-crop/pictures/heat_12.png -------------------------------------------------------------------------------- /figures-crop/pictures/heat_13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidstutz/latex-resources/6de42dca4b15dd87e6467c48b64b44992dd7755d/figures-crop/pictures/heat_13.png -------------------------------------------------------------------------------- /figures-crop/pictures/heat_9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidstutz/latex-resources/6de42dca4b15dd87e6467c48b64b44992dd7755d/figures-crop/pictures/heat_9.png -------------------------------------------------------------------------------- /figures-sidecap/pictures/map.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidstutz/latex-resources/6de42dca4b15dd87e6467c48b64b44992dd7755d/figures-sidecap/pictures/map.png -------------------------------------------------------------------------------- /figures-sidecap/sidecap.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt]{article} 2 | 3 | \usepackage{amsmath} 4 | \usepackage{amssymb} 5 | \usepackage{graphicx} 6 | \usepackage{sidecap} 7 | 8 | % Not necessary for sidecap to work. 9 | \usepackage[margin=1in]{geometry} 10 | 11 | \DeclareGraphicsExtensions{.pdf,.png,.jpg} 12 | 13 | \begin{document} 14 | \begin{SCfigure}[1.5] 15 | \includegraphics[scale=0.5]{pictures/heat_9} 16 | \includegraphics[scale=0.5]{pictures/heat_10} 17 | \includegraphics[scale=0.5]{pictures/heat_11} 18 | \includegraphics[scale=0.5]{pictures/heat_12} 19 | \includegraphics[scale=0.5]{pictures/heat_13} 20 | \caption{Visualizations of the object prior on the ``Basketball'' sequence: yellow denotes high probability. Note that the object prior is highly dependent on the covariance matrix of the Gaussian and the number of clusters computed in $K$-means clustering.} 21 | \label{fig:prior-clustering} 22 | \end{SCfigure} 23 | \end{document} 24 | -------------------------------------------------------------------------------- /general-bold/bold.tex: -------------------------------------------------------------------------------- 1 | \documentclass[a4paper,11pt]{article} 2 | 3 | \usepackage{contour} 4 | 5 | \begin{document} 6 | \renewcommand{\arraystretch}{1.5} 7 | \contourlength{0.03pt} % offset of random perturbations of text 8 | \contournumber{32} % number of random perturbations 9 | bold \textbf{bold} \contour{black}{bold} 10 | \end{document} -------------------------------------------------------------------------------- /general-boxes/boxes.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt]{article} 2 | 3 | \usepackage[divpnames]{xcolor} 4 | 5 | \begin{document} 6 | 7 | \fbox{test} 8 | \fcolorbox{red}{black}{\color{white} test} 9 | 10 | \end{document} -------------------------------------------------------------------------------- /general-english-letter-subject/letter.tex: -------------------------------------------------------------------------------- 1 | \documentclass{letter} 2 | 3 | \usepackage[utf8x]{inputenc} 4 | \usepackage[T1]{fontenc} 5 | \usepackage{eurosym} 6 | \renewcommand{\familydefault}{\sfdefault} 7 | %\renewcommand{\familydefault}{\rmdefault} 8 | 9 | \addtolength{\voffset}{-0.5in} 10 | \addtolength{\hoffset}{-0.3in} 11 | \addtolength{\textheight}{2cm} 12 | 13 | \address{Sender\\Sender Address 1\\Sender Address 2\\Sender Address 3\\Phone\\Mail} 14 | 15 | \begin{document} 16 | 17 | \begin{letter}{Recipient\\Recipient Address 1\\Recipient Address 2\\Recipient Address 2} 18 | 19 | \opening{\textbf{Subject Line}\\\\[9px]Dear Sir or Madam,} 20 | 21 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ac tellus odio. Aenean in ipsum gravida, maximus leo a, dapibus eros. Aliquam ante nisl, rutrum sed fermentum a, laoreet et eros. Donec eget justo ut sapien ornare suscipit vitae eget justo. Sed aliquam, risus non tempor aliquam, arcu lorem accumsan nisl, ut cursus purus mauris eu eros. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed ac semper libero. Quisque convallis libero leo, vel pretium diam convallis non. Donec tincidunt nibh iaculis iaculis viverra. 22 | 23 | Best regards, 24 | \vskip 2em 25 | Sender Signature 26 | 27 | \encl{Enclosure 1, enclosure 2} 28 | 29 | \end{letter} 30 | 31 | \end{document} -------------------------------------------------------------------------------- /general-english-letter/letter.tex: -------------------------------------------------------------------------------- 1 | \documentclass{letter} 2 | 3 | \usepackage[utf8x]{inputenc} 4 | \usepackage[T1]{fontenc} 5 | \usepackage{eurosym} 6 | \renewcommand{\familydefault}{\sfdefault} 7 | %\renewcommand{\familydefault}{\rmdefault} 8 | 9 | \addtolength{\voffset}{-0.5in} 10 | \addtolength{\hoffset}{-0.3in} 11 | \addtolength{\textheight}{2cm} 12 | 13 | \address{Sender\\Sender Address 1\\Sender Address 2\\Sender Address 3\\Phone\\Mail} 14 | 15 | \begin{document} 16 | 17 | \begin{letter}{Recipient\\Recipient Address 1\\Recipient Address 2\\Recipient Address 2} 18 | 19 | \opening{\textbf{Dear Sir or Madam,}} 20 | 21 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ac tellus odio. Aenean in ipsum gravida, maximus leo a, dapibus eros. Aliquam ante nisl, rutrum sed fermentum a, laoreet et eros. Donec eget justo ut sapien ornare suscipit vitae eget justo. Sed aliquam, risus non tempor aliquam, arcu lorem accumsan nisl, ut cursus purus mauris eu eros. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed ac semper libero. Quisque convallis libero leo, vel pretium diam convallis non. Donec tincidunt nibh iaculis iaculis viverra. 22 | 23 | Best regards, 24 | \vskip 2em 25 | Sender Signature 26 | 27 | \encl{Enclosure 1, enclosure 2} 28 | 29 | \end{letter} 30 | 31 | \end{document} -------------------------------------------------------------------------------- /general-eür/eür.tex: -------------------------------------------------------------------------------- 1 | \documentclass[fontsize=11pt,parskip=half]{scrartcl} 2 | 3 | \usepackage[bottom=2.5cm,top=2.5cm,a4paper]{geometry} 4 | \usepackage[english]{babel} 5 | 6 | \usepackage{ucs} 7 | \usepackage[utf8x]{inputenc} 8 | \usepackage[T1]{fontenc} 9 | \usepackage{lmodern} 10 | \usepackage{marvosym} 11 | \usepackage{listings} 12 | 13 | \usepackage{graphicx} 14 | 15 | \usepackage{datetime} 16 | \usepackage{advdate} 17 | 18 | \newdateformat{DateFormat}{\shortmonthname[\THEMONTH]~\twodigit{\THEDAY},~\THEYEAR} 19 | 20 | \usepackage{multirow} 21 | \usepackage{tabularx} 22 | \newcolumntype{L}[1]{>{\hsize=#1\hsize\raggedright\arraybackslash}X} 23 | \newcolumntype{C}[1]{>{\hsize=#1\hsize\arraybackslash}X} 24 | \newcolumntype{R}[1]{>{\hsize=#1\hsize\raggedleft\arraybackslash}X} 25 | 26 | \usepackage[draft=false, breaklinks=true, colorlinks=true, linkcolor=black, anchorcolor=black, citecolor=black, filecolor=black, menucolor=black, runcolor=black, urlcolor=black]{hyperref} 27 | 28 | \usepackage{xargs} 29 | \usepackage{xspace} 30 | 31 | 32 | \usepackage{eurosym} 33 | \newcommand*{\amount}[1]{{\$}#1} 34 | \newcommand*{\amounteuro}[1]{#1{\text{\euro}}} 35 | 36 | \newcommand*{\MyCompanyName}{Name\xspace} 37 | \newcommand*{\MyCompanyStreet}{Straße Hausnummer\xspace} 38 | \newcommand*{\MyCompanyCity}{PLZ Stadt\xspace} 39 | \newcommand*{\MyCompanyTaxNumber}{Steuernummer\xspace} 40 | \newcommand*{\MyCompanyUstIdNumber}{Identifikationsnummer\xspace} 41 | 42 | \newcommand*{\MyMobilePhone}{Telefon\xspace} 43 | \newcommand*{\MyEmail}{Mail} 44 | 45 | \newcommand*{\TheirCompanyName}{Finanzamt\xspace} 46 | \newcommand*{\TheirCompanyStreet}{Straße Hausnummer\xspace} 47 | \newcommand*{\TheirCompanyCity}{PLZ Stadt\xspace} 48 | 49 | \newcommand*{\VSpace}{1.25em} 50 | \newcommand*{\Vspace}{0.5em} 51 | 52 | \usepackage{lastpage} 53 | \usepackage{scrpage2} 54 | \setkomafont{pageheadfoot}{\sffamily\footnotesize} 55 | \clearscrheadfoot 56 | \pagestyle{scrheadings} 57 | 58 | \begin{document} 59 | 60 | \DateFormat 61 | \sffamily 62 | 63 | \begin{minipage}[t]{\textwidth} 64 | \raggedleft 65 | \begin{tabular}{@{}r@{}} 66 | \MyCompanyName\\ 67 | \MyCompanyStreet\\ 68 | \MyCompanyCity\\ 69 | \MyMobilePhone\\ 70 | \href{mailto:\MyEmail}{\MyEmail}\\ 71 | \end{tabular} 72 | \end{minipage} 73 | 74 | \vspace{\VSpace} 75 | 76 | \begin{minipage}[t]{.5\textwidth} 77 | \vspace{0pt} 78 | \begin{tabular}{@{}l@{}} 79 | \TheirCompanyName\\ 80 | \TheirCompanyStreet\\ 81 | \TheirCompanyCity\\ 82 | \end{tabular} 83 | \end{minipage} 84 | \begin{minipage}[t]{0.5\textwidth} 85 | \vspace{0pt} 86 | \raggedleft 87 | \begin{tabular}{@{}ll} 88 | &\\ 89 | Steuernummer: & \MyCompanyTaxNumber\\ 90 | Identifikationsnummer: & \MyCompanyUstIdNumber\\ 91 | \end{tabular} 92 | \end{minipage} 93 | 94 | \vspace{\VSpace} 95 | 96 | \textbf{Formlose Einnahmenüberschussrechnung} 97 | 98 | \vspace{\VSpace} 99 | 100 | Sehr geehrte Damen und Herren, 101 | 102 | im Folgenden finden Sie eine formlose Einnahmenüberschussrechnung meiner selbstständigen Tätigkeit vom dd.mm.yyyy bis zum dd.mm.yyyy: 103 | 104 | \def\arraystretch{1.5} 105 | \begin{tabularx}{\textwidth}{@{}L{0.8}R{0.2}} 106 | \textbf{Betriebseinnamen} &\\ 107 | \hline 108 | Einnahmen & +1000,00\euro{}\\ 109 | \hline 110 | \textbf{Summe Betriebseinnahmen} & +1000,00\euro{}\\ 111 | \hline\hline 112 | \textbf{Betriebsausgaben} &\\ 113 | \hline 114 | Ausgaben & -500,00\euro{}\\ 115 | \hline 116 | \textbf{Summe Betriebsausgaben} & -500,00\euro{}\\ 117 | \hline\hline 118 | \textbf{Gewinn / Verlust} & +500,00\euro{}\\ 119 | \end{tabularx} 120 | 121 | \vspace{\Vspace} 122 | 123 | Mit freundlichen Grüßen, 124 | \vspace{\VSpace} 125 | 126 | Unterschrift 127 | \end{document} 128 | -------------------------------------------------------------------------------- /general-fonts/fonts.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt]{article} 2 | 3 | \usepackage[top=2cm,bottom=2cm,left=2cm,right=2cm]{geometry} 4 | 5 | % http://www.tug.dk/ 6 | \usepackage{cantarell} 7 | \usepackage[T1]{fontenc} 8 | 9 | \begin{document} 10 | 11 | \begin{tabular}{l} 12 | \verb!\usepackage[default]{cantarell}!\\\hline 13 | {\fcafamily The quick brown fox jumps over the sleazy dog}\\ 14 | {\fcafamily \slshape The quick brown fox jumps over the sleazy dog}\\ 15 | {\fcafamily \bfseries The quick brown fox jumps over the sleazy dog}\\ 16 | {\fcafamily \scshape The quick brown fox jumps over the sleazy dog}\\ 17 | \end{tabular} 18 | 19 | \end{document} -------------------------------------------------------------------------------- /general-german-letter-enclosure/letter-enclosure.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt]{g-brief} 2 | 3 | \usepackage[]{babel} 4 | \usepackage[utf8]{inputenc} 5 | \usepackage{datetime} 6 | 7 | \usepackage[headsep = 1.20\baselineskip, 8 | top = 30mm, 9 | bottom = 20mm, 10 | left = 20mm, 11 | right = 20mm, 12 | ]{geometry} 13 | 14 | \Name{Sender Name} 15 | \Strasse{Sender street} 16 | \Ort{Sender city} 17 | \EMail{Sender mail} 18 | %\Postvermerk{} 19 | \RetourAdresse{\ } 20 | \Unterschrift{Sender signature} 21 | 22 | \Adresse{Recipient name\\Recipient street\\Recipient city\\Recipient country\\Recipient phone} 23 | \Betreff{Subject} 24 | \Datum{\today} 25 | \Anrede{Dear Sir or Madam,} 26 | \Gruss{Best regards,}{0.5cm} 27 | 28 | \Anlagen{Enclosure 1, Enclosure 2} 29 | 30 | \begin{document} 31 | \begin{g-brief} 32 | 33 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas eros augue, imperdiet ornare eros volutpat, volutpat finibus risus. Quisque convallis interdum aliquet. Praesent fermentum orci tortor, ac tempor felis luctus sed. Mauris a sapien at est pellentesque posuere eu at turpis. Nam tincidunt arcu dictum ligula bibendum imperdiet. Vestibulum placerat nisi a nisl hendrerit tristique. Phasellus risus felis, ornare at scelerisque a, molestie pretium nisi. Aliquam metus leo, rhoncus a bibendum eget, suscipit eu lacus. Nunc sit amet vehicula sem. Maecenas ornare tortor felis, eget mollis tellus egestas non. Vestibulum a tincidunt lectus. Morbi non tellus lacinia, facilisis felis ut, facilisis dui. Aliquam erat volutpat. Maecenas quis arcu mauris. Morbi quis vestibulum nisl. 34 | 35 | \end{g-brief} 36 | \end{document} -------------------------------------------------------------------------------- /general-german-letter/letter.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt]{g-brief} 2 | 3 | \usepackage[]{babel} 4 | \usepackage[utf8]{inputenc} 5 | \usepackage{datetime} 6 | 7 | \usepackage[headsep = 1.20\baselineskip, 8 | top = 30mm, 9 | bottom = 20mm, 10 | left = 20mm, 11 | right = 20mm, 12 | ]{geometry} 13 | 14 | \Name{Sender Name} 15 | \Strasse{Sender street} 16 | \Ort{Sender city} 17 | \EMail{Sender mail} 18 | %\Postvermerk{} 19 | \RetourAdresse{\ } 20 | \Unterschrift{Sender signature} 21 | 22 | \Adresse{Recipient name\\Recipient street\\Recipient city\\Recipient country\\Recipient phone} 23 | \Betreff{Subject} 24 | \Datum{\today} 25 | \Anrede{Dear Sir or Madam,} 26 | \Gruss{Best regards,}{0.5cm} 27 | 28 | \begin{document} 29 | \begin{g-brief} 30 | 31 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas eros augue, imperdiet ornare eros volutpat, volutpat finibus risus. Quisque convallis interdum aliquet. Praesent fermentum orci tortor, ac tempor felis luctus sed. Mauris a sapien at est pellentesque posuere eu at turpis. Nam tincidunt arcu dictum ligula bibendum imperdiet. Vestibulum placerat nisi a nisl hendrerit tristique. Phasellus risus felis, ornare at scelerisque a, molestie pretium nisi. Aliquam metus leo, rhoncus a bibendum eget, suscipit eu lacus. Nunc sit amet vehicula sem. Maecenas ornare tortor felis, eget mollis tellus egestas non. Vestibulum a tincidunt lectus. Morbi non tellus lacinia, facilisis felis ut, facilisis dui. Aliquam erat volutpat. Maecenas quis arcu mauris. Morbi quis vestibulum nisl. 32 | 33 | \end{g-brief} 34 | \end{document} -------------------------------------------------------------------------------- /general-german-vollmacht/vollmacht.tex: -------------------------------------------------------------------------------- 1 | \documentclass[parskip=half]{scrartcl} 2 | \usepackage[T1]{fontenc} 3 | \usepackage[utf8]{inputenc} 4 | \usepackage[ngerman]{babel} 5 | 6 | \usepackage{libertine}% eine Schrift, die mir persönlich gut gefällt 7 | 8 | \setkomafont{disposition}{\normalfont\bfseries}% Standardschrift für Überschriften 9 | 10 | \usepackage{graphicx}% stellt \scalebox bereit 11 | \usepackage{array,booktabs}% für Tabellen 12 | 13 | \pagestyle{empty}% keine Seitenzahl 14 | 15 | \begin{document} 16 | 17 | \begin{center} 18 | \scalebox{5}{Vollmacht} 19 | \end{center} 20 | 21 | \vspace{1cm} 22 | 23 | \begin{tabular}{@{}m{.5\linewidth}@{}>{\raggedleft}m{.5\linewidth}@{}} 24 | \begin{tabular}{@{}l@{}} 25 | \bfseries Vollmachtgeber \\ 26 | David Stutz\\ 27 | Hauptstraße 1\\ 28 | 11111 Berlin 29 | \end{tabular} & 30 | \begin{tabular}{@{}l@{}} 31 | \bfseries Vollmachtnehmer \\ 32 | Max Mustermann\\ 33 | Hauptstraße 1\\ 34 | 11111 Berlin 35 | \end{tabular} 36 | \end{tabular} 37 | 38 | \vspace{1cm} 39 | 40 | \minisec{Vollmacht} 41 | 42 | Hiermit bevollmächtige ich ... 43 | 44 | Die Vollmacht gilt ab dem unten stehenden Datum bis die Vollmacht meinerseits 45 | wieder eingezogen wird. 46 | 47 | \vfill 48 | 49 | \begin{tabular}{@{}m{.5\linewidth}@{}>{\raggedleft}m{.5\linewidth}@{}} 50 | \large\scshape Unterschrift: \\ 51 | \midrule[3pt] 52 | & Ort und Datum, Name 53 | \end{tabular} 54 | 55 | \end{document} -------------------------------------------------------------------------------- /general-hyperlinks/hyperlinks.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt,a4paper]{article} 2 | 3 | \usepackage{hyperref} 4 | \usepackage{xcolor} 5 | 6 | \hypersetup{ 7 | colorlinks=true, % replace boxes by coloring links 8 | linkcolor={blue!80!black}, 9 | citecolor={blue!80!black}, 10 | urlcolor={blue!80!black} 11 | } 12 | 13 | \begin{document} 14 | \noindent\cite{Rosenblatt58} 15 | 16 | \noindent \url{http://www.davidstutz.de} 17 | 18 | \noindent \href{http://www.davidstutz.de}{davidstutz.de} 19 | 20 | \begin{thebibliography}{9} 21 | 22 | \bibitem{Rosenblatt58} 23 | Frank Rosenblatt. 24 | \emph{The perceptron: A probabilistic model for information storage and organization in the brain}. 25 | Psychological Review, 65, 1958. 26 | 27 | 28 | \end{thebibliography} 29 | \end{document} -------------------------------------------------------------------------------- /general-hyphenation/hyphenation.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt,a4paper]{article} 2 | 3 | \usepackage[showframe,left=6cm,right=6cm,top=4cm,bottom=4cm]{geometry} 4 | 5 | \begin{document} 6 | 7 | \hyphenation{veryveryverylongword} 8 | \noindent veryveryverylongword veryveryverylongword veryveryverylongword 9 | 10 | \hyphenation{very-very-very-long-word} 11 | \noindent veryveryverylongword veryveryverylongword veryveryverylongword 12 | 13 | \hyphenation{veryveryverylongword} 14 | \noindent veryveryverylongword veryveryverylongword veryvery\allowbreak verylongword 15 | 16 | \end{document} -------------------------------------------------------------------------------- /general-mdframed/background-color.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \usepackage{xcolor} 4 | \usepackage{mdframed} 5 | 6 | \begin{document} 7 | \begin{mdframed}[backgroundcolor=orange!20] 8 | Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. 9 | \end{mdframed} 10 | \end{document} -------------------------------------------------------------------------------- /general-scrlttr2-letter/letter.tex: -------------------------------------------------------------------------------- 1 | \documentclass[% 2 | backaddress=off, 3 | fromalign=locationright, 4 | fromname, 5 | fromaddress, 6 | fromphone, 7 | fromemail, 8 | ]{scrlttr2} 9 | 10 | \usepackage{lipsum} 11 | 12 | \setkomavar{fromname}{Sender Name} 13 | \setkomavar{fromaddress}{Sender Street\\Sender City} 14 | \setkomavar{fromphone}{Sender Phone} 15 | \setkomavar{fromemail}{Sender E-Mail} 16 | 17 | \begin{document} 18 | \begin{letter}{% 19 | Recipient Name\\ 20 | Recipient Street\\ 21 | Recipient City 22 | } 23 | \opening{Dear Sir or Madam,} 24 | 25 | 26 | \lipsum[1] 27 | 28 | \setkomavar{subject}{Subject} 29 | \closing{Best Regards,} 30 | 31 | \ps PS: Lorem ipsum dolor sit amet, consectetur adipiscing elit. In interdum, dolor non sollicitudin viverra, odio tellus pretium lectus, sed vestibulum libero lorem a tellus. Pellentesque. 32 | \encl{Wikipedia.} 33 | 34 | \end{letter} 35 | \end{document} 36 | -------------------------------------------------------------------------------- /general-section-center/section-center.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \usepackage{titlesec} 4 | % http://tex.stackexchange.com/questions/8546/section-heading-centering-problem 5 | \titleformat{\section}[block]{\Large\bfseries\filcenter}{}{1em}{} 6 | \titleformat{\subsection}[hang]{\bfseries}{}{1em}{} 7 | \setcounter{secnumdepth}{0} 8 | 9 | \begin{document} 10 | \section{Section} 11 | \subsection{Subsection} 12 | \end{document} -------------------------------------------------------------------------------- /general-subsubsubsection/subsubsubsection-subsubsubsubsection.tex: -------------------------------------------------------------------------------- 1 | % http://tex.stackexchange.com/questions/164636/subsubsubsection-paragraph-and-subparagraph-count-not-reset-when-starting-a 2 | \documentclass{article} 3 | \usepackage{titlesec} 4 | \titleclass{\subsubsubsection}{straight}[\subsection] 5 | 6 | \newcounter{subsubsubsection}[subsubsection] 7 | 8 | \renewcommand\thesubsubsubsection{\thesubsubsection.\arabic{subsubsubsection}} 9 | \renewcommand\theparagraph{\thesubsubsubsection.\arabic{paragraph}} 10 | \renewcommand\thesubparagraph{\theparagraph.\arabic{subparagraph}} 11 | 12 | \titleformat{\subsubsubsection}{\normalfont\normalsize\bfseries}{\thesubsubsubsection}{1em}{} 13 | \titlespacing*{\subsubsubsection}{0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex} 14 | 15 | \makeatletter 16 | \renewcommand\paragraph{% 17 | \@startsection{paragraph}{5}{\z@}{3.25ex \@plus1ex \@minus.2ex}{-1em}{\normalfont\normalsize\bfseries} 18 | } 19 | \renewcommand\subparagraph{% 20 | \@startsection{subparagraph}{6}{\parindent}{3.25ex \@plus1ex \@minus .2ex}{-1em}{\normalfont\normalsize\bfseries} 21 | } 22 | \def\toclevel@subsubsubsection{4} 23 | \def\toclevel@paragraph{5} 24 | \def\toclevel@paragraph{6} 25 | \def\l@subsubsubsection{\@dottedtocline{4}{7em}{4em}} 26 | \def\l@paragraph{\@dottedtocline{5}{10em}{5em}} 27 | \def\l@subparagraph{\@dottedtocline{6}{14em}{6em}} 28 | \@addtoreset{subsubsubsection}{section} 29 | \@addtoreset{subsubsubsection}{subsection} 30 | \@addtoreset{paragraph}{subsubsubsection} 31 | \makeatother 32 | 33 | \setcounter{secnumdepth}{6} 34 | \setcounter{tocdepth}{6} 35 | 36 | \begin{document} 37 | \tableofcontents 38 | 39 | \section{Section 1} 40 | \subsection{subsection 1} 41 | \subsubsection{subsubsection 1} 42 | \subsubsubsection{Subsubsubsection 1} 43 | \paragraph{paragraph 1} 44 | 45 | \end{document} -------------------------------------------------------------------------------- /general-tables/tables.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt,a4paper]{article} 2 | 3 | \usepackage{tabularx} 4 | \usepackage{multirow} 5 | \usepackage[left=2cm,right=2cm,top=3cm,bottom=3cm]{geometry} 6 | \usepackage{hhline} 7 | 8 | \begin{document} 9 | \begin{table} 10 | \centering 11 | \begin{tabular}{| c c c |} 12 | \hline 13 | \textbf{Column A} & \textbf{Column B} & \textbf{column C}\\ 14 | \multirow{2}{*}{Multirow} & \multicolumn{2}{c |}{Multicolumn}\\ 15 | & Cell & Cell\\ 16 | \hline 17 | \end{tabular} 18 | \caption{Multirows and multicolumns.} 19 | \end{table} 20 | \begin{table} 21 | \centering 22 | \begin{tabular}{|@{} c@{}| c@{}| c@{} |} 23 | \hline 24 | \textbf{Column A} & \textbf{Column B} & \textbf{column C}\\ 25 | Cell & Cell & Cell\\ 26 | \hline 27 | \end{tabular} 28 | \caption{Zero padding.} 29 | \end{table} 30 | {\renewcommand{\arraystretch}{2} 31 | \begin{table} 32 | \centering 33 | \begin{tabular}{| c | c | c |} 34 | \hline 35 | \textbf{Column A} & \textbf{Column B} & \textbf{column C}\\ 36 | Cell & Cell & Cell\\ 37 | \hline 38 | \end{tabular} 39 | \caption{Zero padding.} 40 | \end{table} 41 | } 42 | \begin{table} 43 | \centering 44 | \begin{tabular}{r || c | c | c} 45 | & \textbf{Column A} & \textbf{Column B} & \textbf{column C}\\ 46 | \hhline{=::===} 47 | \textbf{Row 1} & Cell & Cell & Cell\\ 48 | \hhline{-||---} 49 | \textbf{Row 2} & Cell & Cell & Cell\\ 50 | \end{tabular} 51 | \caption{Zero padding.} 52 | \end{table} 53 | \begin{table} 54 | \begin{tabularx}{\textwidth}{|X|l|} 55 | \hline 56 | \textbf{Column A} & \textbf{Column B}\\ 57 | Long, very long cell -- still not over ... & Shorter cell\\ 58 | \hline 59 | \end{tabularx} 60 | \caption{Page-width table.} 61 | \end{table} 62 | \end{document} -------------------------------------------------------------------------------- /general-umlauts/umlauts.tex: -------------------------------------------------------------------------------- 1 | \documentclass[a4paper,11pt]{article} 2 | 3 | \usepackage[utf8]{inputenc} 4 | \inputencoding{utf8} 5 | 6 | \begin{document} 7 | \begin{tabular}{l | l | l} 8 | \verb!\`{o}! & ò&\\ 9 | \verb!\'{o}! & ó&\\ 10 | \verb!\^{o}! & ô&\\ 11 | \verb!\"{o}! & ö&\\ 12 | \verb!\H{o}! & ő&\\ 13 | \verb!\~{o}! & õ&\\ 14 | \verb!\c{c}! & ç&\\ 15 | %\verb!\k{a}! & ą & not available anymore\\ 16 | \verb!\l{}! & ł&\\ 17 | \verb!\={o}! & ō&\\ 18 | \verb!\b{o}! & o&\\ 19 | %\verb!\.{o}! & ȯ & not available anymore\\ 20 | %\verb!\d{u}! & ụ & not available anymore\\ 21 | \verb!\r{a}! & å&\\ 22 | \verb!\u{o}! & ŏ&\\ 23 | \verb!\v{s}! & š\\ 24 | %\verb!\t{oo}! & o͡o & not available anymore\\ 25 | \verb!\o! & ø&\\ 26 | \end{tabular} 27 | \end{document} -------------------------------------------------------------------------------- /listings-dart/dart.tex: -------------------------------------------------------------------------------- 1 | \documentclass[a4paper,12pt]{article} 2 | 3 | \usepackage[utf8]{inputenc} 4 | \usepackage{amsmath} 5 | \usepackage{amssymb} 6 | \usepackage{color} 7 | 8 | \definecolor{dkgreen}{rgb}{0,0.6,0} 9 | \definecolor{gray}{rgb}{0.5,0.5,0.5} 10 | \definecolor{mauve}{rgb}{0.58,0,0.82} 11 | 12 | \usepackage{listings} 13 | \lstset{% 14 | numbers=left, 15 | frame=single, 16 | basicstyle=\small, 17 | numbers=left, 18 | numberstyle=\tiny, 19 | numbersep=15pt,tabsize=4, 20 | flexiblecolumns=true, 21 | keywordstyle=\color{blue}, 22 | commentstyle=\color{dkgreen}, 23 | stringstyle=\color{mauve}, 24 | numberstyle=\tiny\color{gray}, 25 | language=Java, 26 | breaklines=true, 27 | breakatwhitespace=true, 28 | morekeywords={*,num,String,var,library,get,set} , 29 | } 30 | 31 | \begin{document} 32 | 33 | \begin{lstlisting} 34 | #import('dart:html'); 35 | 36 | class Contacts { 37 | 38 | Contacts() { 39 | } 40 | 41 | void run() { 42 | write("Hello World!"); 43 | } 44 | 45 | void write(String message) { 46 | // the HTML library defines a global "document" variable 47 | document.query('#status').innerHTML = message; 48 | } 49 | } 50 | 51 | void main() { 52 | new Contacts().run(); 53 | } 54 | \end{lstlisting} 55 | 56 | \end{document} -------------------------------------------------------------------------------- /listings-matlab/matlab.tex: -------------------------------------------------------------------------------- 1 | \documentclass[twoside,11pt,a4paper]{article} 2 | 3 | \usepackage{amsmath, amssymb, latexsym} 4 | 5 | \usepackage{xcolor} 6 | \definecolor{dkgreen}{rgb}{0,0.6,0} 7 | \definecolor{gray}{rgb}{0.5,0.5,0.5} 8 | \definecolor{mauve}{rgb}{0.58,0,0.82} 9 | 10 | \usepackage{listings} 11 | \lstset{% 12 | numbers=left, 13 | frame=none, 14 | basicstyle=\footnotesize\ttfamily, 15 | numbers=left, 16 | numberstyle=\tiny, 17 | numbersep=15pt,tabsize=4, 18 | flexiblecolumns=true, 19 | keywordstyle=\color{blue}, 20 | commentstyle=\color{dkgreen}, 21 | stringstyle=\color{mauve}, 22 | numberstyle=\tiny\color{gray}, 23 | language=Matlab, 24 | breaklines=true, 25 | breakatwhitespace=true, 26 | morekeywords={*,num,String,var,library,get,set} , 27 | } 28 | 29 | \begin{document} 30 | \begin{lstlisting}[label={lst:train-two-layer-perceptron}] 31 | function [hiddenWeights, outputWeights, error] = trainStochasticSquaredErrorTwoLayerPerceptron(activationFunction, dActivationFunction, numberOfHiddenUnits, inputValues, targetValues, epochs, batchSize, learningRate) 32 | % trainStochasticSquaredErrorTwoLayerPerceptron Creates a two-layer perceptron 33 | % and trains it on the MNIST dataset. 34 | % 35 | % INPUT: 36 | % activationFunction : Activation function used in both layers. 37 | % dActivationFunction : Derivative of the activation 38 | % function used in both layers. 39 | % numberOfHiddenUnits : Number of hidden units. 40 | % inputValues : Input values for training (784 x 60000) 41 | % targetValues : Target values for training (1 x 60000) 42 | % epochs : Number of epochs to train. 43 | % batchSize : Plot error after batchSize images. 44 | % learningRate : Learning rate to apply. 45 | % 46 | % OUTPUT: 47 | % hiddenWeights : Weights of the hidden layer. 48 | % outputWeights : Weights of the output layer. 49 | % 50 | 51 | % The number of training vectors. 52 | trainingSetSize = size(inputValues, 2); 53 | 54 | % Input vector has 784 dimensions. 55 | inputDimensions = size(inputValues, 1); 56 | % We have to distinguish 10 digits. 57 | outputDimensions = size(targetValues, 1); 58 | 59 | % Initialize the weights for the hidden layer and the output layer. 60 | hiddenWeights = rand(numberOfHiddenUnits, inputDimensions); 61 | outputWeights = rand(outputDimensions, numberOfHiddenUnits); 62 | 63 | hiddenWeights = hiddenWeights./size(hiddenWeights, 2); 64 | outputWeights = outputWeights./size(outputWeights, 2); 65 | 66 | n = zeros(batchSize); 67 | 68 | figure; hold on; 69 | 70 | for t = 1: epochs 71 | for k = 1: batchSize 72 | % Select which input vector to train on. 73 | n(k) = floor(rand(1)*trainingSetSize + 1); 74 | 75 | % Propagate the input vector through the network. 76 | inputVector = inputValues(:, n(k)); 77 | hiddenActualInput = hiddenWeights*inputVector; 78 | hiddenOutputVector = activationFunction(hiddenActualInput); 79 | outputActualInput = outputWeights*hiddenOutputVector; 80 | outputVector = activationFunction(outputActualInput); 81 | 82 | targetVector = targetValues(:, n(k)); 83 | 84 | % Backpropagate the errors. 85 | outputDelta = dActivationFunction(outputActualInput).*(outputVector - targetVector); 86 | hiddenDelta = dActivationFunction(hiddenActualInput).*(outputWeights'*outputDelta); 87 | 88 | outputWeights = outputWeights - learningRate.*outputDelta*hiddenOutputVector'; 89 | hiddenWeights = hiddenWeights - learningRate.*hiddenDelta*inputVector'; 90 | end; 91 | 92 | % Calculate the error for plotting. 93 | error = 0; 94 | for k = 1: batchSize 95 | inputVector = inputValues(:, n(k)); 96 | targetVector = targetValues(:, n(k)); 97 | 98 | error = error + norm(activationFunction(outputWeights*activationFunction(hiddenWeights*inputVector)) - targetVector, 2); 99 | end; 100 | error = error/batchSize; 101 | 102 | plot(t, error,'*'); 103 | end; 104 | end 105 | \end{lstlisting} 106 | \end{document} -------------------------------------------------------------------------------- /listings-sql/sql.tex: -------------------------------------------------------------------------------- 1 | \documentclass[a4paper,12pt]{article} 2 | 3 | \usepackage[utf8]{inputenc} 4 | \usepackage{amsmath} 5 | \usepackage{amssymb} 6 | \usepackage{color} 7 | 8 | \definecolor{dkgreen}{rgb}{0,0.6,0} 9 | \definecolor{ltgray}{rgb}{0.5,0.5,0.5} 10 | 11 | \usepackage{listings} 12 | \lstset{% 13 | backgroundcolor=\color{white}, 14 | basicstyle=\footnotesize, 15 | breakatwhitespace=false, 16 | breaklines=true, 17 | captionpos=b, 18 | commentstyle=\color{dkgreen}, 19 | deletekeywords={...}, 20 | escapeinside={\%*}{*)}, 21 | extendedchars=true, 22 | frame=single, 23 | keepspaces=true, 24 | keywordstyle=\color{blue}, 25 | language=SQL, 26 | morekeywords={*,modify,MODIFY,...}, 27 | numbers=left, 28 | numbersep=15pt, 29 | numberstyle=\tiny, 30 | rulecolor=\color{ltgray}, 31 | showspaces=false, 32 | showstringspaces=false, 33 | showtabs=false, 34 | stepnumber=1, 35 | tabsize=4, 36 | title=\lstname 37 | } 38 | 39 | \begin{document} 40 | 41 | \begin{lstlisting}[language=sql] 42 | ALTER TABLE country 43 | MODIFY capital SET NOT NULL; 44 | -- There is no MODIFY CONSTRAINT, so first remove than create anew: 45 | ALTER TABLE country 46 | DROP CONSTRAINT country_capital_fkey; 47 | ALTER TABLE country 48 | ADD CONSTRAINT country_capital_fkey FOREIGN KEY (capital) REFERENCES city(id) ON DELETE CASCADE; 49 | \end{lstlisting} 50 | 51 | \end{document} -------------------------------------------------------------------------------- /math-argmax-argmin/argmax-argmin.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt]{article} 2 | 3 | \usepackage{amsmath} 4 | 5 | \DeclareMathOperator*{\argmin}{arg\,min} 6 | \DeclareMathOperator*{\argmax}{arg\,max} 7 | 8 | \begin{document} 9 | 10 | \begin{align} 11 | \argmin_{0 \leq x \leq 1}\\ 12 | \argmax_{0 \leq x \leq 1} 13 | \end{align} 14 | 15 | \end{document} -------------------------------------------------------------------------------- /math-ceil-floor/ceil-floor.tex: -------------------------------------------------------------------------------- 1 | \documentclass[a4paper,12pt]{article} 2 | 3 | \usepackage[utf8]{inputenc} 4 | \usepackage{amsmath} 5 | \usepackage{amssymb} 6 | 7 | \usepackage{mathtools} 8 | \DeclarePairedDelimiter\ceil{\lceil}{\rceil} 9 | \DeclarePairedDelimiter\floor{\lfloor}{\rfloor} 10 | 11 | \begin{document} 12 | \begin{equation} 13 | K = \floor*{\frac{W}{w^{(L)}}} \cdot \floor*{\frac{H}{h^{(l)}}} 14 | \end{equation} 15 | \end{document} -------------------------------------------------------------------------------- /math-left-align-equation-number/left-align-equation-number.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt]{article} 2 | 3 | \usepackage{amsfonts} 4 | \usepackage{amsthm} 5 | \usepackage{amsmath} 6 | \usepackage[top=3cm,bottom=3cm,left=3cm,right=3cm]{geometry} 7 | 8 | % http://tex.stackexchange.com/questions/8092/placing-equation-number-on-left-with-reqno-option-in-amsart-document-class 9 | \usepackage{environ} 10 | \makeatletter 11 | \NewEnviron{Lalign}{\tagsleft@true\begin{align}\BODY\end{align}} 12 | \makeatother 13 | 14 | \begin{document} 15 | Let $H: \mathbb{R}^n \rightarrow \mathbb{R}$ be a function satisfying 16 | \begin{Lalign} 17 | H(z^{(n + 1)}) + a\Delta_n^2 \leq H(z^{(n)}).\tag{H1} 18 | \end{Lalign} 19 | 20 | It can easily be shown: 21 | \begin{align} 22 | 2\Delta_1 \leq \frac{b}{a} D_n^\phi + \frac{1}{2}(\Delta_0 + \Delta_1) \quad\Leftrightarrow\quad \Delta_1 \leq \frac{b}{a} D_n^\phi + \frac{1}{2}(\Delta_0 + \Delta_1) - \Delta_1 23 | \end{align} 24 | \end{document} -------------------------------------------------------------------------------- /math-limsup-liminf/limsup-liminf.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt]{article} 2 | 3 | \usepackage{amsmath} 4 | 5 | \begin{document} 6 | 7 | \begin{align} 8 | \limsup\limits_{x\rightarrow0}\\ 9 | \liminf\limits_{x\rightarrow0} 10 | \end{align} 11 | 12 | \end{document} -------------------------------------------------------------------------------- /math-matrix-frame/matrix-frame.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt,a4paper]{article} 2 | 3 | \usepackage{tikz} 4 | \usepackage{amsmath} 5 | \usetikzlibrary{fit,matrix} 6 | 7 | \begin{document} 8 | 9 | % http://tex.stackexchange.com/questions/110899/how-to-make-frame-in-matrix 10 | \begin{equation} 11 | I_3 = 12 | \tikz[baseline=(M.west)]{% 13 | \node[matrix of math nodes,matrix anchor=west,left delimiter=(,right delimiter=),ampersand replacement=\&] (M) {% 14 | 1 \& 0 \& 0 \\ 15 | 0 \& 1 \& 0 \\ 16 | 0 \& 0 \& 1 \\ 17 | }; 18 | \node[draw,fit=(M-1-1)(M-2-2),inner sep=-1pt] {}; 19 | } 20 | \end{equation} 21 | 22 | \end{document} -------------------------------------------------------------------------------- /math-plus-minus/plus-minus.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt]{article} 2 | 3 | \usepackage{amsfonts} 4 | \usepackage{amsmath} 5 | \usepackage{graphicx} 6 | \usepackage{epstopdf} 7 | \usepackage{algorithmic} 8 | \usepackage{xspace} 9 | \usepackage{enumitem} 10 | \usepackage[font=small]{caption} 11 | \usepackage{subcaption} 12 | \usepackage{pgfplots} 13 | \usepackage{tikz} 14 | \usepackage[top=3cm,bottom=3cm,left=2.5cm,right=2.5cm]{geometry} 15 | 16 | % http://tex.stackexchange.com/questions/23773/a-centered-plus-minus-symbol 17 | \newcommand{\rpm}{\raisebox{.2ex}{$\scriptstyle\pm$}} 18 | 19 | \begin{document} 20 | \begin{align} 21 | c_{\rpm} = \frac{\int_\Omega (1 \rpm u(x))^2 u^{(0)}(x) dx}{\int_\Omega (1 \rpm u(x))^2 dx} 22 | \end{align} 23 | \end{document} -------------------------------------------------------------------------------- /math-spacing/spacing.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt,4apaper]{article} 2 | 3 | \usepackage{tabularx} 4 | 5 | % see http://tex.stackexchange.com/questions/74353/what-commands-are-there-for-horizontal-spacing 6 | \begin{document} 7 | 8 | \noindent\begin{tabularx}{\textwidth}{| l | X |} 9 | \hline 10 | \verb|a\,b| & a\,b \\ 11 | \verb|$a\,b$| & $a\,b$ \\ 12 | \verb|a\thinspace b| & a\thinspace b \\ 13 | \verb|$a\thinspace b$| & $a\thinspace b$ \\ 14 | \verb|$a\!b$| & $a\!b$ \\ 15 | \verb|$a\mkern-\thinmuskip b$| & $a\mkern-\thinmuskip b$ \\ 16 | \verb|$a\>b$| & $a\>b$ \\ 17 | \verb|$a\mkern\medmuskip b$| & $a\mkern\medmuskip b$ \\ 18 | \verb|$a\;b$| & $a\;b$ \\ 19 | \verb|$a\mkern\thickmuskip b$| & $a\mkern\thickmuskip b$ \\ 20 | \verb|$a\:b$| & $a\:b$ \\ 21 | \verb|$a\mkern\medmuskip b$| & $a\mkern\medmuskip b$ \\ 22 | \verb|a\enspace b| & a\enspace b \\ 23 | \verb|$a\enspace b$| & $a\enspace b$ \\ 24 | \verb|a\quad b| & a\quad b \\ 25 | \verb|$a\quad b$| & $a\quad b$ \\ 26 | \verb|a\qquad b| & a\qquad b \\ 27 | \verb|$a\qquad b$| & $a\qquad b$ \\ 28 | \verb|a\hskip 1em b| & a\hskip 1em b \\ 29 | \verb|$a\hskip 1em b$| & $a\hskip 1em b$ \\ 30 | \verb|a\kern 1pc b| & a\kern 1pc b \\ 31 | \verb|$a\kern 1pc b$| & $a\kern 1pc b$ \\ 32 | \verb|a\hspace{35pt}b| & a\hspace{35pt}b \\ 33 | \verb|$a\hspace{35pt}b$| & $a\hspace{35pt}b$ \\ 34 | \verb|axyzb| & axyzb \\ 35 | \verb|a\hphantom{xyz}b| & a\hphantom{xyz}b \\ 36 | \verb|$axyzb$| & $axyzb$ \\ 37 | \verb|$a\hphantom{xyz}b$| & $a\hphantom{xyz}b$ \\ 38 | \verb|a\ b| & a\ b \\ 39 | \verb|$a\ b$| & $a\ b$ \\ 40 | \verb|a~b| & a~b \\ 41 | \verb|$a~b$| & $a~b$ \\ 42 | \verb|a\hfill b| & a\hfill b \\ 43 | \verb|$a\hfill b$| & $a\hfill b$\\ 44 | \hline 45 | \end{tabularx} 46 | 47 | \end{document} -------------------------------------------------------------------------------- /pgfplots-activation-functions/activation-functions.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt]{article} 2 | 3 | \usepackage{subfigure} 4 | \usepackage{pgfplots} 5 | \usepackage[top=3cm,left=3cm,right=3cm,bottom=3cm]{geometry} 6 | % Scriptsize axis style. 7 | \pgfplotsset{every axis/.append style={tick label style={/pgf/number format/fixed},font=\scriptsize,ylabel near ticks,xlabel near ticks,grid=major}} 8 | 9 | \begin{document} 10 | \begin{figure}[t!] 11 | \centering 12 | \subfigure[Logistic sigmoid activation function.]{ 13 | \begin{tikzpicture} 14 | \begin{axis}[width=5.5cm,height=4cm,ylabel=$\sigma(z)$,xlabel=$z$,ymin=0,ymax=1.25,xmin=-5,xmax=5] 15 | \addplot[blue,smooth] {1/(1+exp(-x))}; 16 | \addlegendentry{Logistic sigmoid} 17 | \end{axis} 18 | \end{tikzpicture} 19 | } 20 | \subfigure[Hyperbolic tangent activation function.]{ 21 | \begin{tikzpicture} 22 | \begin{axis}[width=5.5cm,height=4cm,ylabel=$\tanh(z)$,xlabel=$z$,ymin=-1.25,ymax=1.25,xmin=-5,xmax=5] 23 | \addplot[blue,smooth] {tanh(x)}; 24 | \addlegendentry{Hyperbolic tangent} 25 | \end{axis} 26 | \end{tikzpicture} 27 | }\\ 28 | \subfigure[Logistic sigmoid activation function.]{ 29 | \begin{tikzpicture} 30 | \begin{axis}[width=5.5cm,height=4cm,ylabel=$s(z)$,xlabel=$z$,ymin=0,ymax=1.25,xmin=-5,xmax=5] 31 | \addplot[blue,smooth] {1/(1 + abs(x))}; 32 | \addlegendentry{Softsign} 33 | \end{axis} 34 | \end{tikzpicture} 35 | } 36 | \subfigure[Rectified hyperbolic tangent activation function.]{ 37 | \begin{tikzpicture} 38 | \begin{axis}[width=5.5cm,height=4cm,ylabel=$|\tanh(z)|$,xlabel=$z$,ymin=0,ymax=1.25,xmin=-5,xmax=5] 39 | \addplot[blue,smooth] {abs(tanh(x))}; 40 | \addlegendentry{Rectified $\tanh$} 41 | \end{axis} 42 | \end{tikzpicture} 43 | } 44 | \caption[Sigmoidal activation functions.]{Common used activation functions include the logistic sigmoid $\sigma(z)$ and the hyperbolic tangent $tanh(z)$. More recently used activation functions are the softsign and the rectified hyperbolic tangent.} 45 | \label{fig:sigmoid-tanh} 46 | \end{figure} 47 | \end{document} 48 | -------------------------------------------------------------------------------- /pgfplots-early-stopping/early-stopping.tex: -------------------------------------------------------------------------------- 1 | \documentclass[twoside,11pt,a4paper]{article} 2 | 3 | \usepackage[utf8]{inputenc} 4 | \usepackage{amsmath, amssymb, latexsym} 5 | \usepackage{sidecap} 6 | 7 | \usepackage{pgfplots} 8 | 9 | \begin{document} 10 | 11 | \begin{SCfigure}[\sidecaptionrelwidth][t!] 12 | \centering 13 | \begin{tikzpicture} 14 | \begin{axis}[height=6cm,width=8cm,ylabel=Error,xlabel=Iteration,xmin=0,ymin=0] 15 | \addplot[blue,smooth] coordinates{(0,1)(80,0.6)(160,0.3)(300,0.15)(400,0.11)(500,0.1)(600,0.095)(700,0.091)(800,0.086)(900,0.083)(1000,0.08)}; 16 | \addlegendentry{Error on Training Set} 17 | \addplot[red,smooth] coordinates{(0,1)(80,0.7)(160,0.4)(300,0.25)(400,0.2)(500,0.18)(600,0.25)(700,0.28)(800,0.27)(900,0.3)(1000,0.38)}; 18 | \addlegendentry{Error on Validation Set} 19 | \end{axis} 20 | \end{tikzpicture} 21 | \caption[Early stopping based on a validation set.]{The error on the validation set (red) is usually getting larger when the network begins to overfit the training set. Thus, although the error on the training set (blue) is decreasing monotonically, we may want to stop training early to avoid overfitting.} 22 | \label{fig:early-stopping} 23 | \end{SCfigure} 24 | 25 | \end{document} -------------------------------------------------------------------------------- /pgfplots-gaussian-erf/gaussian-erf.tex: -------------------------------------------------------------------------------- 1 | \documentclass[a4paper,12pt]{article} 2 | 3 | \usepackage{subcaption} 4 | \usepackage{pgfplots} 5 | \usepackage{tikz} 6 | \usepgfplotslibrary{fillbetween} 7 | 8 | % https://tex.stackexchange.com/questions/11368/bell-curve-gaussian-function-normal-distribution-in-tikz-pgf 9 | \makeatletter 10 | \pgfmathdeclarefunction{gauss}{2}{% 11 | \pgfmathparse{1/(#2*sqrt(2*pi))*exp(-((x-#1)^2)/(2*#2^2))}% 12 | } 13 | \makeatother 14 | 15 | % https://tex.stackexchange.com/questions/107423/erf-function-in-latex 16 | \makeatletter 17 | \pgfmathdeclarefunction{erf}{1}{% 18 | \begingroup 19 | \pgfmathparse{#1 > 0 ? 1 : -1}% 20 | \edef\sign{\pgfmathresult}% 21 | \pgfmathparse{abs(#1)}% 22 | \edef\x{\pgfmathresult}% 23 | \pgfmathparse{1/(1+0.3275911*\x)}% 24 | \edef\t{\pgfmathresult}% 25 | \pgfmathparse{% 26 | 1 - (((((1.061405429*\t -1.453152027)*\t) + 1.421413741)*\t 27 | -0.284496736)*\t + 0.254829592)*\t*exp(-(\x*\x))}% 28 | \edef\y{\pgfmathresult}% 29 | \pgfmathparse{(\sign)*\y}% 30 | \pgfmath@smuggleone\pgfmathresult% 31 | \endgroup 32 | } 33 | \makeatother 34 | 35 | \begin{document} 36 | 37 | \begin{figure} 38 | \centering 39 | \begin{subfigure}[t]{0.48\textwidth} 40 | \centering 41 | \begin{tikzpicture} 42 | \begin{axis}[ 43 | every axis plot post/.append style={ 44 | mark=none,domain=-3:2,samples=50,smooth}, 45 | axis x line*=bottom, 46 | axis y line*=left, 47 | enlargelimits=upper, 48 | ymax=1.1, ymin=0, 49 | ylabel=$p(y)$, 50 | xlabel=$y$, 51 | legend style={at={(0.65,1)},anchor=north west}, 52 | height=5cm, 53 | width=7cm, 54 | ] 55 | 56 | \addplot[name path=g,blue] {gauss(-0.75,0.5)}; 57 | \addlegendentry{$p(y)$}; 58 | %\addplot[red] {gauss(1,0.5)}; 59 | %\addlegendentry{$\mu_j(z) = -0.5; \sigma^2 = 0.5$}; 60 | \addplot[blue,dashed,mark=none,forget plot] coordinates {(-0.75, 0) (-0.75, 1)}; 61 | \node at (axis cs:-0.75,1.1) {$\mu_i(z)$}; 62 | 63 | \addplot[black,dashed,mark=none,forget plot] coordinates {(0, 0) (0, 1)}; 64 | \node at (axis cs:0,1.1) {$0$}; 65 | 66 | %\addplot[red,dashed,mark=none] coordinates {(1, 0) (1, 0.9)}; 67 | %\node at (axis cs:1,1) {$\mu_j(z)$}; 68 | 69 | \path[name path=axis] (axis cs:-3,0) -- (axis cs:0,0); 70 | \addplot [ 71 | thick, 72 | color=blue, 73 | fill=blue, 74 | fill opacity=0.1, 75 | area legend, % https://tex.stackexchange.com/questions/246557/custom-area-legend-image-not-working 76 | ] 77 | fill between[ 78 | of=g and axis, 79 | soft clip={domain=-3:0}, 80 | ]; 81 | \addlegendentry{$p(y \leq 0)$} 82 | \end{axis} 83 | \end{tikzpicture} 84 | \end{subfigure}\hfill 85 | \begin{subfigure}[t]{0.48\textwidth} 86 | \begin{tikzpicture} 87 | \begin{axis}[ 88 | every axis plot post/.append style={ 89 | mark=none,domain=-3:2,samples=50,smooth}, 90 | axis x line*=bottom, 91 | axis y line*=left, 92 | enlargelimits=upper, 93 | ymax=1.1, ymin=0, 94 | ylabel=$p(y' \leq y)$, 95 | xlabel=$y$, 96 | legend style={at={(0.65,1)},anchor=north west}, 97 | height=5cm, 98 | width=7cm, 99 | ] 100 | 101 | % 1.128379167 = 1/(0.5*sqrt(pi)) 102 | \addplot[name path=g,blue] (\x,{0.5*(1 + erf((\x + 0.5)*1.128379167))}); 103 | \addlegendentry{$p(y' \leq y)$}; 104 | \addplot[black,dashed,mark=none,forget plot] coordinates {(0, -1) (0, 1)}; 105 | \node at (axis cs:0,1.1) {$0$}; 106 | \end{axis} 107 | \end{tikzpicture} 108 | \end{subfigure} 109 | \end{figure} 110 | 111 | \end{document} -------------------------------------------------------------------------------- /pgfplots-group/group.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \usepackage{pgfplots} 4 | \usetikzlibrary{calc} 5 | \usepgfplotslibrary{groupplots} 6 | 7 | \begin{document} 8 | 9 | % http://tex.stackexchange.com/questions/51002/how-can-a-title-be-placed-for-a-group-of-pgfplots 10 | \begin{tikzpicture} 11 | \begin{groupplot}[group style={group size=2 by 2},height=6cm,width=6cm] 12 | \nextgroupplot[title=One] 13 | \addplot[blue,smooth] {1/(1+exp(-x))}; 14 | \nextgroupplot[title=Two] 15 | \addplot[blue,smooth] {tanh(x)}; 16 | \nextgroupplot[title=Three] 17 | \addplot[blue,smooth] {1/(1 + abs(x))}; 18 | \nextgroupplot[title=Four] 19 | \addplot[blue,smooth] {abs(tanh(x))}; 20 | \end{groupplot} 21 | \node (title) at ($(group c1r1.center)!0.5!(group c2r1.center)+(0,3cm)$) {Title}; 22 | \end{tikzpicture} 23 | 24 | \end{document} -------------------------------------------------------------------------------- /pgfplots-line-plots-4/line-plots.tex: -------------------------------------------------------------------------------- 1 | \documentclass[a4paper,11pt]{article} 2 | 3 | \usepackage{subfigure} 4 | \usepackage{pgfplots} 5 | \usepackage{tikz} 6 | \usepackage[top=3cm,bottom=3cm,left=2.5cm,right=2.5cm]{geometry} 7 | 8 | \begin{document} 9 | 10 | \begin{figure} 11 | \centering 12 | \subfigure[$500$ epochs with batch size $100$.]{ 13 | \begin{tikzpicture} 14 | \begin{axis}[height=5.5cm,width=7cm,ylabel=Accuracy,xlabel=Hidden Units,xmin=0,ymin=0,legend pos=south west] 15 | \addplot+[blue] coordinates{(100,1-0.0519)(300,1-0.0457)(400,1-0.0444)(500,1-0.0492)(600,1-0.0524)(700,1-0.0801)(750,1-0.8865)(800,1-0.8968)}; 16 | \addlegendentry{$\gamma = 0.5$} 17 | \addplot+[red] coordinates{(300,1-0.0747)(400,1-0.0716)(500,1-0.0791)(600,1-0.0849)(700,1-0.0804)(750,1-0.0842)(800,1-0.0868)}; 18 | \addlegendentry{$\gamma = 0.1$} 19 | \end{axis} 20 | \end{tikzpicture} 21 | \label{subfig:results-units} 22 | } 23 | \subfigure[$500$ epochs with learning rate $\gamma = 0.5$.]{ 24 | \begin{tikzpicture} 25 | \begin{axis}[height=5.5cm,width=7cm,ylabel=Accuracy,xlabel=Epochs,xmin=0,ymin=0.9,legend pos=south east] 26 | \addplot+[blue] coordinates{(100,1-0.0856)(500,1-0.0519)(1000,1-0.0433)(2000,1-0.0364)}; 27 | \addlegendentry{batch size 100} 28 | \addplot+[red] coordinates{(100,1-0.0634)(500,1-0.0370)(1000,1-0.0329)(2000,1-0.0256)}; 29 | \addlegendentry{batch size 200} 30 | \end{axis} 31 | \end{tikzpicture} 32 | \label{subfig:results-epochs} 33 | } 34 | \end{figure} 35 | 36 | \end{document} -------------------------------------------------------------------------------- /pgfplots-line-plots-csv/validation_abs.txt: -------------------------------------------------------------------------------- 1 | (1, 0.09827251) 2 | (1000, 0.04339558) 3 | (2000, 0.03924507) 4 | (3000, 0.03821947) 5 | (4000, 0.03685047) 6 | (5000, 0.03798106) 7 | (6000, 0.03764727) 8 | (7000, 0.03686372) 9 | (8000, 0.03719673) 10 | (9000, 0.03694661) 11 | (10000, 0.03508409) 12 | (11000, 0.03627826) 13 | (12000, 0.03640343) 14 | (13000, 0.03710231) 15 | (14000, 0.03578786) 16 | (15000, 0.03543691) 17 | (16000, 0.03572448) 18 | (17000, 0.03566595) 19 | (18000, 0.03589251) 20 | (19000, 0.03622247) 21 | (20000, 0.03537208) 22 | (21000, 0.03588854) 23 | (22000, 0.03561390) 24 | (23000, 0.03563412) 25 | (24000, 0.03551466) 26 | (25000, 0.03512117) 27 | (26000, 0.03510045) 28 | (27000, 0.03481830) 29 | (28000, 0.03500190) 30 | (29000, 0.03487820) 31 | (30000, 0.03503445) 32 | (31000, 0.03469569) 33 | -------------------------------------------------------------------------------- /pgfplots-line-plots-csv/validation_absthr.txt: -------------------------------------------------------------------------------- 1 | (1, 0.09588737) 2 | (1000, 0.04319991) 3 | (2000, 0.03905724) 4 | (3000, 0.03804025) 5 | (4000, 0.03666275) 6 | (5000, 0.03777716) 7 | (6000, 0.03745790) 8 | (7000, 0.03665730) 9 | (8000, 0.03699210) 10 | (9000, 0.03674341) 11 | (10000, 0.03488999) 12 | (11000, 0.03607424) 13 | (12000, 0.03619717) 14 | (13000, 0.03688778) 15 | (14000, 0.03558208) 16 | (15000, 0.03523648) 17 | (16000, 0.03552732) 18 | (17000, 0.03546844) 19 | (18000, 0.03569062) 20 | (19000, 0.03601985) 21 | (20000, 0.03517314) 22 | (21000, 0.03567748) 23 | (22000, 0.03540827) 24 | (23000, 0.03542645) 25 | (24000, 0.03531327) 26 | (25000, 0.03491875) 27 | (26000, 0.03489833) 28 | (27000, 0.03461133) 29 | (28000, 0.03479564) 30 | (29000, 0.03467652) 31 | (30000, 0.03483363) 32 | (31000, 0.03449468) 33 | -------------------------------------------------------------------------------- /pgfplots-line-plots-csv/validation_bce.txt: -------------------------------------------------------------------------------- 1 | (1, 0.05647026) 2 | (1000, 0.03229006) 3 | (2000, 0.03038490) 4 | (3000, 0.03057704) 5 | (4000, 0.03061550) 6 | (5000, 0.02954937) 7 | (6000, 0.02938993) 8 | (7000, 0.02961657) 9 | (8000, 0.02922303) 10 | (9000, 0.02917129) 11 | (10000, 0.03036558) 12 | (11000, 0.02936190) 13 | (12000, 0.02922757) 14 | (13000, 0.02897400) 15 | (14000, 0.02917722) 16 | (15000, 0.02927131) 17 | (16000, 0.02916649) 18 | (17000, 0.02925615) 19 | (18000, 0.02914962) 20 | (19000, 0.02911323) 21 | (20000, 0.02920998) 22 | (21000, 0.02887897) 23 | (22000, 0.02904930) 24 | (23000, 0.02895570) 25 | (24000, 0.02919317) 26 | (25000, 0.02913572) 27 | (26000, 0.02911547) 28 | (27000, 0.02955676) 29 | (28000, 0.02938286) 30 | (29000, 0.02937839) 31 | (30000, 0.02920128) 32 | (31000, 0.02947058) 33 | -------------------------------------------------------------------------------- /pgfplots-line-plots-csv/validation_kld.txt: -------------------------------------------------------------------------------- 1 | (1, 0.01466478 2 | (1000, 0.00440916 3 | (2000, 0.00414293 4 | (3000, 0.00400339 5 | (4000, 0.00397555 6 | (5000, 0.00420796 7 | (6000, 0.00418274 8 | (7000, 0.00410338 9 | (8000, 0.00417284 10 | (9000, 0.00417729 11 | (10000, 0.00390073 12 | (11000, 0.00411136 13 | (12000, 0.00409537 14 | (13000, 0.00420405 15 | (14000, 0.00411189 16 | (15000, 0.00411464 17 | (16000, 0.00421741 18 | (17000, 0.00406408 19 | (18000, 0.00410670 20 | (19000, 0.00409963 21 | (20000, 0.00414632 22 | (21000, 0.00420305 23 | (22000, 0.00413481 24 | (23000, 0.00413703 25 | (24000, 0.00411668 26 | (25000, 0.00408452 27 | (26000, 0.00413827 28 | (27000, 0.00403468 29 | (28000, 0.00404050 30 | (29000, 0.00404850 31 | (30000, 0.00408522 32 | (31000, 0.00401409 33 | -------------------------------------------------------------------------------- /pgfplots-line-plots-csv/validation_loss.txt: -------------------------------------------------------------------------------- 1 | (1, 0.07113504) 2 | (1000, 0.03669923) 3 | (2000, 0.03452783) 4 | (3000, 0.03458044) 5 | (4000, 0.03459104) 6 | (5000, 0.03375733) 7 | (6000, 0.03357267) 8 | (7000, 0.03371995) 9 | (8000, 0.03339588) 10 | (9000, 0.03334858) 11 | (10000, 0.03426631) 12 | (11000, 0.03347326) 13 | (12000, 0.03332293) 14 | (13000, 0.03317805) 15 | (14000, 0.03328911) 16 | (15000, 0.03338595) 17 | (16000, 0.03338391) 18 | (17000, 0.03332023) 19 | (18000, 0.03325632) 20 | (19000, 0.03321287) 21 | (20000, 0.03335630) 22 | (21000, 0.03308202) 23 | (22000, 0.03318411) 24 | (23000, 0.03309273) 25 | (24000, 0.03330985) 26 | (25000, 0.03322024) 27 | (26000, 0.03325374) 28 | (27000, 0.03359144) 29 | (28000, 0.03342336) 30 | (29000, 0.03342689) 31 | (30000, 0.03328650) 32 | (31000, 0.03348468) 33 | -------------------------------------------------------------------------------- /pgfplots-line-plots-csv/validation_mean.txt: -------------------------------------------------------------------------------- 1 | (1, -0.21011307) 2 | (1000, -0.05213682) 3 | (2000, 0.01231139) 4 | (3000, -0.01004531) 5 | (4000, -0.00296440) 6 | (5000, -0.01016099) 7 | (6000, -0.01460037) 8 | (7000, -0.02577182) 9 | (8000, -0.01762168) 10 | (9000, -0.02047081) 11 | (10000, -0.01640151) 12 | (11000, -0.01826607) 13 | (12000, -0.00774915) 14 | (13000, -0.01280586) 15 | (14000, -0.02108408) 16 | (15000, -0.02472667) 17 | (16000, -0.01907277) 18 | (17000, -0.02012946) 19 | (18000, -0.01487746) 20 | (19000, -0.00883050) 21 | (20000, -0.01485307) 22 | (21000, -0.00813086) 23 | (22000, -0.01438625) 24 | (23000, -0.01790627) 25 | (24000, -0.00513646) 26 | (25000, -0.02388105) 27 | (26000, -0.01226149) 28 | (27000, -0.01877008) 29 | (28000, -0.01331359) 30 | (29000, -0.00832592) 31 | (30000, -0.01116385) 32 | (31000, -0.01057317) 33 | -------------------------------------------------------------------------------- /pgfplots-line-plots-csv/validation_std.txt: -------------------------------------------------------------------------------- 1 | (1, 1.03021570) 2 | (1000, 0.07697317) 3 | (2000, 0.04124979) 4 | (3000, 0.02150924) 5 | (4000, 0.01746438) 6 | (5000, 0.05013912) 7 | (6000, 0.04661777) 8 | (7000, 0.03514503) 9 | (8000, 0.04514929) 10 | (9000, 0.04564303) 11 | (10000, 0.00635679) 12 | (11000, 0.03631171) 13 | (12000, 0.03430202) 14 | (13000, 0.04943919) 15 | (14000, 0.03633537) 16 | (15000, 0.03668672) 17 | (16000, 0.05116699) 18 | (17000, 0.02965794) 19 | (18000, 0.03568140) 20 | (19000, 0.03475585) 21 | (20000, 0.04121988) 22 | (21000, 0.04929393) 23 | (22000, 0.03974008) 24 | (23000, 0.03994151) 25 | (24000, 0.03723728) 26 | (25000, 0.03239723) 27 | (26000, 0.04012663) 28 | (27000, 0.02547575) 29 | (28000, 0.02636690) 30 | (29000, 0.02759232) 31 | (30000, 0.03275134) 32 | (31000, 0.02267658) 33 | -------------------------------------------------------------------------------- /pgfplots-oscillations/oscillations.tex: -------------------------------------------------------------------------------- 1 | \documentclass[a4paper,11pt]{article} 2 | 3 | \usepackage{pgfplots} 4 | \usepackage{tikz} 5 | \usepackage{subfigure} 6 | \usepackage[top=3cm,bottom=3cm,left=2.5cm,right=2.5cm]{geometry} 7 | 8 | \begin{document} 9 | 10 | \begin{figure}[t!] 11 | \centering 12 | \subfigure[High learning rate.]{ 13 | \begin{tikzpicture} 14 | \begin{axis}[height=6cm,width=6.5cm,ylabel=Error,xlabel=Iteration,xmin=-4,xmax=4,ymin=0] 15 | \addplot[blue,smooth] {2*x^2}; 16 | \addlegendentry{Error} 17 | \addplot+[red] coordinates{(-3.5,24.5)(3.2,20.48)(-3,18)(2.8,15.68)(-2.6,13.52)(2.5,12.5)(-2.4,11.52)(2.3,10.58)(-2.2,9.68)}; 18 | \addlegendentry{Learning Steps} 19 | \end{axis} 20 | \end{tikzpicture} 21 | \label{subfig:momentum-high} 22 | } 23 | \subfigure[Low learning rate.]{ 24 | \begin{tikzpicture} 25 | \begin{axis}[height=6cm,width=6.5cm,ylabel=Error,xlabel=Iteration,xmin=-4,xmax=4,ymin=0] 26 | \addplot[blue,smooth] {2*x^2}; 27 | \addlegendentry{Error} 28 | \addplot+[red] coordinates{(-3.5,24.5)(-3.2,20.48)(-3,18)(-2.8,15.68)(-2.6,13.52)(-2.4,11.52)(-2.2,9.68)}; 29 | \addlegendentry{Learning Steps} 30 | \end{axis} 31 | \end{tikzpicture} 32 | \label{subfig:momentum-low} 33 | } 34 | \caption[The learning rate and its influence on the rate of convergence.]{When using a large learning rate the weight updates in each iteration tend to overstep the minimum. This causes oscillation around the minimum. This observation is illustrated by figure \ref{subfig:momentum-high}. Choosing the learning rate too low will result in a slow convergence to the minimum as shown in figure \ref{subfig:momentum-low}. Both scenarios are visualized using a quadratic function we seek to minimize.} 35 | \label{fig:momentum} 36 | \end{figure} 37 | 38 | \end{document} -------------------------------------------------------------------------------- /pgfplots-pgfplotstable-highlight-rows/data.csv: -------------------------------------------------------------------------------- 1 | Threshold MinSize Rec UE K 2 | 50 5 0.99767 0.026864 1080 3 | 50 10 0.99671 0.030257 757 4 | 50 25 0.99315 0.037258 533 5 | 100 5 0.9922 0.035088 660 6 | 100 10 0.98974 0.037503 446 7 | 100 25 0.98255 0.042693 286 -------------------------------------------------------------------------------- /pgfplots-pgfplotstable-highlight-rows/pgfplotstable.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt]{article} 2 | 3 | \usepackage{amsmath} 4 | \usepackage{pgfplots} 5 | \usepackage{pgfplotstable} 6 | 7 | % Data looks as follows (tab-separated): 8 | % Threshold MinSize Rec UE K 9 | % 50 5 0.99767 0.026864 1080 10 | % 50 10 0.99671 0.030257 757 11 | % 50 25 0.99315 0.037258 533 12 | % 100 5 0.9922 0.035088 660 13 | % 100 10 0.98974 0.037503 446 14 | % 100 25 0.98255 0.042693 286 15 | 16 | % Allows to highlight one or multiple rows, see example below. 17 | \pgfplotstableset{ 18 | highlightrow/.style={ 19 | postproc cell content/.append code={ 20 | \count0=\pgfplotstablerow 21 | \advance\count0 by1 22 | \ifnum\count0=#1 23 | \pgfkeysalso{@cell content=\textbf{##1}}% 24 | \fi 25 | }, 26 | }, 27 | } 28 | 29 | \begin{document} 30 | \pgfplotstabletypeset[% 31 | font=\footnotesize, 32 | highlightrow={2}, 33 | highlightrow={4}, 34 | highlightrow={5}, 35 | highlightrow={6}, 36 | columns={Threshold,MinSize,Rec,UE,K}, 37 | columns/Threshold/.style={column name=$\tau$},% 38 | columns/MinSize/.style={column name=$A_{\text{min}}$},% 39 | columns/Rec/.style={column name=$Rec$},% 40 | columns/UE/.style={column name=$UE$},% 41 | columns/K/.style={column name=$K$},% 42 | every head row/.style={before row=\hline,after row=\hline\hline},% 43 | every last row/.style={after row=\hline},% 44 | every first column/.style={column type/.add={|}{}},% 45 | every last column/.style={column type/.add={}{|}},% 46 | row sep=newline]{data.csv} 47 | \end{document} -------------------------------------------------------------------------------- /pgfplots-pgfplotstable-ignore-rows/data.csv: -------------------------------------------------------------------------------- 1 | Kd Rec5Bins2ItN1 UE5Bins2ItN1 Rec5Bins2ItN0 UE5Bins2ItN0 Rec5Bins4ItN1 UE5Bins4ItN1 Rec6Bins2ItN1 UE6Bins2ItN1 Rec7Bins2ItN1 UE7Bins2ItN1 2 | 200 0.92293 0.065673 0.93488 0.066997 0.93019 0.064985 0.91562 0.064087 0.91416 0.064649 3 | 400 0.96828 0.051292 0.9736 0.052516 0.97094 0.075978 0.96684 0.050423 0.96498 0.050779 4 | 600 0.98309 0.045375 0.98612 0.046324 0.98418 0.066832 0.98269 0.04468 0.98263 0.04472 5 | 800 nan nan nan nan nan nan 0.98825 0.042056 0.98828 0.04243 6 | 1040 nan nan nan nan nan nan 0.99337 0.038679 0.99359 0.038931 7 | -------------------------------------------------------------------------------- /pgfplots-pgfplotstable-ignore-rows/pgfplotstable.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt]{article} 2 | 3 | \usepackage{amsmath} 4 | \usepackage{pgfplots} 5 | \usepackage{pgfplotstable} 6 | 7 | % Data looks as follows (tab-separated): 8 | % Kd Rec5Bins2ItN1 UE5Bins2ItN1 Rec5Bins2ItN0 UE5Bins2ItN0 Rec5Bins4ItN1 UE5Bins4ItN1 Rec6Bins2ItN1 UE6Bins2ItN1 Rec7Bins2ItN1 UE7Bins2ItN1 9 | % 200 0.92293 0.065673 0.93488 0.066997 0.93019 0.064985 0.91562 0.064087 0.91416 0.064649 10 | % 400 0.96828 0.051292 0.9736 0.052516 0.97094 0.075978 0.96684 0.050423 0.96498 0.050779 11 | % 600 0.98309 0.045375 0.98612 0.046324 0.98418 0.066832 0.98269 0.04468 0.98263 0.04472 12 | % 800 nan nan nan nan nan nan 0.98825 0.042056 0.98828 0.04243 13 | % 1040 nan nan nan nan nan nan 0.99337 0.038679 0.99359 0.038931 14 | 15 | % Equal sign in PGFPlots. 16 | \newcommand{\pgfequalsign}{=} 17 | 18 | % Allows to ignore rows. 19 | \pgfplotstableset{% 20 | cignore row/.style={ 21 | row predicate/.append code={ 22 | \ifnum#1=\pgfplotstablerow\relax 23 | \pgfplotstableuserowfalse 24 | \fi 25 | } 26 | }, 27 | } 28 | 29 | \begin{document} 30 | \pgfplotstabletypeset[% 31 | columns={Kd,Rec5Bins2ItN1,UE5Bins2ItN1,Rec5Bins2ItN0,UE5Bins2ItN0}, 32 | cignore row=3, 33 | cignore row=4, 34 | columns/Kd/.style={column name=$K_d$},% 35 | columns/Rec5Bins2ItN1/.style={column name=\begin{tabular}{c}$Rec$\\$Q\pgfequalsign 5^3$\\$T\pgfequalsign 2$\end{tabular}},% 36 | columns/UE5Bins2ItN1/.style={column name=\begin{tabular}{c}$UE$\\$Q\pgfequalsign 5^3$\\$T\pgfequalsign 2$\end{tabular}},% 37 | columns/Rec5Bins2ItN0/.style={column name=\begin{tabular}{c}$Rec\ast$\\$Q\pgfequalsign 5^3$\\$T\pgfequalsign 2$\end{tabular}},% 38 | columns/UE5Bins2ItN0/.style={column name=\begin{tabular}{c}$UE\ast$\\$Q\pgfequalsign 5^3$\\$T\pgfequalsign 2$\end{tabular}},% 39 | every head row/.style={before row=\hline,after row=\hline\hline},% 40 | every last row/.style={after row=\hline},% 41 | every first column/.style={column type/.add={|}{}},% 42 | every last column/.style={column type/.add={}{|}},% 43 | row sep=newline]{data.csv} 44 | \end{document} -------------------------------------------------------------------------------- /pgfplots-pgfplotstable/data.csv: -------------------------------------------------------------------------------- 1 | Kd Rec5Bins2ItN1 UE5Bins2ItN1 Rec5Bins2ItN0 UE5Bins2ItN0 Rec5Bins4ItN1 UE5Bins4ItN1 Rec6Bins2ItN1 UE6Bins2ItN1 Rec7Bins2ItN1 UE7Bins2ItN1 2 | 450 0.94113 0.16064 0.94917 0.1633 0.94607 0.16045 0.9359 0.15737 0.93263 0.15648 3 | 700 0.97006 0.14055 0.9739 0.14293 0.97215 0.14033 0.96752 0.13829 0.9661 0.13828 4 | 840 0.97445 0.13123 0.97882 0.13384 0.97634 0.13099 0.97339 0.12895 0.97236 0.12915 5 | 1100 0.98484 0.11918 0.98734 0.1215 0.98555 0.11901 0.9843 0.11754 0.98361 0.11711 6 | 1400 nan nan nan nan nan nan 0.99055 0.10834 0.9901 0.10826 7 | #1850 nan nan nan nan nan nan 0.99452 0.097435 0.99473 0.097073 -------------------------------------------------------------------------------- /pgfplots-pgfplotstable/pgfplotstable.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt]{article} 2 | 3 | \usepackage{amsmath} 4 | \usepackage{pgfplots} 5 | \usepackage{pgfplotstable} 6 | \newcommand{\pgfequalsign}{=} 7 | 8 | % Data: 9 | % 10 | 11 | \begin{document} 12 | \pgfplotstabletypeset[% 13 | columns={Kd,Rec7Bins2ItN1,UE7Bins2ItN1,Rec6Bins2ItN1,UE6Bins2ItN1}, 14 | columns/Kd/.style={column name=$K_d$},% 15 | columns/Rec7Bins2ItN1/.style={column name=\begin{tabular}{c}$Rec$\\$Q\pgfequalsign 7^3$\\$T\pgfequalsign 2$\end{tabular}},% 16 | columns/UE7Bins2ItN1/.style={column name=\begin{tabular}{c}$UE$\\$Q\pgfequalsign 7^3$\\$T\pgfequalsign 2$\end{tabular}},% 17 | columns/Rec6Bins2ItN1/.style={column name=\begin{tabular}{c}$Rec$\\$Q\pgfequalsign 6^3$\\$T\pgfequalsign 2$\end{tabular}},% 18 | columns/UE6Bins2ItN1/.style={column name=\begin{tabular}{c}$UE$\\$Q\pgfequalsign 6^3$\\$T\pgfequalsign 2$\end{tabular}},% 19 | every head row/.style={before row=\hline,after row=\hline\hline},% 20 | every last row/.style={after row=\hline},% 21 | every first column/.style={column type/.add={|}{}},% 22 | every last column/.style={column type/.add={}{|}},% 23 | row sep=newline]{data.csv} 24 | \end{document} -------------------------------------------------------------------------------- /templates-cvpr/bibliography.bib: -------------------------------------------------------------------------------- 1 | 2 | @misc{Authors14, 3 | author = {Authors}, 4 | title = {The frobnicatable foo filter}, 5 | note = {Face and Gesture submission ID 324. Supplied as additional material {\tt fg324.pdf}}, 6 | year = 2014 7 | } 8 | 9 | @misc{Authors14b, 10 | author = {Authors}, 11 | title = {Frobnication tutorial}, 12 | note = {Supplied as additional material {\tt tr.pdf}}, 13 | year = 2014 14 | } 15 | 16 | @article{Alpher02, 17 | author = {FirstName Alpher}, 18 | title = {Frobnication}, 19 | journal = {Journal of Foo}, 20 | volume = 12, 21 | number = 1, 22 | pages = {234--778}, 23 | year = 2002 24 | } 25 | 26 | @article{Alpher03, 27 | author = {FirstName Alpher and FirstName Fotheringham-Smythe}, 28 | title = {Frobnication revisited}, 29 | journal = {Journal of Foo}, 30 | volume = 13, 31 | number = 1, 32 | pages = {234--778}, 33 | year = 2003 34 | } 35 | 36 | @article{Alpher04, 37 | author = {FirstName Alpher and FirstName Fotheringham-Smythe and FirstName Gamow}, 38 | title = {Can a machine frobnicate?}, 39 | journal = {Journal of Foo}, 40 | volume = 14, 41 | number = 1, 42 | pages = {234--778}, 43 | year = 2004 44 | } 45 | -------------------------------------------------------------------------------- /templates-cvpr/cvpr_eso.sty: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `everyshi.sty', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% everyshi.dtx (with options: `package') 8 | %% 9 | %% Copyright (C) [1994..1999] by Martin Schroeder. All rights reserved. 10 | %% 11 | %% This file is part of the EveryShi package 12 | %% 13 | %% This program may be redistributed and/or modified under the terms 14 | %% of the LaTeX Project Public License, either version 1.0 of this 15 | %% license, or (at your option) any later version. 16 | %% The latest version of this license is in 17 | %% CTAN:macros/latex/base/lppl.txt. 18 | %% 19 | %% Happy users are requested to send me a postcard. :-) 20 | %% 21 | %% The EveryShi package contains these files: 22 | %% 23 | %% everyshi.asc 24 | %% everyshi.dtx 25 | %% everyshi.dvi 26 | %% everyshi.ins 27 | %% everyshi.bug 28 | %% 29 | %% Error Reports in case of UNCHANGED versions to 30 | %% 31 | %% Martin Schr"oder 32 | %% Cr"usemannallee 3 33 | %% D-28213 Bremen 34 | %% Martin.Schroeder@ACM.org 35 | %% 36 | %% File: everyshi.dtx Copyright (C) 2001 Martin Schr\"oder 37 | \NeedsTeXFormat{LaTeX2e} 38 | \ProvidesPackage{everyshi} 39 | [2001/05/15 v3.00 EveryShipout Package (MS)] 40 | %% \CharacterTable 41 | %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z 42 | %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z 43 | %% Digits \0\1\2\3\4\5\6\7\8\9 44 | %% Exclamation \! Double quote \" Hash (number) \# 45 | %% Dollar \$ Percent \% Ampersand \& 46 | %% Acute accent \' Left paren \( Right paren \) 47 | %% Asterisk \* Plus \+ Comma \, 48 | %% Minus \- Point \. Solidus \/ 49 | %% Colon \: Semicolon \; Less than \< 50 | %% Equals \= Greater than \> Question mark \? 51 | %% Commercial at \@ Left bracket \[ Backslash \\ 52 | %% Right bracket \] Circumflex \^ Underscore \_ 53 | %% Grave accent \` Left brace \{ Vertical bar \| 54 | %% Right brace \} Tilde \~} 55 | %% 56 | %% \iffalse meta-comment 57 | %% =================================================================== 58 | %% @LaTeX-package-file{ 59 | %% author = {Martin Schr\"oder}, 60 | %% version = "3.00", 61 | %% date = "15 May 2001", 62 | %% filename = "everyshi.sty", 63 | %% address = {Martin Schr\"oder 64 | %% Cr\"usemannallee 3 65 | %% 28213 Bremen 66 | %% Germany}, 67 | %% telephone = "+49-421-2239425", 68 | %% email = "martin@oneiros.de", 69 | %% pgp-Key = "2048 bit / KeyID 292814E5", 70 | %% pgp-fingerprint = "7E86 6EC8 97FA 2995 82C3 FEA5 2719 090E", 71 | %% docstring = "LaTeX package which provides hooks into 72 | %% \cs{shipout}. 73 | %% } 74 | %% =================================================================== 75 | %% \fi 76 | 77 | \newcommand{\@EveryShipout@Hook}{} 78 | \newcommand{\@EveryShipout@AtNextHook}{} 79 | \newcommand*{\EveryShipout}[1] 80 | {\g@addto@macro\@EveryShipout@Hook{#1}} 81 | \newcommand*{\AtNextShipout}[1] 82 | {\g@addto@macro\@EveryShipout@AtNextHook{#1}} 83 | \newcommand{\@EveryShipout@Shipout}{% 84 | \afterassignment\@EveryShipout@Test 85 | \global\setbox\@cclv= % 86 | } 87 | \newcommand{\@EveryShipout@Test}{% 88 | \ifvoid\@cclv\relax 89 | \aftergroup\@EveryShipout@Output 90 | \else 91 | \@EveryShipout@Output 92 | \fi% 93 | } 94 | \newcommand{\@EveryShipout@Output}{% 95 | \@EveryShipout@Hook% 96 | \@EveryShipout@AtNextHook% 97 | \gdef\@EveryShipout@AtNextHook{}% 98 | \@EveryShipout@Org@Shipout\box\@cclv% 99 | } 100 | \newcommand{\@EveryShipout@Org@Shipout}{} 101 | \newcommand*{\@EveryShipout@Init}{% 102 | \message{ABD: EveryShipout initializing macros}% 103 | \let\@EveryShipout@Org@Shipout\shipout 104 | \let\shipout\@EveryShipout@Shipout 105 | } 106 | \AtBeginDocument{\@EveryShipout@Init} 107 | \endinput 108 | %% 109 | %% End of file `everyshi.sty'. 110 | -------------------------------------------------------------------------------- /templates-elsevier/paper.bib: -------------------------------------------------------------------------------- 1 | @misc{LoremIpsum, 2 | title = {Lorem Ipusm}, 3 | url = {http://www.lipsum.com/feed/html}, 4 | } -------------------------------------------------------------------------------- /templates-iclr/bibliography.bib: -------------------------------------------------------------------------------- 1 | @incollection{Bengio+chapter2007, 2 | author = {Bengio, Yoshua and LeCun, Yann}, 3 | booktitle = {Large Scale Kernel Machines}, 4 | publisher = {MIT Press}, 5 | title = {Scaling Learning Algorithms Towards {AI}}, 6 | year = {2007} 7 | } 8 | 9 | @article{Hinton06, 10 | author = {Hinton, Geoffrey E. and Osindero, Simon and Teh, Yee Whye}, 11 | journal = {Neural Computation}, 12 | pages = {1527--1554}, 13 | title = {A Fast Learning Algorithm for Deep Belief Nets}, 14 | volume = {18}, 15 | year = {2006} 16 | } 17 | 18 | @book{goodfellow2016deep, 19 | title={Deep learning}, 20 | author={Goodfellow, Ian and Bengio, Yoshua and Courville, Aaron and Bengio, Yoshua}, 21 | volume={1}, 22 | year={2016}, 23 | publisher={MIT Press} 24 | } -------------------------------------------------------------------------------- /templates-iclr/iclr2020_conference.bst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidstutz/latex-resources/6de42dca4b15dd87e6467c48b64b44992dd7755d/templates-iclr/iclr2020_conference.bst -------------------------------------------------------------------------------- /templates-icml/algorithm.sty: -------------------------------------------------------------------------------- 1 | % ALGORITHM STYLE -- Released 8 April 1996 2 | % for LaTeX-2e 3 | % Copyright -- 1994 Peter Williams 4 | % E-mail Peter.Williams@dsto.defence.gov.au 5 | \NeedsTeXFormat{LaTeX2e} 6 | \ProvidesPackage{algorithm} 7 | \typeout{Document Style `algorithm' - floating environment} 8 | 9 | \RequirePackage{float} 10 | \RequirePackage{ifthen} 11 | \newcommand{\ALG@within}{nothing} 12 | \newboolean{ALG@within} 13 | \setboolean{ALG@within}{false} 14 | \newcommand{\ALG@floatstyle}{ruled} 15 | \newcommand{\ALG@name}{Algorithm} 16 | \newcommand{\listalgorithmname}{List of \ALG@name s} 17 | 18 | % Declare Options 19 | % first appearance 20 | \DeclareOption{plain}{ 21 | \renewcommand{\ALG@floatstyle}{plain} 22 | } 23 | \DeclareOption{ruled}{ 24 | \renewcommand{\ALG@floatstyle}{ruled} 25 | } 26 | \DeclareOption{boxed}{ 27 | \renewcommand{\ALG@floatstyle}{boxed} 28 | } 29 | % then numbering convention 30 | \DeclareOption{part}{ 31 | \renewcommand{\ALG@within}{part} 32 | \setboolean{ALG@within}{true} 33 | } 34 | \DeclareOption{chapter}{ 35 | \renewcommand{\ALG@within}{chapter} 36 | \setboolean{ALG@within}{true} 37 | } 38 | \DeclareOption{section}{ 39 | \renewcommand{\ALG@within}{section} 40 | \setboolean{ALG@within}{true} 41 | } 42 | \DeclareOption{subsection}{ 43 | \renewcommand{\ALG@within}{subsection} 44 | \setboolean{ALG@within}{true} 45 | } 46 | \DeclareOption{subsubsection}{ 47 | \renewcommand{\ALG@within}{subsubsection} 48 | \setboolean{ALG@within}{true} 49 | } 50 | \DeclareOption{nothing}{ 51 | \renewcommand{\ALG@within}{nothing} 52 | \setboolean{ALG@within}{true} 53 | } 54 | \DeclareOption*{\edef\ALG@name{\CurrentOption}} 55 | 56 | % ALGORITHM 57 | % 58 | \ProcessOptions 59 | \floatstyle{\ALG@floatstyle} 60 | \ifthenelse{\boolean{ALG@within}}{ 61 | \ifthenelse{\equal{\ALG@within}{part}} 62 | {\newfloat{algorithm}{htbp}{loa}[part]}{} 63 | \ifthenelse{\equal{\ALG@within}{chapter}} 64 | {\newfloat{algorithm}{htbp}{loa}[chapter]}{} 65 | \ifthenelse{\equal{\ALG@within}{section}} 66 | {\newfloat{algorithm}{htbp}{loa}[section]}{} 67 | \ifthenelse{\equal{\ALG@within}{subsection}} 68 | {\newfloat{algorithm}{htbp}{loa}[subsection]}{} 69 | \ifthenelse{\equal{\ALG@within}{subsubsection}} 70 | {\newfloat{algorithm}{htbp}{loa}[subsubsection]}{} 71 | \ifthenelse{\equal{\ALG@within}{nothing}} 72 | {\newfloat{algorithm}{htbp}{loa}}{} 73 | }{ 74 | \newfloat{algorithm}{htbp}{loa} 75 | } 76 | \floatname{algorithm}{\ALG@name} 77 | 78 | \newcommand{\listofalgorithms}{\listof{algorithm}{\listalgorithmname}} 79 | 80 | -------------------------------------------------------------------------------- /templates-icml/bibliography.bib: -------------------------------------------------------------------------------- 1 | @inproceedings{langley00, 2 | author = {P. Langley}, 3 | title = {Crafting Papers on Machine Learning}, 4 | year = {2000}, 5 | pages = {1207--1216}, 6 | editor = {Pat Langley}, 7 | booktitle = {Proceedings of the 17th International Conference 8 | on Machine Learning (ICML 2000)}, 9 | address = {Stanford, CA}, 10 | publisher = {Morgan Kaufmann} 11 | } 12 | 13 | @TechReport{mitchell80, 14 | author = "T. M. Mitchell", 15 | title = "The Need for Biases in Learning Generalizations", 16 | institution = "Computer Science Department, Rutgers University", 17 | year = "1980", 18 | address = "New Brunswick, MA", 19 | } 20 | 21 | @phdthesis{kearns89, 22 | author = {M. J. Kearns}, 23 | title = {Computational Complexity of Machine Learning}, 24 | school = {Department of Computer Science, Harvard University}, 25 | year = {1989} 26 | } 27 | 28 | @Book{MachineLearningI, 29 | editor = "R. S. Michalski and J. G. Carbonell and T. 30 | M. Mitchell", 31 | title = "Machine Learning: An Artificial Intelligence 32 | Approach, Vol. I", 33 | publisher = "Tioga", 34 | year = "1983", 35 | address = "Palo Alto, CA" 36 | } 37 | 38 | @Book{DudaHart2nd, 39 | author = "R. O. Duda and P. E. Hart and D. G. Stork", 40 | title = "Pattern Classification", 41 | publisher = "John Wiley and Sons", 42 | edition = "2nd", 43 | year = "2000" 44 | } 45 | 46 | @misc{anonymous, 47 | title= {Suppressed for Anonymity}, 48 | author= {Author, N. N.}, 49 | year= {2019} 50 | } 51 | 52 | @InCollection{Newell81, 53 | author = "A. Newell and P. S. Rosenbloom", 54 | title = "Mechanisms of Skill Acquisition and the Law of 55 | Practice", 56 | booktitle = "Cognitive Skills and Their Acquisition", 57 | pages = "1--51", 58 | publisher = "Lawrence Erlbaum Associates, Inc.", 59 | year = "1981", 60 | editor = "J. R. Anderson", 61 | chapter = "1", 62 | address = "Hillsdale, NJ" 63 | } 64 | 65 | 66 | @Article{Samuel59, 67 | author = "A. L. Samuel", 68 | title = "Some Studies in Machine Learning Using the Game of 69 | Checkers", 70 | journal = "IBM Journal of Research and Development", 71 | year = "1959", 72 | volume = "3", 73 | number = "3", 74 | pages = "211--229" 75 | } 76 | -------------------------------------------------------------------------------- /templates-icml/icml2019.bst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidstutz/latex-resources/6de42dca4b15dd87e6467c48b64b44992dd7755d/templates-icml/icml2019.bst -------------------------------------------------------------------------------- /templates-poster-landscape/bibliography.bib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidstutz/latex-resources/6de42dca4b15dd87e6467c48b64b44992dd7755d/templates-poster-landscape/bibliography.bib -------------------------------------------------------------------------------- /templates-poster-landscape/poster_full.tex: -------------------------------------------------------------------------------- 1 | \documentclass{standalone} 2 | \usepackage[latin1]{inputenc} 3 | 4 | \usepackage[ 5 | paperheight=110cm, 6 | paperwidth=220cm, 7 | %a4paper, 8 | left=2.5cm, 9 | right=2.5cm, 10 | top=2.5cm, 11 | bottom=2.5cm, 12 | %showframe 13 | ]{geometry} 14 | \usepackage{graphicx} 15 | 16 | \begin{document} 17 | \includegraphics[scale=5.5]{poster} 18 | \end{document} 19 | -------------------------------------------------------------------------------- /templates-poster-portrait/bibliography.bib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidstutz/latex-resources/6de42dca4b15dd87e6467c48b64b44992dd7755d/templates-poster-portrait/bibliography.bib -------------------------------------------------------------------------------- /templates-poster-portrait/poster-blx.bib: -------------------------------------------------------------------------------- 1 | @Comment{$ biblatex control file $} 2 | @Comment{$ biblatex bcf format version 3.6 $} 3 | % Do not modify this file! 4 | % 5 | % This is an auxiliary file used by the 'biblatex' package. 6 | % This file may safely be deleted. It will be recreated as 7 | % required. 8 | 9 | @Control{biblatex-control, 10 | options = {3.6:0:0:1:0:1:1:0:0:0:0:1:3:1:3:1:0:0:3:1:79:+:+:nty}, 11 | } 12 | -------------------------------------------------------------------------------- /templates-poster-portrait/poster_full.tex: -------------------------------------------------------------------------------- 1 | \documentclass{standalone} 2 | \usepackage[latin1]{inputenc} 3 | 4 | \usepackage[ 5 | paperheight=110cm, 6 | paperwidth=220cm, 7 | %a4paper, 8 | left=2.5cm, 9 | right=2.5cm, 10 | top=2.5cm, 11 | bottom=2.5cm, 12 | %showframe 13 | ]{geometry} 14 | \usepackage{graphicx} 15 | 16 | \begin{document} 17 | \includegraphics[scale=4]{poster} 18 | \end{document} 19 | -------------------------------------------------------------------------------- /templates-proposal/bibliography.bib: -------------------------------------------------------------------------------- 1 | % Encoding: UTF-8 2 | 3 | @misc{X, 4 | author = {Some Authors}, 5 | title = {Cool Method}, 6 | url = {http://link.com}, 7 | year = {2019}, 8 | } -------------------------------------------------------------------------------- /templates-proposal/proposalnsf.cls: -------------------------------------------------------------------------------- 1 | \NeedsTeXFormat{LaTeX2e} 2 | \ProvidesClass{proposalnsf}[2008/06/01 NSF proposal style v1.3 SGLS] 3 | \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} 4 | \ProcessOptions 5 | \LoadClass[11pt,a4paper]{article} 6 | \RequirePackage{calc} 7 | 8 | \RequirePackage{natbib} 9 | \RequirePackage[american]{babel} 10 | %\RequirePackage{hyperref} 11 | \RequirePackage{mathpazo} 12 | 13 | %\setlength{\paperheight}{11in} 14 | %\setlength{\paperwidth}{8.5in} 15 | \addtolength{\voffset}{-1in} 16 | \addtolength{\hoffset}{-1in} 17 | \setlength{\topmargin}{0.65in} 18 | \setlength{\oddsidemargin}{1in} 19 | \setlength{\evensidemargin}{1in} 20 | \setlength{\textwidth}{\paperwidth - 2in} 21 | \setlength{\textheight}{\paperheight - 1.7in} 22 | \setlength{\footskip}{24pt} 23 | \setlength{\marginparsep}{0.5cm} 24 | \setlength{\marginparwidth}{1.5cm} 25 | \setlength{\headheight}{0pt} 26 | \setlength{\headsep}{0pt} 27 | 28 | \RequirePackage{fancyhdr} 29 | \pagestyle{fancyplain} 30 | \renewcommand{\headrulewidth}{0pt} 31 | \lhead{} 32 | \chead{} 33 | \rhead{} 34 | \lfoot{} 35 | \cfoot{\thepage} 36 | \rfoot{} 37 | 38 | %\def\@makefnmark{\hbox{$^{\fnsymbol{\@mpfn}}\m@th$}} 39 | \renewcommand\floatpagefraction{.9} -------------------------------------------------------------------------------- /templates-rwth-leibe/report.bib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidstutz/latex-resources/6de42dca4b15dd87e6467c48b64b44992dd7755d/templates-rwth-leibe/report.bib -------------------------------------------------------------------------------- /templates-rwth-leibe/report.tex: -------------------------------------------------------------------------------- 1 | % Template for seminar reports 2 | % Seminar Current Topics in Computer Vision and Machine Learning 3 | % Summer Semester 2015 4 | % Computer Vision Group, Visual Computing Institute, RWTH Aachen 5 | \documentclass[twoside,a4paper,article]{combine} 6 | 7 | % ========================================================================= 8 | \usepackage[latin1]{inputenc} 9 | \usepackage{a4} 10 | \usepackage{fancyhdr} 11 | \usepackage{makeidx} 12 | \usepackage{color} 13 | \usepackage{t1enc} 14 | \usepackage{latexsym} 15 | \usepackage{amssymb} 16 | 17 | \usepackage{graphicx} 18 | \usepackage{pslatex} 19 | \usepackage{ifthen} 20 | 21 | \usepackage[T1]{fontenc} 22 | \usepackage{pslatex} 23 | 24 | \usepackage{psfrag} 25 | \usepackage{subfigure} 26 | \usepackage{url} 27 | \usepackage{blindtext} 28 | 29 | % ========================================================================= 30 | 31 | \setlength{\oddsidemargin}{3.6pt} 32 | \setlength{\evensidemargin}{22.6pt} 33 | \setlength{\textwidth}{426.8pt} 34 | \setlength{\textheight}{654.4pt} 35 | \setlength{\headsep}{18pt} 36 | \setlength{\headheight}{15pt} 37 | \setlength{\topmargin}{-41.7pt} 38 | \setlength{\topskip}{10pt} 39 | \setlength{\footskip}{42pt} 40 | 41 | \setlength{\parindent}{0pt} 42 | 43 | % ========================================================================= 44 | 45 | % We want also subsubsections to be enumerated 46 | \setcounter{secnumdepth}{3} 47 | \setcounter{tocdepth}{3} 48 | 49 | \makeglossary 50 | %\makeindex 51 | 52 | % ========================================================================= 53 | \begin{document} 54 | 55 | \include{titlepage} 56 | 57 | \begin{abstract} 58 | \blindtext 59 | \end{abstract} 60 | 61 | \tableofcontents 62 | \newpage 63 | % ========================================================================= 64 | 65 | \section{Section 1} 66 | 67 | \blindtext 68 | 69 | \subsection{Subsection 1} 70 | 71 | \Blindtext 72 | 73 | % ========================================================================= 74 | \bibliographystyle{alpha} 75 | \bibliography{report} 76 | 77 | % ========================================================================= 78 | 79 | \end{document} 80 | -------------------------------------------------------------------------------- /templates-rwth-leibe/titlepage.tex: -------------------------------------------------------------------------------- 1 | % Template for seminar reports 2 | % Seminar Current Topics in Computer Vision and Machine Learning 3 | \begin{titlepage} 4 | 5 | \begin{center} 6 | \ 7 | \vspace{3.5cm} 8 | 9 | \textsf 10 | { 11 | Fakult\"at f\"ur Mathematik, Informatik und Naturwissenschaften\\ 12 | Lehr- und Forschungsgebiet Informatik VIII\\ 13 | Computer Vision\\ 14 | Prof. Dr. Bastian Leibe 15 | } 16 | 17 | \rule{\linewidth}{1pt} 18 | 19 | \vspace{1.75cm} 20 | \LARGE 21 | \textbf{Seminar Report} 22 | 23 | \vspace{1.7cm} 24 | \huge 25 | Title 26 | 27 | \vspace{3.0cm} 28 | \Large 29 | Name\\ 30 | \large 31 | Matriculation Number: XXXXXX 32 | 33 | \vspace{0.5cm} 34 | \today 35 | 36 | \vspace{1.05cm} 37 | \rule{\linewidth}{1pt} 38 | 39 | \vspace{0.5cm} 40 | \textsf{\textbf{ 41 | \normalsize 42 | \begin{tabular}{ll} 43 | Advisor: & Name\\ 44 | \end{tabular} 45 | }} 46 | \end{center} 47 | 48 | \end{titlepage} 49 | -------------------------------------------------------------------------------- /templates-rwth-master/acknowledgements.tex: -------------------------------------------------------------------------------- 1 | \chapter{Acknowledgements} 2 | % https://tex.stackexchange.com/questions/40172/how-can-i-get-no-header-but-still-get-page-x-of-y-in-footer 3 | \thispagestyle{number} 4 | 5 | -------------------------------------------------------------------------------- /templates-rwth-master/appendix.tex: -------------------------------------------------------------------------------- 1 | \chapter{Appendix} -------------------------------------------------------------------------------- /templates-rwth-master/assertion.tex: -------------------------------------------------------------------------------- 1 | \begin{otherlanguage}{ngerman} 2 | %\chapter*{Eidesstattliche Versicherung} 3 | \thispagestyle{number} 4 | \newcommand{\signature}[2]{\underline{\makebox[#1]{\centering{#2}}}} 5 | 6 | \sffamily 7 | \begin{center} 8 | \textbf{\large Eidesstattliche Versicherung} 9 | \end{center} 10 | 11 | \vspace{1em} 12 | \noindent 13 | \begin{tabular}{@{}lcl} 14 | \signature{6cm}{\theauthor} & \hspace{1.65cm} & \signature{6cm}{\matrnumber}\\ 15 | Name & & Matrikelnummer\\ 16 | \end{tabular} 17 | \vspace{1em} 18 | 19 | \noindent 20 | Ich versichere hiermit an Eides Statt, dass ich die vorliegende \ifthenelse{\equal{\thesis}{master}}{Master}{Bachelor}arbeit mit dem Titel 21 | 22 | \vspace{1em} 23 | \begin{addmargin}[1em]{0pt} 24 | \large 25 | \bfseries 26 | \noindent 27 | \thetitle 28 | \end{addmargin} 29 | \vspace{1em} 30 | 31 | \noindent 32 | selbstständig und ohne unzulässige fremde Hilfe erbracht habe. 33 | Ich habe keine anderen als die angegebenen Quellen und Hilfsmittel benutzt. 34 | Für den Fall, dass die Arbeit zusätzlich auf einem Datenträger eingereicht wird, erkläre ich, dass die schriftliche und die elektronische Form vollständig übereinstimmen. 35 | Die Arbeit hat in gleicher oder ähnlicher Form noch keiner Prüfungsbehörde vorgelegen. 36 | 37 | \vspace{2em} 38 | \noindent 39 | \begin{tabular}{@{}lcl} 40 | \signature{6cm}{Aachen, \thedate} & \hspace{1.65cm} & \signature{6cm}{}\\ 41 | Ort, Datum & & Unterschrift\\ 42 | \end{tabular} 43 | 44 | \vfill 45 | 46 | {%\footnotesize 47 | 48 | \sffamily 49 | \begin{center} 50 | \textbf{\large Belehrung} 51 | \end{center} 52 | 53 | \vspace{1em} 54 | \noindent 55 | \textbf{%\footnotesize 56 | § 156 StGB: Falsche Versicherung an Eides Statt 57 | } 58 | \vspace{6px} 59 | 60 | \noindent 61 | Wer vor einer zur Abnahme einer Versicherung an Eides Statt zustständigen Behörde eine solche Versicherung falsch abgibt oder unter Berufung auf eine solche Versicherung falsch aussagt, wird mit Freiheitsstrafe bis zu drei Jahren oder mit Geldstrafe bestraft. 62 | 63 | \vspace{1em} 64 | \noindent 65 | \textbf{%\footnotesize 66 | § 161 StGB: Fahrlässiger Falscheid; fahrlässige falsche Versicherung an Eides Statt 67 | } 68 | 69 | \noindent 70 | \begin{enumerate}[(1)] 71 | \item Wenn eine der in den §§ 154 bis 156 bezeichneten Handlungen aus Fahrlässigkeit begangen worden ist, so tritt Freiheitsstrafe bis zu einem Jahr oder Geldstrafe ein. 72 | \item Straflosigkeit tritt ein, wenn der Täter die falsche Angabe rechtzeitig berichtigt. 73 | Die Vorschriften des §~158 Abs. 2 und 3 gelten dementsprechend. 74 | \end{enumerate} 75 | } 76 | 77 | \noindent 78 | Die vorstehende Belehrung habe ich zur Kentnis genommen: 79 | 80 | \vspace{2em} 81 | \noindent 82 | \begin{tabular}{@{}lcl} 83 | \signature{6cm}{Aachen, \thedate} & \hspace{1.65cm} & \signature{6cm}{}\\ 84 | Ort, Datum & & Unterschrift\\ 85 | \end{tabular} 86 | \end{otherlanguage} -------------------------------------------------------------------------------- /templates-rwth-master/conclusion.tex: -------------------------------------------------------------------------------- 1 | \chapter{Conclusion} -------------------------------------------------------------------------------- /templates-rwth-master/dedication.tex: -------------------------------------------------------------------------------- 1 | \pagestyle{fancyplain} 2 | \vspace*{\fill} 3 | \begin{center} 4 | {\LARGE\textit{Dedicated to ...}} 5 | \end{center} 6 | \vspace*{\fill} 7 | -------------------------------------------------------------------------------- /templates-rwth-master/experiments.tex: -------------------------------------------------------------------------------- 1 | \chapter{Experiments} -------------------------------------------------------------------------------- /templates-rwth-master/introduction.tex: -------------------------------------------------------------------------------- 1 | \chapter{Introduction} -------------------------------------------------------------------------------- /templates-rwth-master/method.tex: -------------------------------------------------------------------------------- 1 | \chapter{Method} -------------------------------------------------------------------------------- /templates-rwth-master/problem.tex: -------------------------------------------------------------------------------- 1 | \chapter{Problem} -------------------------------------------------------------------------------- /templates-rwth-master/related-work.tex: -------------------------------------------------------------------------------- 1 | \chapter{Related Work} -------------------------------------------------------------------------------- /templates-rwth-master/thesis.bib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidstutz/latex-resources/6de42dca4b15dd87e6467c48b64b44992dd7755d/templates-rwth-master/thesis.bib -------------------------------------------------------------------------------- /templates-rwth-master/titlepage.tex: -------------------------------------------------------------------------------- 1 | \begin{titlepage} 2 | \thispagestyle{fancytitle} 3 | \newgeometry{left=2cm,right=7mm} 4 | \begin{center} 5 | 6 | { 7 | \begin{otherlanguage}{ngerman} 8 | Diese Arbeit wurde vorgelegt am\\ 9 | Lehr- und Forschungsgebiet Informatik 8 (Computer Vision)\\ 10 | Fakultät für Mathematik, Informatik und Naturwissenschaften\\ 11 | Prof. Dr. Bastian Leibe 12 | \end{otherlanguage} 13 | } 14 | 15 | \vspace{1em} 16 | 17 | % headrule 18 | \rule{\linewidth}{0.5mm} 19 | ~\\[2em] 20 | 21 | { 22 | \huge \bfseries\sffamily 23 | \ifthenelse{\equal{\thesis}{master}}{Master}{Bachelor} Thesis 24 | } 25 | 26 | \vfill 27 | 28 | \begin{addmargin}[1em]{1em} 29 | \centering 30 | \sffamily \huge \bfseries \thetitle 31 | \end{addmargin} 32 | 33 | \vfill 34 | 35 | { 36 | vorgelegt von 37 | 38 | \textsf{\textbf{\theauthor}}\\ 39 | Matrikelnummer: \matrnumber 40 | 41 | \thedate 42 | } 43 | 44 | % bottomrule 45 | ~\\[2em] 46 | \rule{\linewidth}{0.5mm} 47 | 48 | \vspace{2em} 49 | 50 | \begin{tabular}{ll} 51 | Erstgutachter: & \erstgutachter\\ 52 | Zweitgutachter: & \zweitgutachter\\ 53 | \end{tabular} 54 | 55 | \end{center} 56 | \restoregeometry 57 | \end{titlepage} -------------------------------------------------------------------------------- /templates-rwth-ney/report.bib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidstutz/latex-resources/6de42dca4b15dd87e6467c48b64b44992dd7755d/templates-rwth-ney/report.bib -------------------------------------------------------------------------------- /templates-rwth-ney/report.tex: -------------------------------------------------------------------------------- 1 | % Template for seminar reports 2 | % Seminar "Selected Topics in Human Language Technology and Pattern Recognition" 3 | % Chair of Computer Science 6, RWTH Aachen University 4 | \documentclass[twoside,11pt,a4paper]{article} 5 | 6 | \usepackage{graphicx,curves,float,rotating} 7 | 8 | \usepackage{amsmath, amssymb, latexsym} 9 | \usepackage{amsopn} 10 | %\usepackage[ngerman]{babel} 11 | \usepackage{theorem} 12 | \usepackage{dcolumn} 13 | \usepackage{hyperref} 14 | \usepackage{xspace} 15 | 16 | \makeatletter 17 | \DeclareRobustCommand\onedot{\futurelet\@let@token\@onedot} 18 | \def\@onedot{\ifx\@let@token.\else.\null\fi\xspace} 19 | \def\eg{{e.g}\onedot} \def\Eg{{E.g}\onedot} 20 | \def\ie{{i.e}\onedot} \def\Ie{{I.e}\onedot} 21 | \def\cf{{c.f}\onedot} \def\Cf{{C.f}\onedot} 22 | \def\etc{{etc}\onedot} \def\vs{{vs}\onedot} 23 | \def\wrt{w.r.t\onedot} \def\dof{d.o.f\onedot} 24 | \def\etal{{et al}\onedot} 25 | \def\zB{z.B\onedot} \def\ZB{Z.B\onedot} 26 | \def\dh{d.h\onedot} \def\Dh{D.h\onedot} 27 | 28 | \newcommand*{\Frac}[2]{\frac{\displaystyle #1}{\displaystyle #2}} 29 | \newlength{\textwd} 30 | \newlength{\oddsidemargintmp} 31 | \newlength{\evensidemargintmp} 32 | \newcommand*{\hspaceof}[2]{\settowidth{\textwd}{#1}\mbox{\hspace{#2\textwd}}} 33 | \newlength{\textht} 34 | \newcommand*{\vspaceof}[3]{\settoheight{\textht}{#1}\mbox{\raisebox{#2\textht}{#3}}} 35 | \newcommand*{\PreserveBackslash}[1]{\let\temp=\\#1\let\\=\temp} 36 | 37 | \newenvironment{deflist}[1][\quad]% 38 | { \begin{list}{}{% 39 | \renewcommand{\makelabel}[1]{\textbf{##1}\hfil}% 40 | \settowidth{\labelwidth}{\textbf{#1}}% 41 | \setlength{\leftmargin}{\labelwidth} 42 | \addtolength{\leftmargin}{\labelsep}}} 43 | { \end{list}} 44 | 45 | \newenvironment{Quote}% Definition of Quote 46 | { \begin{list}{}{% 47 | \setlength{\rightmargin}{0pt}} 48 | \item[]\ignorespaces} 49 | {\unskip\end{list}} 50 | 51 | \theoremstyle{break} 52 | \theorembodyfont{\itshape} 53 | \theoremheaderfont{\scshape} 54 | 55 | \newtheorem{Cor}{Corollary} 56 | \newtheorem{Def}{Definition} 57 | 58 | \newcolumntype{.}{D{.}{.}{-1}} 59 | 60 | \pagestyle{headings} 61 | \textwidth 15cm 62 | \textheight 23cm 63 | \oddsidemargin 1cm 64 | \evensidemargin 0cm 65 | 66 | \begin{document} 67 | 68 | \pagestyle{empty} 69 | 70 | \begin{center} 71 | 72 | Rheinisch-Westf\"alische Technische Hochschule Aachen \\ 73 | Lehrstuhl f\"ur Informatik 6 \\ 74 | Prof. Dr.-Ing. Hermann Ney\\[6ex] 75 | Seminar Title\\[12ex] 76 | 77 | \LARGE 78 | \textbf{Title} \\[6ex] 79 | \textit{Name} \\[6ex] 80 | \Large 81 | Matriculationnumer: XXXXXX \\[6ex] 82 | \today 83 | 84 | \vfill 85 | \Large Advisor: Name 86 | 87 | \end{center} 88 | 89 | \newpage 90 | \ 91 | \newpage 92 | 93 | \pagestyle{headings} 94 | \tableofcontents 95 | \listoftables 96 | \listoffigures 97 | \newpage 98 | \pagestyle{empty} 99 | \ 100 | \newpage 101 | \pagestyle{headings} 102 | 103 | \section{Section} 104 | \subsection{Subsection} 105 | \subsubsection{Subsubsection} 106 | 107 | \addcontentsline{toc}{section}{Literaturverzeichnis} 108 | \bibliographystyle{plain} 109 | \bibliography{report} 110 | 111 | \end{document} 112 | -------------------------------------------------------------------------------- /templates-siam/references.bib: -------------------------------------------------------------------------------- 1 | @Article{KoMa14, 2 | title = {An Adaptive Shifted Power Method for Computing 3 | Generalized Tensor Eigenpairs}, 4 | author = {Tamara G. Kolda and Jackson R. Mayo}, 5 | doi = {10.1137/140951758}, 6 | journal = {SIAM Journal on Matrix Analysis and Applications}, 7 | number = 4, 8 | volume = 35, 9 | year = 2014, 10 | month = dec, 11 | pages = {1563--1581}, 12 | } 13 | 14 | @Misc{siam, 15 | key = {zzz}, 16 | title = {{SIAM} Style Manual: For journals and books}, 17 | year = 2013, 18 | url = {https://www.siam.org/journals/pdf/stylemanual.pdf}} 19 | 20 | @Misc{Hi14, 21 | author = {Nick Higham}, 22 | title = {A Call for Better Indexes}, 23 | howpublished = {SIAM Blogs}, 24 | year = 2014, 25 | month = nov, 26 | url = {http://blogs.siam.org/a-call-for-better-indexes/}, 27 | urldate = {2015-04-05} 28 | } 29 | 30 | @Misc{PeKoPi14, 31 | title = {Accelerating Community Detection by Using {K}-core Subgraphs}, 32 | author = {Chengbin Peng and Tamara G. Kolda and Ali Pinar}, 33 | eprint = {1403.2226}, 34 | year = 2014, 35 | month = mar, 36 | eprintclass = {math.NA} 37 | } 38 | 39 | 40 | @Article{WoZhMeSh05, 41 | author = {Woessner, Donald E. and Zhang, Shanrong and 42 | Merritt, Matthew E. and Sherry, A. Dean}, 43 | title = {Numerical Solution of the {Bloch} Equations Provides Insights 44 | into the Optimum Design of {PARACEST} Agents for {MRI}}, 45 | journal = {Magnetic Resonance in Medicine}, 46 | doi = {10.1002/mrm.20408}, 47 | volume = 53, 48 | number = 4, 49 | month = apr, 50 | year = 2005, 51 | pages = {790--799}, 52 | archiveprefix = {PubMed}, 53 | archive = {http://www.ncbi.nlm.nih.gov/pubmed}, 54 | eprint = {15799055} 55 | } 56 | 57 | @Article{Ne03, 58 | title = {Properties of Highly Clustered Networks}, 59 | author = {Newman, M. E. J.}, 60 | doi = {10.1103/PhysRevE.68.026121}, 61 | journal = {Phys. Rev. E}, 62 | volume = {68}, 63 | year = {2003}, 64 | eid = {026121}, 65 | pagetotal = 6, 66 | month = aug, 67 | } 68 | 69 | @misc{clawpack, 70 | title = {Clawpack Software}, 71 | author = {{Clawpack Development Team}}, 72 | url = {http://www.clawpack.org}, 73 | urldate = {2015/05/14}, 74 | note = {Version 5.2.2}, 75 | year = 2015 76 | } 77 | 78 | @Misc{AMSMSC2010, 79 | title = {{Mathematics Subject Classification}}, 80 | author = {{American Mathematical Society}}, 81 | year = {2010}, 82 | url = {http://www.ams.org/mathscinet/msc/msc2010.html}, 83 | urldate = {2015/03/29}, 84 | } 85 | 86 | 87 | @book{La86, 88 | author = "Leslie Lamport", 89 | title = "\LaTeX: A Document Preparation System", 90 | publisher = "Addison--Wesley", 91 | year = "1986", 92 | address = "Reading, MA" 93 | } 94 | 95 | @Book{MiGo04, 96 | author = {Frank Mittlebach and Michel Goossens}, 97 | title = {The \LaTeX\ Companion}, 98 | publisher = {Addison--Wesley}, 99 | year = 2004, 100 | edition = {2nd}} 101 | 102 | @Book{GoVa13, 103 | author = {Golub, Gene H. and Van Loan, Charles F.}, 104 | title = {Matrix Computations}, 105 | publisher = {The Johns Hopkins University Press}, 106 | address = {Baltimore}, 107 | year = 2013, 108 | edition = {4th} 109 | } 110 | 111 | 112 | @Misc{CalcI, 113 | author = {Paul Dawkins}, 114 | title = {Paul's Online Math Notes: Calculus {I} --- Notes}, 115 | url = {http://tutorial.math.lamar.edu/Classes/CalcI/MeanValueTheorem.aspx}, 116 | urldate = {2015-07-08}} 117 | 118 | @Misc{amsmath, 119 | author = {{American Mathematical Society}}, 120 | title = {User's Guide for the \texttt{amsmath} Package 121 | (Version 2.0)}, 122 | url = {ftp://ftp.ams.org/pub/tex/doc/amsmath/amsldoc.pdf}, 123 | urldate = {2015-07-30}, 124 | year = 2002} 125 | 126 | @Misc{shortmath, 127 | author = {Michael Downes}, 128 | title = {Short Math Guide for {\LaTeX}}, 129 | url = {ftp://ftp.ams.org/pub/tex/doc/amsmath/short-math-guide.pdf}, 130 | urldate = {2015-07-30}, 131 | year = 2002} 132 | 133 | @Misc{pgfplots, 134 | author = {Christian Feuers\"anger}, 135 | title = {Manual for Package \texttt{PGFPLOTS}}, 136 | month = may, 137 | year = 2015, 138 | url = {http://sourceforge.net/projects/pgfplots} 139 | } 140 | 141 | -------------------------------------------------------------------------------- /templates-springer/egbib.bib: -------------------------------------------------------------------------------- 1 | @misc{LoremIpsum, 2 | title = {Lorem Ipusm}, 3 | url = {http://www.lipsum.com/feed/html}, 4 | } -------------------------------------------------------------------------------- /templates-uds-defense/assets/cvpr2019_topic.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidstutz/latex-resources/6de42dca4b15dd87e6467c48b64b44992dd7755d/templates-uds-defense/assets/cvpr2019_topic.pdf -------------------------------------------------------------------------------- /templates-uds-defense/assets/icml2020_topic.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidstutz/latex-resources/6de42dca4b15dd87e6467c48b64b44992dd7755d/templates-uds-defense/assets/icml2020_topic.pdf -------------------------------------------------------------------------------- /templates-uds-defense/assets/logos/sic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidstutz/latex-resources/6de42dca4b15dd87e6467c48b64b44992dd7755d/templates-uds-defense/assets/logos/sic.png -------------------------------------------------------------------------------- /templates-uds-defense/assets/tpami2022_topic.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidstutz/latex-resources/6de42dca4b15dd87e6467c48b64b44992dd7755d/templates-uds-defense/assets/tpami2022_topic.pdf -------------------------------------------------------------------------------- /templates-uds-defense/beamerthemempiisimple.sty: -------------------------------------------------------------------------------- 1 | \mode 2 | \usepackage{pgfcomp-version-0-65} 3 | \usepackage[absolute,overlay]{textpos} 4 | \usepackage[T1]{fontenc} 5 | \usepackage[utf8]{inputenc} 6 | \input{font} 7 | \input{colors} 8 | 9 | \setlength{\leftmargini}{5mm} 10 | \setbeamercolor{title}{fg = MPIIdarkerergray} 11 | \setbeamercolor{author}{fg = MPIIdarkerergray} 12 | \setbeamercolor{date}{fg = MPIIdarkerergray} 13 | \setbeamercolor{frametitle}{fg = MPIIdarkerergray} 14 | \setbeamercolor{section in toc}{fg = MPIIdarkerergray} 15 | \setbeamercolor{subsection in toc}{fg = MPIIdarkerergray} 16 | \setbeamercolor{section in toc shaded}{fg = MPIIdarkerergray} 17 | \setbeamercolor{item}{fg = MPIIdarkgray} 18 | \setbeamercolor{subitem}{fg = MPIIdarkgray} 19 | \setbeamercolor{subsubitem}{fg = MPIIdarkgray} 20 | \setbeamercolor{description item}{fg = MPIIdarkerergray} 21 | \setbeamercolor{caption}{fg = MPIIdarkerergray} 22 | \setbeamercolor{caption name}{fg = MPIIdarkerergray} 23 | \setbeamercolor{normal text}{fg = MPIIdarkerergray} 24 | 25 | \usefonttheme{default} 26 | \setbeamerfont{title}{size = \huge} 27 | \setbeamerfont{author}{size = \Large} 28 | \setbeamerfont{date}{size = \Large} 29 | \setbeamerfont{frametitle}{size = \huge} 30 | \setbeamerfont{bibliography item}{size=\scriptsize} 31 | \setbeamerfont{bibliography entry author}{size=\scriptsize} 32 | \setbeamerfont{bibliography entry title}{size=\scriptsize} 33 | \setbeamerfont{bibliography entry location}{size=\scriptsize} 34 | \setbeamerfont{bibliography entry note}{size=\scriptsize} 35 | 36 | \setbeamersize{text margin left=5mm,text margin right=5mm} 37 | \useinnertheme{circles} 38 | \setbeamertemplate{itemize items}[triangle] 39 | \setbeamertemplate{enumerate items}[default] 40 | 41 | \setbeamertemplate{blocks}[default] 42 | \setbeamertemplate{navigation symbols}{} 43 | 44 | \setbeamertemplate{title page}{% 45 | \vfill 46 | \centering 47 | \begin{beamercolorbox}[sep=8pt,center]{title} 48 | \usebeamerfont{title}\inserttitle 49 | \end{beamercolorbox}% 50 | \begin{beamercolorbox}[sep=8pt,center]{author} 51 | \usebeamerfont{author}\insertauthor 52 | \end{beamercolorbox} 53 | } 54 | 55 | \setbeamertemplate{frametitle}{ 56 | \begin{textblock*}{\paperwidth}(0mm, 4mm) 57 | \centering\bfseries 58 | {\usebeamerfont{frametitle}\insertframetitle} 59 | \end{textblock*} 60 | \vspace*{10mm} 61 | } 62 | 63 | \setbeamertemplate{footnote}{% 64 | \begin{textblock*}{\paperwidth}(4mm,83.75mm) 65 | \begin{minipage}{144mm} 66 | \small 67 | \insertfootnotetext 68 | \end{minipage} 69 | \hfill 70 | \end{textblock*} 71 | } -------------------------------------------------------------------------------- /templates-uds-defense/colors.tex: -------------------------------------------------------------------------------- 1 | \usepackage{xcolor} 2 | \definecolor{SICblue}{HTML}{004875} 3 | \definecolor{MPIIblue}{RGB}{22,26,60} 4 | \definecolor{MPIIlightblue}{RGB}{103,133,158} % 67859E 5 | \definecolor{MPIIorange}{RGB}{255,125,0} 6 | \definecolor{MPIIblack}{RGB}{55,55,55} 7 | \definecolor{MPIIwhite}{RGB}{255,255,255} 8 | \definecolor{MPIIdarkgray}{RGB}{123,123,123} 9 | \definecolor{MPIIdarkergray}{RGB}{89,89,89} 10 | \definecolor{MPIIdarkerergray}{RGB}{39,39,39} 11 | \colorlet{MPIIgray}{gray} 12 | \definecolor{MPIIlightgray}{RGB}{214,214,214} 13 | \definecolor{MPIIlightergray}{RGB}{234,234,234} 14 | \definecolor{MPIIgreen}{HTML}{327a2b} % 0.22,0.54, 0.19 15 | \definecolor{MPIIred}{rgb}{1, 0, 0} 16 | \definecolor{MPIIbeige}{rgb}{0.65,0.23,0.25} 17 | 18 | \definecolor{seaborn1}{HTML}{4C72B0} 19 | \definecolor{seaborn2}{HTML}{55A868} 20 | \definecolor{seaborn3}{HTML}{C44E52} 21 | \definecolor{seaborn4}{HTML}{8172B2} 22 | \definecolor{seaborn5}{HTML}{CCB974} 23 | \definecolor{seaborn6}{HTML}{64B5CD} 24 | 25 | \definecolor{colorbrewer0}{RGB}{45,45,45} 26 | \definecolor{colorbrewer1}{RGB}{228,26,28} 27 | \definecolor{colorbrewer2}{RGB}{55,126,184} 28 | \definecolor{colorbrewer3}{RGB}{77,175,74} 29 | \definecolor{colorbrewer4}{RGB}{152,78,163} 30 | \definecolor{colorbrewer5}{RGB}{255,127,0} 31 | \definecolor{colorbrewer6}{RGB}{255,255,51} 32 | \definecolor{colorbrewer7}{RGB}{166,86,40} 33 | \definecolor{colorbrewer8}{RGB}{247,129,191} 34 | \definecolor{colorbrewer9}{RGB}{153,153,153} 35 | \definecolor{colorbrewer10}{RGB}{24,167,181} 36 | 37 | \definecolor{plot0}{RGB}{166, 206, 227} 38 | \definecolor{plot1}{RGB}{31, 120, 180} 39 | \definecolor{plot2}{RGB}{251, 154, 153} 40 | \definecolor{plot3}{RGB}{178, 223, 138} 41 | \definecolor{plot4}{RGB}{51, 160, 44} 42 | \definecolor{plot5}{RGB}{227, 26, 28} 43 | \definecolor{plot6}{RGB}{253, 191, 111} 44 | \definecolor{plot7}{RGB}{255, 127, 0} 45 | \definecolor{plot8}{RGB}{202, 178, 214} 46 | \definecolor{plot9}{RGB}{106, 61, 154} 47 | \definecolor{plot10}{RGB}{245, 245, 145} 48 | \definecolor{plot11}{RGB}{177, 89, 40} 49 | 50 | \colorlet{seaborn1}{colorbrewer2} 51 | \colorlet{seaborn2}{colorbrewer3} 52 | \colorlet{seaborn3}{colorbrewer1} 53 | \colorlet{seaborn4}{colorbrewer4} 54 | \colorlet{seaborn5}{colorbrewer7} 55 | \colorlet{seaborn6}{colorbrewer10} 56 | 57 | \colorlet{plot0}{colorbrewer10} 58 | \colorlet{plot1}{colorbrewer2} 59 | \colorlet{plot2}{colorbrewer8} 60 | \colorlet{plot3}{colorbrewer3} 61 | \colorlet{plot4}{colorbrewer3} 62 | \colorlet{plot5}{colorbrewer1} 63 | \colorlet{plot6}{colorbrewer6} 64 | \colorlet{plot7}{colorbrewer5} 65 | \colorlet{plot8}{colorbrewer4} 66 | \colorlet{plot9}{colorbrewer4} 67 | \colorlet{plot10}{colorbrewer6} 68 | \colorlet{plot11}{colorbrewer7} 69 | 70 | \colorlet{MPIIblue}{colorbrewer2} 71 | \colorlet{MPIIgreen}{colorbrewer3} 72 | \colorlet{MPIIorange}{colorbrewer5} 73 | \colorlet{MPIIred}{colorbrewer1} 74 | \colorlet{MPIIbeige}{colorbrewer7} 75 | \colorlet{MPIIhighlight}{colorbrewer1} 76 | 77 | \colorlet{RWTHblue}{colorbrewer2} 78 | \colorlet{RWTHgreen}{colorbrewer3} 79 | \colorlet{RWTHorange}{colorbrewer5} 80 | \colorlet{RWTHred}{colorbrewer1} -------------------------------------------------------------------------------- /templates-uds-defense/font.tex: -------------------------------------------------------------------------------- 1 | \usepackage[scaled]{helvet} 2 | \renewcommand*\familydefault{\sfdefault} 3 | 4 | \usepackage{pgfplots} 5 | \usepackage[eulergreek]{sansmath} 6 | \pgfplotsset{ 7 | tick label style = {font=\sansmath\sffamily}, 8 | every axis label = {font=\sansmath\sffamily}, 9 | legend style = {font=\sansmath\sffamily}, 10 | label style = {font=\sansmath\sffamily} 11 | } 12 | \usepackage{tikz} 13 | \tikzset{every picture/.style={/utils/exec={\sffamily}}} -------------------------------------------------------------------------------- /templates-uds-phd/README.md: -------------------------------------------------------------------------------- 1 | # PhD Thesis Template 2 | 3 | This is the template for my PhD thesis at Saarland University, Saarbrücken, Germany. 4 | 5 | The structure is rather simple: 6 | 7 | * `thesis.tex` is the main document, with corresponding bibliography in `bibliography.bib` 8 | * Individual chapters, usually corresponding to published papers, can be found in `paperX` 9 | * These chapters are organized in parts, each with a short abstract, see `partX.tex` 10 | * `title.tex`, `abstract.tex`, `zusammenfassung.tex`, `dedication.tex` and `acknowledgements.tex` correspond 11 | to the title page, abstract, German abstract, dedication and acknowledgements and come before 12 | the main table of conents 13 | * `packages.tex` contains any packages not automatically included by the template in `classicthesis_cw.sty` 14 | * `commands.tex` contains additional global commands 15 | 16 | The template was originally written by [André Miede](http://miede.de/), see `classicthesis_cw.sty` 17 | for license information. -------------------------------------------------------------------------------- /templates-uds-phd/abstract.tex: -------------------------------------------------------------------------------- 1 | \thispagestyle{plain} 2 | \chapter*{Abstract} 3 | 4 | -------------------------------------------------------------------------------- /templates-uds-phd/acknowledgements.tex: -------------------------------------------------------------------------------- 1 | \thispagestyle{plain} 2 | \chapter*{Acknowledgements} 3 | 4 | -------------------------------------------------------------------------------- /templates-uds-phd/bibliography.bib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidstutz/latex-resources/6de42dca4b15dd87e6467c48b64b44992dd7755d/templates-uds-phd/bibliography.bib -------------------------------------------------------------------------------- /templates-uds-phd/commands.tex: -------------------------------------------------------------------------------- 1 | \def\figref#1{Figure~\ref{#1}} 2 | \def\partref#1{Part~\ref{#1}} 3 | \def\chapref#1{Chapter~\ref{#1}} 4 | \def\secref#1{Section~\ref{#1}} 5 | \def\appref#1{Appendix~\ref{#1}} 6 | \def\eqnref#1{Equation~\eqref{#1}} 7 | \def\algref#1{Algorithm~\ref{#1}} 8 | \def\tabref#1{Table~\ref{#1}} 9 | \newcommand{\defref}[1]{Definition~\ref{#1}} 10 | 11 | \makeatletter 12 | \DeclareRobustCommand\onedot{\futurelet\@let@token\@onedot} 13 | \def\@onedot{\ifx\@let@token.\else.\null\fi\xspace} 14 | % originall in \emph 15 | \def\eg{e.g\onedot} \def\Eg{E.g\onedot} 16 | \def\ie{i.e\onedot} \def\Ie{I.e\onedot} 17 | \def\cf{c.f\onedot} \def\Cf{C.f\onedot} 18 | \def\etc{etc\onedot} \def\vs{vs\onedot} 19 | \def\wrt{w.r.t\onedot} \def\dof{d.o.f\onedot} 20 | \def\etal{et al\onedot} 21 | \makeatother 22 | 23 | \def\mypart#1#2{% 24 | %\par\break % Page break 25 | \refstepcounter{part}% Next part 26 | {\centering\Huge\color{halfgray}\chapterNumber \thepart\par} 27 | \vspace{1em} 28 | {\centering\huge\normalfont\textls[160]{\scshape #1}\par} 29 | \vspace{2em} 30 | #2 31 | %\vfill\break % Fill the end of page and page break 32 | } 33 | 34 | \makeatletter 35 | \renewcommand{\paragraph}{% 36 | \@startsection{paragraph}{4}% 37 | {\z@}{0.75ex \@plus 0.5ex \@minus .25ex}{-1em}% 38 | {\normalfont\normalsize\bfseries}% 39 | } 40 | \makeatother -------------------------------------------------------------------------------- /templates-uds-phd/conclusion.tex: -------------------------------------------------------------------------------- 1 | \chapter{Conclusion and Future Work} 2 | \label{chap:conclusion} 3 | 4 | \vspace*{-2.2em} 5 | \minitoc 6 | \vspace*{0.8em} 7 | 8 | \lettrine[lines=3]{R}{ecent} advances in ... 9 | 10 | \section{Future Directions} 11 | 12 | In the following, we provide a discussion of potential future work regarding the main topics of this thesis. 13 | -------------------------------------------------------------------------------- /templates-uds-phd/dedication.tex: -------------------------------------------------------------------------------- 1 | \thispagestyle{empty} 2 | \begin{center} 3 | \vspace*{\fill} 4 | {\Large \textit{Dedicated to X}} 5 | \vspace*{\fill} 6 | \end{center} 7 | 8 | -------------------------------------------------------------------------------- /templates-uds-phd/introduction.tex: -------------------------------------------------------------------------------- 1 | \chapter{Introduction} 2 | \label{chap:introduction} 3 | 4 | \vspace*{-2.2em} 5 | \minitoc 6 | \vspace*{0.8em} 7 | 8 | \lettrine[lines=3]{I}{ntroduction} ... 9 | 10 | \section{Outline} 11 | 12 | This thesis is divided into X parts: 13 | 14 | \begin{description} 15 | \item[\chapref{chap:related}, Related Work:] ... 16 | \end{description} 17 | 18 | \noindent\textbf{\textit{\partref{part:1}, XXX}} 19 | 20 | \begin{description} 21 | \item[\chapref{chap:Stutz2018ARXIV}, XXX:] 22 | ... 23 | 24 | This chapter corresponds to paper XXX 25 | \end{description} 26 | 27 | ... 28 | 29 | \section{Publications} 30 | 31 | List of publications covered ... -------------------------------------------------------------------------------- /templates-uds-phd/packages.tex: -------------------------------------------------------------------------------- 1 | \usepackage[multiple]{footmisc} 2 | \usepackage[eulermath]{classicthesis_cw} 3 | \usepackage[utf8x]{inputenc} 4 | \usepackage{amsfonts} 5 | \usepackage{amsmath} 6 | \usepackage{amssymb} 7 | \usepackage{amsthm} 8 | \usepackage[english,american]{babel} 9 | \usepackage[T1]{fontenc} 10 | \usepackage{graphicx} 11 | \usepackage{xspace} 12 | \usepackage{tcolorbox} 13 | \usepackage{lettrine} 14 | \usepackage{nameref} 15 | \usepackage{natbib} 16 | \usepackage{algorithm} 17 | \usepackage{algorithmic} 18 | \usepackage[pdftex,pageanchor=true,bookmarks=true,bookmarksnumbered=true,backref=page,hyperindex=true]{hyperref} 19 | \usepackage[tight]{minitoc} 20 | 21 | \RequirePackage[hyperpageref]{backref} 22 | \renewcommand*{\backref}[1]{} 23 | \renewcommand*{\backrefalt}[4]{ 24 | \ifcase #1 25 | %No cited. 26 | \or 27 | Cited on page #2. 28 | \else 29 | Cited on pages #2. 30 | \fi} -------------------------------------------------------------------------------- /templates-uds-phd/paper1.tex: -------------------------------------------------------------------------------- 1 | \chapter{Paper 1} 2 | 3 | \vspace*{-2.2em} 4 | \minitoc 5 | \vspace*{0.8em} 6 | 7 | \lettrine[lines=3]{I}{n} this first chapter, ... 8 | 9 | \input{paper1/introduction} 10 | \input{paper1/main} 11 | \input{paper1/experiments} 12 | \input{paper1/conclusion} -------------------------------------------------------------------------------- /templates-uds-phd/paper1/conclusion.tex: -------------------------------------------------------------------------------- 1 | \section{Conclusion} -------------------------------------------------------------------------------- /templates-uds-phd/paper1/experiments.tex: -------------------------------------------------------------------------------- 1 | \section{Experiments} -------------------------------------------------------------------------------- /templates-uds-phd/paper1/introduction.tex: -------------------------------------------------------------------------------- 1 | \section{Introduction} -------------------------------------------------------------------------------- /templates-uds-phd/paper1/main.tex: -------------------------------------------------------------------------------- 1 | \section{Method} -------------------------------------------------------------------------------- /templates-uds-phd/paper2.tex: -------------------------------------------------------------------------------- 1 | \chapter{Paper 2} 2 | 3 | \vspace*{-2.2em} 4 | \minitoc 5 | \vspace*{0.8em} 6 | 7 | \lettrine[lines=3]{T}{his} chapter ... 8 | 9 | \input{paper2/introduction} 10 | \input{paper2/main} 11 | \input{paper2/experiments} 12 | \input{paper2/conclusion} -------------------------------------------------------------------------------- /templates-uds-phd/paper2/conclusion.tex: -------------------------------------------------------------------------------- 1 | \section{Conclusion} -------------------------------------------------------------------------------- /templates-uds-phd/paper2/experiments.tex: -------------------------------------------------------------------------------- 1 | \section{Experiments} -------------------------------------------------------------------------------- /templates-uds-phd/paper2/introduction.tex: -------------------------------------------------------------------------------- 1 | \section{Introduction} -------------------------------------------------------------------------------- /templates-uds-phd/paper2/main.tex: -------------------------------------------------------------------------------- 1 | \section{Method} -------------------------------------------------------------------------------- /templates-uds-phd/paper3.tex: -------------------------------------------------------------------------------- 1 | \chapter{Paper 3} 2 | 3 | \vspace*{-2.2em} 4 | \minitoc 5 | \vspace*{0.8em} 6 | 7 | \lettrine[lines=3]{T}{his} chapter ... 8 | 9 | \input{paper3/introduction} 10 | \input{paper3/main} 11 | \input{paper3/experiments} 12 | \input{paper3/conclusion} -------------------------------------------------------------------------------- /templates-uds-phd/paper3/conclusion.tex: -------------------------------------------------------------------------------- 1 | \section{Conclusion} -------------------------------------------------------------------------------- /templates-uds-phd/paper3/experiments.tex: -------------------------------------------------------------------------------- 1 | \section{Experiments} -------------------------------------------------------------------------------- /templates-uds-phd/paper3/introduction.tex: -------------------------------------------------------------------------------- 1 | \section{Introduction} -------------------------------------------------------------------------------- /templates-uds-phd/paper3/main.tex: -------------------------------------------------------------------------------- 1 | \section{Method} -------------------------------------------------------------------------------- /templates-uds-phd/paper4.tex: -------------------------------------------------------------------------------- 1 | \chapter{Paper 4} 2 | 3 | \vspace*{-2.2em} 4 | \minitoc 5 | \vspace*{0.8em} 6 | 7 | \lettrine[lines=3]{T}{his} chapter ... 8 | 9 | \input{paper4/introduction} 10 | \input{paper4/main} 11 | \input{paper4/experiments} 12 | \input{paper4/conclusion} -------------------------------------------------------------------------------- /templates-uds-phd/paper4/conclusion.tex: -------------------------------------------------------------------------------- 1 | \section{Conclusion} -------------------------------------------------------------------------------- /templates-uds-phd/paper4/experiments.tex: -------------------------------------------------------------------------------- 1 | \section{Experiments} -------------------------------------------------------------------------------- /templates-uds-phd/paper4/introduction.tex: -------------------------------------------------------------------------------- 1 | \section{Introduction} -------------------------------------------------------------------------------- /templates-uds-phd/paper4/main.tex: -------------------------------------------------------------------------------- 1 | \section{Method} -------------------------------------------------------------------------------- /templates-uds-phd/paper5.tex: -------------------------------------------------------------------------------- 1 | \chapter{Paper 5} 2 | 3 | \vspace*{-2.2em} 4 | \minitoc 5 | \vspace*{0.8em} 6 | 7 | \lettrine[lines=3]{I}{n} this first chapter, ... 8 | 9 | \input{paper5/introduction} 10 | \input{paper5/main} 11 | \input{paper5/experiments} 12 | \input{paper5/conclusion} -------------------------------------------------------------------------------- /templates-uds-phd/paper5/conclusion.tex: -------------------------------------------------------------------------------- 1 | \section{Conclusion} -------------------------------------------------------------------------------- /templates-uds-phd/paper5/experiments.tex: -------------------------------------------------------------------------------- 1 | \section{Experiments} -------------------------------------------------------------------------------- /templates-uds-phd/paper5/introduction.tex: -------------------------------------------------------------------------------- 1 | \section{Introduction} -------------------------------------------------------------------------------- /templates-uds-phd/paper5/main.tex: -------------------------------------------------------------------------------- 1 | \section{Method} -------------------------------------------------------------------------------- /templates-uds-phd/part1.tex: -------------------------------------------------------------------------------- 1 | {\thispagestyle{empty}\vspace*{\fill}\mypart{Part 1}{\begin{center}\large\begin{minipage}{0.8\textwidth} Description.\end{minipage}\end{center}}\vspace*{\fill} 2 | \addcontentsline{toc}{part}{I Part 1} 3 | \label{part:0}} -------------------------------------------------------------------------------- /templates-uds-phd/part2.tex: -------------------------------------------------------------------------------- 1 | {\thispagestyle{empty}\vspace*{\fill}\mypart{Part 2}{\begin{center}\large\begin{minipage}{0.8\textwidth} Description.\end{minipage}\end{center}}\vspace*{\fill} 2 | \addcontentsline{toc}{part}{I Part 2} 3 | \label{part:0}} -------------------------------------------------------------------------------- /templates-uds-phd/part3.tex: -------------------------------------------------------------------------------- 1 | {\thispagestyle{empty}\vspace*{\fill}\mypart{Part 3}{\begin{center}\large\begin{minipage}{0.8\textwidth} Description.\end{minipage}\end{center}}\vspace*{\fill} 2 | \addcontentsline{toc}{part}{I Part 3} 3 | \label{part:0}} -------------------------------------------------------------------------------- /templates-uds-phd/related_work.tex: -------------------------------------------------------------------------------- 1 | \chapter{Related Work} 2 | \label{chap:related} 3 | 4 | \vspace*{-2.2em} 5 | \minitoc 6 | \vspace*{0.8em} 7 | 8 | \lettrine[lines=3]{I}{n} this chapter, we review literature on ... -------------------------------------------------------------------------------- /templates-uds-phd/thesis.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt,a4paper,twoside]{diss} 2 | \include{packages} 3 | \include{commands} 4 | \graphicspath{{./paper1/}{./paper2/}{./paper3/}{./paper4/}{./paper5/}} 5 | \newcommand{\private}{} 6 | \begin{document} 7 | 8 | \pagenumbering{roman} 9 | \hypertarget{title}{} 10 | \pdfbookmark[0]{Title Page}{title} 11 | \include{title} 12 | \cleardoublepage 13 | 14 | \hypertarget{dedication}{} 15 | \pdfbookmark[0]{Dedication}{dedication} 16 | \include{dedication} 17 | \cleardoublepage 18 | 19 | \hypertarget{abstract}{} 20 | \pdfbookmark[0]{Abstract}{abstract} 21 | \include{abstract} 22 | \cleardoublepage 23 | 24 | \hypertarget{zusammenfassung}{} 25 | \pdfbookmark[0]{Zusammenfassung}{zusammenfassung} 26 | \include{zusammenfassung} 27 | \cleardoublepage 28 | 29 | \hypertarget{acknowledgements}{} 30 | \pdfbookmark[0]{Acknowledgements}{acknowledgements} 31 | \include{acknowledgements} 32 | \cleardoublepage 33 | 34 | \dominitoc 35 | \hypertarget{toc}{} 36 | \pdfbookmark[0]{\contentsname}{toc} 37 | \tableofcontents 38 | \clearoddpage 39 | 40 | \pagenumbering{arabic} 41 | 42 | \include{introduction} 43 | \clearoddpage 44 | 45 | \include{related_work} 46 | \clearoddpage 47 | 48 | \input{part1} 49 | \clearoddpage 50 | 51 | \input{paper1} 52 | \clearoddpage 53 | 54 | \input{paper2} 55 | \clearoddpage 56 | 57 | \input{part2} 58 | \clearoddpage 59 | 60 | \input{paper3} 61 | \clearoddpage 62 | 63 | \input{part3} 64 | \clearoddpage 65 | 66 | \input{paper4} 67 | \clearoddpage 68 | 69 | \input{paper5} 70 | \clearoddpage 71 | 72 | \include{conclusion} 73 | \clearoddpage 74 | 75 | \addcontentsline{toc}{chapter}{\numberline{}\listalgorithmname} 76 | \listofalgorithms 77 | \clearoddpage 78 | 79 | \addcontentsline{toc}{chapter}{\numberline{}\listfigurename} 80 | \setcounter{lofdepth}{2} 81 | \listoffigures 82 | \clearoddpage 83 | 84 | \addcontentsline{toc}{chapter}{\numberline{}\listtablename} 85 | \setcounter{lotdepth}{2} 86 | \listoftables 87 | \clearoddpage 88 | 89 | \begingroup\small 90 | \addcontentsline{toc}{chapter}{\numberline{}\bibname} 91 | \bibliography{bibliography} 92 | \endgroup 93 | \cleardoublepage 94 | 95 | \begin{appendix} 96 | % TODO any appendix 97 | \end{appendix} 98 | 99 | \end{document} 100 | -------------------------------------------------------------------------------- /templates-uds-phd/title.tex: -------------------------------------------------------------------------------- 1 | \begin{titlepage} 2 | \begin{center} 3 | \vspace*{2em} 4 | \huge{Title} 5 | % 6 | \vspace*{0.75em} 7 | 8 | \LARGE{Author} 9 | \vspace*{2.5em} 10 | 11 | {\Large 12 | A dissertation submitted towards the degree\\[4px] 13 | \emph{Doctor of Engineering Science (Dr.-Ing.)}\\[6px] 14 | of the Faculty of Mathematics and Computer Science\\ 15 | of Saarland University 16 | \vspace*{2.5em} 17 | 18 | Saarbr\"ucken, 2022. 19 | } 20 | \vspace*{2em} 21 | 22 | \includegraphics[width=6cm]{uds.png} 23 | \end{center} 24 | 25 | \newpage 26 | \thispagestyle{empty} 27 | \vspace*{\fill} 28 | \begin{center}\normalsize 29 | \begin{tabular}{l@{\hskip 1cm}l} 30 | \bfseries Date of Colloquium: & XX.XX.XXX\\ 31 | \bfseries Dean of the Faculty: & XXX\\ 32 | \bfseries Chair of the Committee: & XXX\\ 33 | \bfseries Reviewers: & XXX\\ 34 | & XXX\\ 35 | & XXX\\ 36 | & XXX\\ 37 | \bfseries Academic Assistant: & XXX\\ 38 | \end{tabular} 39 | \end{center} 40 | \end{titlepage} 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /templates-uds-phd/uds.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidstutz/latex-resources/6de42dca4b15dd87e6467c48b64b44992dd7755d/templates-uds-phd/uds.png -------------------------------------------------------------------------------- /templates-uds-phd/zusammenfassung.tex: -------------------------------------------------------------------------------- 1 | \thispagestyle{plain} 2 | \chapter*{Zusammenfassung} 3 | 4 | -------------------------------------------------------------------------------- /tikz-backprop/backprop.tex: -------------------------------------------------------------------------------- 1 | \documentclass[twoside,11pt,a4paper]{article} 2 | 3 | \usepackage[utf8]{inputenc} 4 | \usepackage{amsmath, amssymb, latexsym} 5 | \usepackage{sidecap} 6 | 7 | \usepackage{tikz} 8 | \usetikzlibrary{decorations.pathreplacing} 9 | 10 | \begin{document} 11 | 12 | \begin{SCfigure}[2\sidecaptionrelwidth][t!] 13 | \centering 14 | \begin{tikzpicture}[shorten >=1pt] 15 | \tikzstyle{unit}=[draw,shape=circle,minimum size =1.4cm] 16 | 17 | \node[unit](i) at (0,1){$y_i^{(l)}$}; 18 | \node[unit](k1) at (3,2){$y_1^{(l+1)}$}; 19 | \node at (3, 1){$\vdots$}; 20 | \node[unit](km) at (3,-0.25){$y_{m^{(l+1)}}^{(l+1)}$}; 21 | 22 | \node at (1.25,2.25){$\delta_1^{(l+1)}$}; 23 | \node at (1.25,-0.5){$\delta_{m^{(l+1)}}^{(l+1)}$}; 24 | 25 | \draw[->] (i) -- (k1); 26 | \draw[->] (i) -- (km); 27 | 28 | \draw[->,red,line width=0.05cm] (2,-0.25) -- (0.75,0.3); 29 | \draw[->,red,line width=0.05cm] (2,2) -- (0.75,1.6); 30 | \end{tikzpicture} 31 | \caption[Backpropagation of errors through the network.]{Once evaluated for all output units, the errors $\delta_i^{(L+1)}$ can be propagated backwards.}. 32 | \label{fig:error-backpropagation} 33 | \end{SCfigure} 34 | 35 | \end{document} -------------------------------------------------------------------------------- /tikz-bayes-net/bayes-net.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt]{article} 2 | 3 | \usepackage{amsmath} 4 | \usepackage{amssymb} 5 | \usepackage{subfigure} 6 | 7 | \usepackage{pgfplots} 8 | \usepackage{tikz} 9 | 10 | % Available at (including additional examples): 11 | % https://github.com/jluttine/tikz-bayesnet 12 | \usetikzlibrary{bayesnet} 13 | 14 | \begin{document} 15 | \begin{tikzpicture} 16 | % Define nodes 17 | \node[latent,minimum size=1cm] (bet) {Bet}; 18 | \node[latent, above=of bet, xshift=-1.2cm,minimum size=1cm] (ofh) {OFH}; 19 | \node[latent, above=of ofh, xshift=-1.2cm,minimum size=1cm] (och) {OCH}; 20 | \node[latent, above=of ofh, xshift=1.2cm,minimum size=1cm] (sg) {SG}; 21 | \node[latent, above=of och, xshift=1.2cm,minimum size=1cm] (board) {Board}; 22 | \node[latent, above=of och, xshift=-1.2cm,minimum size=1cm] (hole) {Hole}; 23 | \node[latent, above=of bet, xshift=1.2cm,minimum size=1cm] (style) {Style}; 24 | 25 | % Connect the nodes 26 | \edge {style,ofh} {bet} ; % 27 | \edge {och,sg} {ofh} ; % 28 | \edge {hole,board} {och} ; % 29 | \end{tikzpicture} 30 | \end{document} -------------------------------------------------------------------------------- /tikz-camera-illustration/camera-illustration.tex: -------------------------------------------------------------------------------- 1 | \documentclass[twoside,11pt,a4paper]{article} 2 | 3 | \usepackage[utf8]{inputenc} 4 | \usepackage{amsmath, amssymb, latexsym} 5 | 6 | \usepackage{tikz} 7 | \usetikzlibrary{shapes.misc} 8 | \usetikzlibrary{decorations.pathreplacing} 9 | \tikzset{cross/.style={cross out, draw=black, minimum size=2*(#1-\pgflinewidth), inner sep=0pt, outer sep=0pt},cross/.default={0.1cm}} 10 | \begin{document} 11 | \begin{figure} 12 | \centering 13 | \begin{tikzpicture} 14 | \node[cross] (c) at (0,0) {}; 15 | \node at (-0.25,-0.25) {$t_{\text{cam}}$}; 16 | 17 | \draw[-] (1,-1.5) -- (1,1.5); 18 | %\draw[-] (0,0) -- (0.5,0.5); 19 | \draw[-,dashed,draw=black!40] (0,0) -- (1.5,1.5); 20 | %\draw[-] (0,0) -- (0.5,-0.5); 21 | \draw[-,dashed,draw=black!40] (0,0) -- (1.5,-1.5); 22 | %\draw[-] (0.5,0.5) -- (0.5,-0.5); 23 | 24 | \draw[->] (0,0) -- (3,0); 25 | \node[] at (2,0.25) {$r_{\text{cam}}$}; 26 | 27 | \draw [decorate,decoration={brace,amplitude=5pt}] 28 | (0.05,0.15) -- (0.95,0.15); 29 | \node at (0.5, 0.6) {$f$}; 30 | 31 | \draw[->] (-1,-2) -- (-1,-1) node at (-1,-0.75) {$y$}; 32 | \draw[->] (-1,-2) -- (0,-2) node at (0.25,-2) {$x$}; 33 | 34 | \node[minimum width=2cm,minimum height=1.5cm,rotate=30,draw=black,rectangle] (r) at (5,-0.5){}; 35 | 36 | \draw[->] (c) -- (r); 37 | \node at (3.65,0) {$p$}; 38 | \end{tikzpicture} 39 | \end{figure} 40 | \end{document} -------------------------------------------------------------------------------- /tikz-convolutional-layer/convolutional-layer.tex: -------------------------------------------------------------------------------- 1 | \documentclass[twoside,11pt,a4paper]{article} 2 | 3 | \usepackage[utf8]{inputenc} 4 | \usepackage{amsmath, amssymb, latexsym} 5 | \usepackage{sidecap} 6 | 7 | \usepackage{tikz} 8 | \usetikzlibrary{decorations.pathreplacing} 9 | 10 | \begin{document} 11 | 12 | \begin{SCfigure}[2\sidecaptionrelwidth][t] 13 | \centering 14 | \begin{tikzpicture} 15 | \node at (1.5,4){\begin{tabular}{c}input image\\or input feature map\end{tabular}}; 16 | 17 | \draw (0,0) -- (3,0) -- (3,3) -- (0,3) -- (0,0); 18 | 19 | \draw (2,2) -- (2.5,2) -- (2.5,2.5) -- (2,2.5) -- (2,2); 20 | \draw (2,0.5) -- (2.5,0.5) -- (2.5,1) -- (2,1) -- (2,0.5); 21 | \draw (1,1) -- (1.5,1) -- (1.5,1.5) -- (1,1.5) -- (1,1); 22 | 23 | \draw (2.5,2) -- (7,3.25); 24 | \draw (2.5,2.5) -- (7,3.25); 25 | 26 | \draw (2.5,1) -- (5.75,0.25); 27 | \draw (2.5,0.5) -- (5.75,0.25); 28 | 29 | \draw (1.5,1.5) -- (5.5,1.25); 30 | \draw (1.5,1) -- (5.5,1.25); 31 | 32 | \node at (5.75,4){\begin{tabular}{c}output feature maps\end{tabular}}; 33 | 34 | \draw[fill=black,opacity=0.2,draw=black] (5.5,1.5) -- (7.5,1.5) -- (7.5,3.5) -- (5.5,3.5) -- (5.5,1.5); 35 | \draw[fill=black,opacity=0.2,draw=black] (5,1) -- (7,1) -- (7,3) -- (5,3) -- (5,1); 36 | \draw[fill=black,opacity=0.2,draw=black] (4.5,0.5) -- (6.5,0.5) -- (6.5,2.5) -- (4.5,2.5) -- (4.5,0.5); 37 | \draw[fill=black,opacity=0.2,draw=black] (4,0) -- (6,0) -- (6,2) -- (4,2) -- (4,0); 38 | \end{tikzpicture} 39 | \caption[Illustration of a convolutional layer.]{Illustration of a single convolutional layer. If layer $l$ is a convolutional layer, the input image (if $l = 1$) or a feature map of the previous layer is convolved by different filters to yield the output feature maps of layer $l$.} 40 | \label{fig:convolutional-layer} 41 | \end{SCfigure} 42 | 43 | \end{document} -------------------------------------------------------------------------------- /tikz-fp-tree/fp-tree.tex: -------------------------------------------------------------------------------- 1 | \documentclass[a4paper, 12pt]{article} 2 | 3 | \usepackage[utf8]{inputenc} 4 | \usepackage{amssymb} 5 | \usepackage{amsmath} 6 | 7 | \usepackage{tikz} 8 | \usepackage{qtree} 9 | 10 | \begin{document} 11 | \Tree [.{$\{\}$} [.{g:10} [.{f:3} {a:1} ] [.{b:2} [.{f:2} ] ] [.{d:5} [.{b:2} [.{a:2} ] ] [.{h:3} ] ] ] [.{d:3} [.{b:2} ] [.{a:1} {h:1} ] ] ] 12 | \end{document} -------------------------------------------------------------------------------- /tikz-gradient-descent/gradient-descent.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt]{article} 2 | 3 | \usepackage{amsmath} 4 | \usepackage{amssymb} 5 | \usepackage{subfigure} 6 | 7 | \usepackage[font=footnotesize]{caption} 8 | \usepackage{pgfplots} 9 | \usepackage{tikz} 10 | 11 | % Scriptsize axis style. 12 | \pgfplotsset{every axis/.append style={tick label style={/pgf/number format/fixed},font=\scriptsize,ylabel near ticks,xlabel near ticks,grid=major}} 13 | 14 | \begin{document} 15 | 16 | \begin{figure} 17 | \begin{tikzpicture}[samples=100,smooth] 18 | \begin{scope} 19 | \clip(-4,-1) rectangle (4,4); 20 | \draw plot[domain=0:360] ({cos(\x)*sqrt(20/(sin(2*\x)+2))},{sin(\x)*sqrt(20/(sin(2*\x)+2))}); 21 | \draw plot[domain=0:360] ({cos(\x)*sqrt(16/(sin(2*\x)+2))},{sin(\x)*sqrt(16/(sin(2*\x)+2))}); 22 | \draw plot[domain=0:360] ({cos(\x)*sqrt(12/(sin(2*\x)+2))},{sin(\x)*sqrt(12/(sin(2*\x)+2))}); 23 | \draw plot[domain=0:360] ({cos(\x)*sqrt(8/(sin(2*\x)+2))},{sin(\x)*sqrt(8/(sin(2*\x)+2))}); 24 | \draw plot[domain=0:360] ({cos(\x)*sqrt(4/(sin(2*\x)+2))},{sin(\x)*sqrt(4/(sin(2*\x)+2))}); 25 | \draw plot[domain=0:360] ({cos(\x)*sqrt(1/(sin(2*\x)+2))},{sin(\x)*sqrt(1/(sin(2*\x)+2))}); 26 | \draw plot[domain=0:360] ({cos(\x)*sqrt(0.0625/(sin(2*\x)+2))},{sin(\x)*sqrt(0.0625/(sin(2*\x)+2))}); 27 | 28 | \draw[->,blue,ultra thick] (-2,3.65) to (-1.93,3); 29 | \draw[->,blue,ultra thick] (-1.93,3) to (-1.75,2.4); 30 | \draw[->,blue,ultra thick] (-1.75,2.4) to (-1.5,1.8); 31 | \draw[->,blue,ultra thick] (-1.5,1.8) to (-1.15,1.3); 32 | 33 | \node at (-1.4,3.8){\scriptsize $w[0]$}; 34 | \node at (-1.2,3.2){\scriptsize $w[1]$}; 35 | \node at (-1.05,2.6){\scriptsize $w[2]$}; 36 | \node at (-0.8,2){\scriptsize $w[3]$}; 37 | \node at (-0.6,1.4){\scriptsize $w[4]$}; 38 | \end{scope} 39 | \end{tikzpicture} 40 | \end{figure} 41 | 42 | \end{document} -------------------------------------------------------------------------------- /tikz-hessian-backprop/hessian-backprop.tex: -------------------------------------------------------------------------------- 1 | \documentclass[twoside,11pt,a4paper]{article} 2 | 3 | \usepackage[utf8]{inputenc} 4 | \usepackage{amsmath, amssymb, latexsym} 5 | \usepackage{sidecap} 6 | 7 | \usepackage{tikz} 8 | \usetikzlibrary{decorations.pathreplacing} 9 | 10 | \begin{document} 11 | 12 | \begin{SCfigure}[\sidecaptionrelwidth][t!] 13 | \centering 14 | \begin{tikzpicture}[shorten >=1pt] 15 | \tikzstyle{unit}=[draw,shape=circle,minimum size =1.4cm] 16 | 17 | \node[unit](j) at (0,0){$y_j^{(p-1)}$}; 18 | \node[unit](i) at (2.5,1.5){$y_i^{(p)}$}; 19 | 20 | \node[unit](s) at (5,0){$y_s^{(l-1)}$}; 21 | \node[unit](r) at (7.5,1.5){$y_r^{(l)}$}; 22 | 23 | \node at (1,1.25) {$w_{ij}^{(p)}$}; 24 | \node at (6,1.25) {$w_{rs}^{(l)}$}; 25 | 26 | \draw[->] (j) -- (i); 27 | \draw[dashed] (i) -- (s); 28 | \draw[->] (s) -- (r); 29 | \end{tikzpicture} 30 | \caption[Exact evaluation of the Hessian.]{To derive an algorithm for evaluating the Hessian we consider two weights $w_{ij}^{(p)}$ and $w_{rs}^{(l)}$ where we assume that $p \leq l$. This figure illustrates the case when $p < (l - 1)$.} 31 | \label{fig:hessian} 32 | \end{SCfigure} 33 | 34 | \end{document} -------------------------------------------------------------------------------- /tikz-horizontal-alignment/horizontal-alignment.tex: -------------------------------------------------------------------------------- 1 | \documentclass[a4paper,11pt]{article} 2 | 3 | \usepackage{tikz} 4 | \usetikzlibrary{matrix} 5 | 6 | \begin{document} 7 | \begin{tikzpicture}[align=center] 8 | \matrix[matrix of nodes, 9 | nodes={rectangle, draw}, 10 | column 1/.style={anchor=base}, % base east for align right; base west for align left 11 | ]{ 12 | col1\\ 13 | col111111111\\ 14 | col1111\\ 15 | }; 16 | 17 | \end{tikzpicture} 18 | \end{document} -------------------------------------------------------------------------------- /tikz-multilayer-perceptron/multilayer-perceptron.tex: -------------------------------------------------------------------------------- 1 | \documentclass[twoside,11pt,a4paper]{article} 2 | 3 | \usepackage[utf8]{inputenc} 4 | \usepackage{amsmath, amssymb, latexsym} 5 | 6 | \usepackage{tikz} 7 | \usetikzlibrary{decorations.pathreplacing} 8 | \usetikzlibrary{fadings} 9 | 10 | \begin{document} 11 | 12 | \begin{figure}[t] 13 | \centering 14 | \begin{tikzpicture}[shorten >=1pt] 15 | \tikzstyle{unit}=[draw,shape=circle,minimum size=1.15cm] 16 | %\tikzstyle{hidden}=[draw,shape=circle,fill=black!25,minimum size=1.15cm] 17 | \tikzstyle{hidden}=[draw,shape=circle,minimum size=1.15cm] 18 | 19 | \node[unit](x0) at (0,3.5){$x_0$}; 20 | \node[unit](x1) at (0,2){$x_1$}; 21 | \node at (0,1){\vdots}; 22 | \node[unit](xd) at (0,0){$x_D$}; 23 | 24 | \node[hidden](h10) at (3,4){$y_0^{(1)}$}; 25 | \node[hidden](h11) at (3,2.5){$y_1^{(1)}$}; 26 | \node at (3,1.5){\vdots}; 27 | \node[hidden](h1m) at (3,-0.5){$y_{m^{(1)}}^{(1)}$}; 28 | 29 | \node(h22) at (5,0){}; 30 | \node(h21) at (5,2){}; 31 | \node(h20) at (5,4){}; 32 | 33 | \node(d3) at (6,0){$\ldots$}; 34 | \node(d2) at (6,2){$\ldots$}; 35 | \node(d1) at (6,4){$\ldots$}; 36 | 37 | \node(hL12) at (7,0){}; 38 | \node(hL11) at (7,2){}; 39 | \node(hL10) at (7,4){}; 40 | 41 | \node[hidden](hL0) at (9,4){$y_0^{(L)}$}; 42 | \node[hidden](hL1) at (9,2.5){$y_1^{(L)}$}; 43 | \node at (9,1.5){\vdots}; 44 | \node[hidden](hLm) at (9,-0.5){$y_{m^{(L)}}^{(L)}$}; 45 | 46 | \node[unit](y1) at (12,3.5){$y_1^{(L+1)}$}; 47 | \node[unit](y2) at (12,2){$y_2^{(L+1)}$}; 48 | \node at (12,1){\vdots}; 49 | \node[unit](yc) at (12,0){$y_C^{(L+1)}$}; 50 | 51 | \draw[->] (x0) -- (h11); 52 | \draw[->] (x0) -- (h1m); 53 | 54 | \draw[->] (x1) -- (h11); 55 | \draw[->] (x1) -- (h1m); 56 | 57 | \draw[->] (xd) -- (h11); 58 | \draw[->] (xd) -- (h1m); 59 | 60 | \draw[->] (hL0) -- (y1); 61 | \draw[->] (hL0) -- (yc); 62 | \draw[->] (hL0) -- (y2); 63 | 64 | \draw[->] (hL1) -- (y1); 65 | \draw[->] (hL1) -- (yc); 66 | \draw[->] (hL1) -- (y2); 67 | 68 | \draw[->] (hLm) -- (y1); 69 | \draw[->] (hLm) -- (y2); 70 | \draw[->] (hLm) -- (yc); 71 | 72 | \draw[->,path fading=east] (h10) -- (h21); 73 | \draw[->,path fading=east] (h10) -- (h22); 74 | 75 | \draw[->,path fading=east] (h11) -- (h21); 76 | \draw[->,path fading=east] (h11) -- (h22); 77 | 78 | \draw[->,path fading=east] (h1m) -- (h21); 79 | \draw[->,path fading=east] (h1m) -- (h22); 80 | 81 | \draw[->,path fading=west] (hL10) -- (hL1); 82 | \draw[->,path fading=west] (hL11) -- (hL1); 83 | \draw[->,path fading=west] (hL12) -- (hL1); 84 | 85 | \draw[->,path fading=west] (hL10) -- (hLm); 86 | \draw[->,path fading=west] (hL11) -- (hLm); 87 | \draw[->,path fading=west] (hL12) -- (hLm); 88 | 89 | \draw [decorate,decoration={brace,amplitude=10pt},xshift=-4pt,yshift=0pt] (-0.5,4) -- (0.75,4) node [black,midway,yshift=+0.6cm]{input layer}; 90 | \draw [decorate,decoration={brace,amplitude=10pt},xshift=-4pt,yshift=0pt] (2.5,4.5) -- (3.75,4.5) node [black,midway,yshift=+0.6cm]{$1^{\text{st}}$ hidden layer}; 91 | \draw [decorate,decoration={brace,amplitude=10pt},xshift=-4pt,yshift=0pt] (8.5,4.5) -- (9.75,4.5) node [black,midway,yshift=+0.6cm]{$L^{\text{th}}$ hidden layer}; 92 | \draw [decorate,decoration={brace,amplitude=10pt},xshift=-4pt,yshift=0pt] (11.5,4) -- (12.75,4) node [black,midway,yshift=+0.6cm]{output layer}; 93 | \end{tikzpicture} 94 | \caption[Network graph for a $(L+1)$-layer perceptron.]{Network graph of a $(L+1)$-layer perceptron with $D$ input units and $C$ output units. The $l^{\text{th}}$ hidden layer contains $m^{(l)}$ hidden units.} 95 | \label{fig:multilayer-perceptron} 96 | \end{figure} 97 | 98 | \end{document} -------------------------------------------------------------------------------- /tikz-neuron/neuron.tex: -------------------------------------------------------------------------------- 1 | \documentclass[twoside,11pt,a4paper]{article} 2 | 3 | \usepackage[utf8]{inputenc} 4 | \usepackage{amsmath, amssymb, latexsym} 5 | \usepackage{sidecap} 6 | 7 | \usepackage{tikz} 8 | \usetikzlibrary{decorations.pathreplacing} 9 | 10 | \begin{document} 11 | 12 | \begin{SCfigure}[2\sidecaptionrelwidth][t] 13 | \centering 14 | \begin{tikzpicture}[shorten >=1pt,->] 15 | \tikzstyle{unit}=[draw,shape=circle,minimum size=1.15cm] 16 | 17 | \node[unit](p) at (2,1){$y$}; 18 | \node(dots) at (-0.25,1){\vdots}; 19 | 20 | \draw (0,2.5) node[xshift=-10]{$w_0$} -- (p); 21 | \draw (0,1.75) node[xshift=-10]{$x_1$} --(p); 22 | \draw (0,0) node[xshift=-10]{$x_D$} -- (p); 23 | \draw (p) -- (3,1) node[xshift=30]{$y := f(z)$}; 24 | \end{tikzpicture} 25 | \caption[Single processing units and its components.]{Single processing unit and its components. The activation function is denoted by $f$ and applied on the actual input $z$ of the unit to form its output $y = f(z)$. $x_1, \ldots, x_D$ represent input from other units within the network; $w_0$ is called bias and represents an external input to the unit. All inputs are mapped onto the actual input $z$ using the propagation rule.} 26 | \label{fig:processing-unit} 27 | \end{SCfigure} 28 | 29 | \end{document} -------------------------------------------------------------------------------- /tikz-perceptron/perceptron.tex: -------------------------------------------------------------------------------- 1 | \documentclass[twoside,11pt,a4paper]{article} 2 | 3 | \usepackage[utf8]{inputenc} 4 | \usepackage{amsmath, amssymb, latexsym} 5 | \usepackage{sidecap} 6 | 7 | \usepackage{tikz} 8 | \usetikzlibrary{decorations.pathreplacing} 9 | 10 | 11 | \begin{document} 12 | 13 | \begin{SCfigure}[12] 14 | \centering 15 | \begin{tikzpicture}[shorten >=1pt] 16 | \tikzstyle{unit}=[draw,shape=circle,minimum size=1.15cm] 17 | 18 | \node[unit](x0) at (0,3.5){$x_0$}; 19 | \node[unit](x1) at (0,2){$x_1$}; 20 | \node(dots) at (0,1){\vdots}; 21 | \node[unit](xd) at (0,0){$x_D$}; 22 | 23 | \node[unit](y1) at (4,2.5){$y_1$}; 24 | \node(dots) at (4,1.5){\vdots}; 25 | \node[unit](yc) at (4,0.5){$y_C$}; 26 | 27 | \draw[->] (x0) -- (y1); 28 | \draw[->] (x0) -- (yc); 29 | 30 | \draw[->] (x1) -- (y1); 31 | \draw[->] (x1) -- (yc); 32 | 33 | \draw[->] (xd) -- (y1); 34 | \draw[->] (xd) -- (yc); 35 | 36 | \draw [decorate,decoration={brace,amplitude=10pt},xshift=-4pt,yshift=0pt] (-0.5,4) -- (0.75,4) node [black,midway,yshift=+0.6cm]{input layer}; 37 | \draw [decorate,decoration={brace,amplitude=10pt},xshift=-4pt,yshift=0pt] (3.5,3) -- (4.75,3) node [black,midway,yshift=+0.6cm]{output layer}; 38 | \end{tikzpicture} 39 | \caption[Network graph of a perceptron with $D$ input units and $C$ output units.]{The perceptron consists of $D$ input units and $C$ output units. All units are labeled according to their output: $y_i = f(z_i)$ in the case of output units; $x_i$ in the case of input units. The input values $x_i$ are propagated to each output unit using the weighted sum propagation rule. The additional input value $x_0 := 1$ is used to include the biases as weights.} 40 | \label{fig:perceptron} 41 | \end{SCfigure} 42 | 43 | \end{document} -------------------------------------------------------------------------------- /tikz-pooling-layer/pooling-layer.tex: -------------------------------------------------------------------------------- 1 | \documentclass[twoside,11pt,a4paper]{article} 2 | 3 | \usepackage[utf8]{inputenc} 4 | \usepackage{amsmath, amssymb, latexsym} 5 | \usepackage{sidecap} 6 | 7 | \usepackage{tikz} 8 | \usetikzlibrary{decorations.pathreplacing} 9 | 10 | \begin{document} 11 | 12 | \begin{SCfigure}[2\sidecaptionrelwidth][t!] 13 | \centering 14 | \begin{tikzpicture} 15 | \node at (1.75,4.5){\begin{tabular}{c}feature maps\\layer $(l-1)$\end{tabular}}; 16 | 17 | \draw[fill=black,opacity=0.2,draw=black] (1.5,1.5) -- (3.5,1.5) -- (3.5,3.5) -- (1.5,3.5) -- (1.5,1.5); 18 | \draw[fill=black,opacity=0.2,draw=black] (1,1) -- (3,1) -- (3,3) -- (1,3) -- (1,1); 19 | \draw[fill=black,opacity=0.2,draw=black] (0.5,0.5) -- (2.5,0.5) -- (2.5,2.5) -- (0.5,2.5) -- (0.5,0.5); 20 | \draw[fill=black,opacity=0.2,draw=black] (0,0) -- (2,0) -- (2,2) -- (0,2) -- (0,0); 21 | 22 | \draw (3.1,3.1) -- (3.4,3.1) -- (3.4,3.4) -- (3.1,3.4) -- (3.1,3.1); 23 | \draw (2.6,1.1) -- (2.9,1.1) -- (2.9,1.4) -- (2.6,1.4) -- (2.6,1.1); 24 | \draw (1.1,0.1) -- (1.4,0.1) -- (1.4,0.4) -- (1.1,0.4) -- (1.1,0.1); 25 | 26 | \draw (3.4,3.4) -- (7.8,2.8); 27 | \draw (3.4,3.1) -- (7.8,2.8); 28 | 29 | \draw (2.9,1.4) -- (7.3,1.2); 30 | \draw (2.9,1.1) -- (7.3,1.2); 31 | 32 | \draw (1.4,0.4) -- (5.9,0.3); 33 | \draw (1.4,0.1) -- (5.9,0.3); 34 | 35 | \node at (6.5,4.5){\begin{tabular}{c}feature maps\\layer $l$\end{tabular}}; 36 | 37 | \draw[fill=black,opacity=0.2,draw=black] (6.5,1.5) -- (8,1.5) -- (8,3) -- (6.5,3) -- (6.5,1.5); 38 | \draw[fill=black,opacity=0.2,draw=black] (6,1) -- (7.5,1) -- (7.5,2.5) -- (6,2.5) -- (6,1); 39 | \draw[fill=black,opacity=0.2,draw=black] (5.5,0.5) -- (7,0.5) -- (7,2) -- (5.5,2) -- (5.5,0.5); 40 | \draw[fill=black,opacity=0.2,draw=black] (5,0) -- (6.5,0) -- (6.5,1.5) -- (5,1.5) -- (5,0); 41 | \end{tikzpicture} 42 | \caption[Illustration of a pooling and subsampling layer.]{Illustration of a pooling and subsampling layer. If layer $l$ is a pooling and subsampling layer and given $m_1^{(l-1)} = 4$ feature maps of the previous layer, all feature maps are pooled and subsampled individually. Each unit in one of the $m_1^{(l)} = 4$ output feature maps represents the average or the maximum within a fixed window of the corresponding feature map in layer $(l-1)$.} 43 | \label{fig:convolutional-layer} 44 | \end{SCfigure} 45 | 46 | \end{document} -------------------------------------------------------------------------------- /tikz-precision-recall/precition-recall.tex: -------------------------------------------------------------------------------- 1 | \documentclass[twoside,11pt,a4paper]{article} 2 | 3 | \usepackage[utf8]{inputenc} 4 | \usepackage{amsmath, amssymb, latexsym} 5 | 6 | \usepackage{tikz} 7 | \usepackage{pgfplots} 8 | 9 | \begin{document} 10 | \begin{figure} 11 | \centering 12 | \begin{tikzpicture} 13 | \begin{axis}[ 14 | height=5cm, 15 | width=5cm, 16 | xlabel=Recall, 17 | ylabel=Precision, 18 | xtick={0,0.5,1}, 19 | ytick={0,0.5,1}, 20 | ymin=0, 21 | ymax=1, 22 | xmin=0, 23 | xmax=1] 24 | 25 | \addplot[fill=blue,fill opacity=0.25,blue,mark=none] coordinates { 26 | (0,1) 27 | (0.05,1) 28 | (0.1,0.95) 29 | (0.15,0.92) 30 | (0.2,0.91) 31 | (0.3,0.91) 32 | (0.4,0.91) 33 | (0.5,0.9) 34 | (0.55,0.9) 35 | (0.6,0.89) 36 | (0.65,0.87) 37 | (0.7,0.8) 38 | (0.75,0.725) 39 | (0.8,0.6) 40 | (0.85,0.25) 41 | (0.9,0.05) 42 | (0.95,0) 43 | } -| (current plot begin); 44 | \end{axis} 45 | \end{tikzpicture} 46 | \end{figure} 47 | \end{document} -------------------------------------------------------------------------------- /tikz-resolution/resolution.tex: -------------------------------------------------------------------------------- 1 | \documentclass[a4paper, 11pt]{article} 2 | 3 | \usepackage{fullpage} 4 | \usepackage{amssymb} 5 | \usepackage{amsmath} 6 | 7 | \usepackage{tikz-qtree} 8 | \usepackage{tikz} 9 | \usetikzlibrary{calc,fit,trees} 10 | 11 | \title {Logic Programming - Resolution} 12 | 13 | \begin{document} 14 | \begin{tikzpicture}[ 15 | grow'=up, 16 | level 1/.style={sibling distance=80mm}, 17 | level 2/.style={sibling distance=70mm}, 18 | level 3/.style={sibling distance=50mm} 19 | ] 20 | \node {$\square$} 21 | child {node{$\{\underline{\neg t(0,s(s(0))}\}$} 22 | child {node{$\{\underline{\neg t(s(0),s(s(s(0))))}\}$}} 23 | child {node{$\{\neg t(Z,Y),\ \underline{ t(s(Z),s(Y))}\}$}} 24 | } 25 | child { 26 | child {node {$\{\underline{t(0,s(X))}\}$}} 27 | }; 28 | \end{tikzpicture} 29 | \end{document} 30 | -------------------------------------------------------------------------------- /tikz-twolayer-perceptron/twolayer-perceptron.tex: -------------------------------------------------------------------------------- 1 | \documentclass[twoside,11pt,a4paper]{article} 2 | 3 | \usepackage[utf8]{inputenc} 4 | \usepackage{amsmath, amssymb, latexsym} 5 | \usepackage{sidecap} 6 | 7 | \usepackage{tikz} 8 | \usetikzlibrary{decorations.pathreplacing} 9 | 10 | 11 | \begin{document} 12 | 13 | \begin{SCfigure}[12][b] 14 | \centering 15 | \begin{tikzpicture}[shorten >=1pt] 16 | \tikzstyle{unit}=[draw,shape=circle,minimum size=1.15cm] 17 | 18 | \node[unit](x0) at (0,3.5){$x_0$}; 19 | \node[unit](x1) at (0,2){$x_1$}; 20 | \node(dots) at (0,1){\vdots}; 21 | \node[unit](xd) at (0,0){$x_D$}; 22 | 23 | \node[unit](y1) at (4,2.5){$y_1$}; 24 | \node(dots) at (4,1.5){\vdots}; 25 | \node[unit](yc) at (4,0.5){$y_C$}; 26 | 27 | \draw[->] (x0) -- (y1); 28 | \draw[->] (x0) -- (yc); 29 | 30 | \draw[->] (x1) -- (y1); 31 | \draw[->] (x1) -- (yc); 32 | 33 | \draw[->] (xd) -- (y1); 34 | \draw[->] (xd) -- (yc); 35 | 36 | \draw [decorate,decoration={brace,amplitude=10pt},xshift=-4pt,yshift=0pt] (-0.5,4) -- (0.75,4) node [black,midway,yshift=+0.6cm]{input layer}; 37 | \draw [decorate,decoration={brace,amplitude=10pt},xshift=-4pt,yshift=0pt] (3.5,3) -- (4.75,3) node [black,midway,yshift=+0.6cm]{output layer}; 38 | \end{tikzpicture} 39 | \caption[Network graph of a perceptron with $D$ input units and $C$ output units.]{The perceptron consists of $D$ input units and $C$ output units. All units are labeled according to their output: $y_i = f(z_i)$ in the case of output units; $x_i$ in the case of input units. The input values $x_i$ are propagated to each output unit using the weighted sum propagation rule. The additional input value $x_0 := 1$ is used to include the biases as weights. As suggested in section \ref{subsec:layered-networks} the units are assembled in layers.} 40 | \label{fig:perceptron} 41 | \end{SCfigure} 42 | 43 | \end{document} -------------------------------------------------------------------------------- /tikz-vae/vae.tex: -------------------------------------------------------------------------------- 1 | \documentclass[a4paper,12pt]{article} 2 | 3 | \usepackage{subcaption} 4 | \usepackage{pgfplots} 5 | \usepackage{tikz} 6 | 7 | \begin{document} 8 | 9 | \begin{figure} 10 | \begin{subfigure}[t]{0.48\textwidth} 11 | \centering 12 | \begin{tikzpicture} 13 | 14 | \node[rectangle,rounded corners=0.05cm,draw=black,minimum width=2cm,minimum height=3.5cm] (M) at (0.25, -1){}; 15 | \node[above left] at (M.south east){$M$}; 16 | \node[circle,draw=black,minimum size=1cm] (z) at (0,0){$z$}; 17 | \node[circle,draw=black,minimum size=1cm] (y) at (0,-2){$y$}; 18 | \node[] (w) at (-2,0){$w$}; 19 | 20 | \draw[->] (w) -- (z); 21 | \draw[->] (y) -- (z); 22 | 23 | \end{tikzpicture} 24 | \caption{} 25 | \end{subfigure}\hfill 26 | \begin{subfigure}[t]{0.48\textwidth} 27 | \centering 28 | \begin{tikzpicture} 29 | 30 | \node[rectangle,rounded corners=0.05cm,draw=black,minimum width=2cm,minimum height=3.5cm] (M) at (0.25, -1){}; 31 | \node[above left] at (M.south east){$M$}; 32 | \node[circle,draw=black,minimum size=1cm] (z) at (0,0){$z$}; 33 | \node[circle,draw=black,minimum size=1cm] (y) at (0,-2){$y$}; 34 | \node[] (w) at (2,0){$w$}; 35 | 36 | \draw[->] (w) -- (z); 37 | \draw[->] (w) -- (y); 38 | \draw[->] (z) -- (y); 39 | 40 | \end{tikzpicture} 41 | \caption{} 42 | \end{subfigure} 43 | \end{figure} 44 | 45 | \begin{figure} 46 | \centering 47 | \begin{subfigure}[t]{0.48\textwidth} 48 | \centering 49 | \begin{tikzpicture} 50 | 51 | \node[rectangle,rounded corners=0.05cm,draw=black,minimum width=2cm,minimum height=3.5cm] (M) at (0.25, -1){}; 52 | \node[above left] at (M.south east){$M$}; 53 | \node[circle,draw=black,minimum size=1cm] (z) at (0,0){$z$}; 54 | \node[circle,draw=black,minimum size=1cm] (y) at (0,-2){$y$}; 55 | \node[] (w) at (-2,0){$w$}; 56 | 57 | \draw[->] (w) -- (z); 58 | \draw[->] (y) -- (z); 59 | 60 | \draw[-,dashed] (1.75,-3.1) -- (1.75,1.1); 61 | 62 | \node[rectangle,rounded corners=0.05cm,draw=black,minimum width=2cm,minimum height=3.5cm] (M) at (3.25, -1){}; 63 | \node[above left] at (M.south east){$M$}; 64 | \node[circle,draw=black,minimum size=1cm] (z) at (3,0){$z$}; 65 | \node[circle,draw=black,minimum size=1cm] (y) at (3,-2){$y$}; 66 | \node[] (w) at (5,0){$w$}; 67 | 68 | \draw[->] (w) -- (z); 69 | \draw[->] (w) -- (y); 70 | \draw[->] (z) -- (y); 71 | 72 | \end{tikzpicture} 73 | \caption{} 74 | \end{subfigure}\hfill 75 | \begin{subfigure}[t]{0.48\textwidth} 76 | \centering 77 | \begin{tikzpicture} 78 | 79 | \node[rectangle,rounded corners=0.05cm,draw=black,minimum width=2cm,minimum height=5.5cm] (M) at (0.25, -2){}; 80 | \node[above left] at (M.south east){$N$}; 81 | \node[circle,draw=black,minimum size=1cm] (z) at (0,0){$z$}; 82 | \node[circle,draw=black,minimum size=1cm] (y) at (0,-2){$y$}; 83 | \node[circle,draw=black,minimum size=1cm] (x) at (0,-4){$x$}; 84 | \node[] (w) at (-2,0){$w$}; 85 | 86 | \draw[->] (w) -- (z); 87 | %\draw[->] (y) -- (z); 88 | \draw[->,dashed] (x) -- (y); 89 | \draw[->] (x) to [out=45,in=315](z); 90 | 91 | \draw[-,dashed] (1.75,-5.1) -- (1.75,1.1); 92 | 93 | \node[rectangle,rounded corners=0.05cm,draw=black,minimum width=2cm,minimum height=5.5cm] (M) at (3.25, -2){}; 94 | \node[above left] at (M.south east){$N$}; 95 | \node[circle,draw=black,minimum size=1cm] (z) at (3,0){$z$}; 96 | \node[circle,draw=black,minimum size=1cm] (y) at (3,-2){$y$}; 97 | \node[circle,draw=black,minimum size=1cm] (x) at (3,-4){$x$}; 98 | \node[] (w) at (5,0){$w$}; 99 | 100 | \draw[->] (w) -- (z); 101 | \draw[->] (w) -- (y); 102 | \draw[->] (w) -- (x); 103 | \draw[->] (z) -- (y); 104 | \draw[->] (y) -- (x); 105 | 106 | \end{tikzpicture} 107 | \caption{} 108 | \end{subfigure} 109 | \end{figure} 110 | 111 | \end{document} -------------------------------------------------------------------------------- /tikz-voronoi-cells/points.txt: -------------------------------------------------------------------------------- 1 | -0.5 2.5 2 | 1 4 3 | 4 1 4 | 2 6 5 | 3 5 6 | 4 3 7 | 6 2 8 | 8 3.5 9 | 7 1 10 | -------------------------------------------------------------------------------- /tikz-voronoi-cells/voronoi.tex: -------------------------------------------------------------------------------- 1 | \documentclass[twoside,11pt,a4paper]{article} 2 | 3 | \usepackage[utf8]{inputenc} 4 | \usepackage{amsmath, amssymb, latexsym} 5 | 6 | \usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry} 7 | \usepackage{pgfplots} 8 | \usepackage{tikz} 9 | \usetikzlibrary{decorations.pathreplacing} 10 | \usetikzlibrary{fadings} 11 | 12 | \begin{document} 13 | 14 | \begin{figure} 15 | \centering 16 | \begin{tikzpicture} 17 | \begin{axis}[ 18 | axis equal image, 19 | ticks=none, 20 | height=6cm, 21 | width=10cm, 22 | ] 23 | \addplot [only marks, black] table {points.txt}; 24 | \addplot [only marks, blue] (4.25,6); 25 | \addplot [no markers, update limits=false] table {voronoi.txt}; 26 | \addplot [no markers, blue] coordinates {(4.25,6) (3,5)}; 27 | \node [below] at (axis cs: 4.9, 6.35) {{\color{blue} $y_{l,n}$}}; 28 | \node [below] at (axis cs: 3, 4.9) {$\hat{y}_m$}; 29 | \end{axis} 30 | \end{tikzpicture} 31 | \end{figure} 32 | 33 | \begin{figure} 34 | \centering 35 | \begin{tikzpicture} 36 | \begin{axis}[ 37 | axis equal image, 38 | ticks=none, 39 | height=6cm, 40 | width=10cm, 41 | ] 42 | 43 | \addplot [only marks, black] table {points.txt}; 44 | \addplot [only marks, blue] (3.2,6); 45 | \addplot [no markers, update limits=false] table {voronoi.txt}; 46 | \addplot [no markers, blue] coordinates {(3.2,6) (3,5)}; 47 | \addplot [no markers, blue, opacity=0.75] coordinates {(3.2,6) (2,6)}; 48 | \node [below] at (axis cs: 3.85, 6.35) {{\color{blue} $y_{l,n}$}}; 49 | \node [below] at (axis cs: 3, 4.9) {$\hat{y}_m$}; 50 | \node [below] at (axis cs: 2, 6) {$\hat{y}_{m'}$}; 51 | \end{axis} 52 | \end{tikzpicture} 53 | \end{figure} 54 | \end{document} -------------------------------------------------------------------------------- /tikz-voronoi-cells/voronoi.txt: -------------------------------------------------------------------------------- 1 | 1.750000 1.750000 2 | -4.500000 8.000000 3 | 4 | 1.750000 1.750000 5 | 2.000000 2.000000 6 | 7 | 1.833333 4.833333 8 | -4.500000 8.000000 9 | 10 | 2.500000 3.500000 11 | 1.833333 4.833333 12 | 13 | 1.833333 4.833333 14 | 7.321429 10.321429 15 | 16 | 2.000000 2.000000 17 | 2.500000 3.500000 18 | 19 | 4.750000 2.000000 20 | 2.000000 2.000000 21 | 22 | 2.500000 3.500000 23 | 5.764706 5.132353 24 | 25 | 5.500000 0.500000 26 | 4.750000 2.000000 27 | 28 | 4.750000 2.000000 29 | 5.875000 4.250000 30 | 31 | 5.764706 5.132353 32 | 7.321429 10.321429 33 | 34 | 5.875000 4.250000 35 | 5.764706 5.132353 36 | 37 | 7.321429 2.321429 38 | 5.875000 4.250000 39 | 40 | 5.500000 0.500000 41 | 7.321429 2.321429 42 | 43 | 1.750000 1.750000 44 | -2.208880 -10.126640 45 | 46 | 5.500000 0.500000 47 | 5.500000 -12.834652 48 | 49 | -4.500000 8.000000 50 | -20.171705 19.194075 51 | 52 | 7.321429 10.321429 53 | 14.075792 26.531902 54 | 55 | 7.321429 2.321429 56 | 19.969519 -2.737808 57 | 58 | -------------------------------------------------------------------------------- /tikz-voronoi-cells/voronoi_sample.m: -------------------------------------------------------------------------------- 1 | points = dlmread('points.txt'); 2 | [vx,vy]=voronoi(points(:,1), points(:,2)); 3 | fid = fopen('voronoi.txt', 'w'); 4 | fprintf(fid, '%f, %f\n%f %f\n\n', [vx(:), vy(:)]'); 5 | fclose(fid); 6 | fid = fopen('voronoi.txt', 'w'); 7 | fprintf(fid, '%f %f\n%f %f\n\n', [vx(:), vy(:)]'); 8 | fclose(fid); --------------------------------------------------------------------------------