170 likes | 423 Views
LaTeX. Guðný Ragna Jónsdóttir Research Methodology. Templates. RU Master Thesis template Conference paper templates Springer http://www.springer.com/computer/lncs?SGWID=0-164-7-72376-0. Document. documentclass [12pt]{report} usepackage { amsmath } usepackage [figure]{algorithm2e}
E N D
LaTeX Guðný Ragna Jónsdóttir Research Methodology
Templates • RU Master Thesis template • Conference paper templates • Springer http://www.springer.com/computer/lncs?SGWID=0-164-7-72376-0
Document \documentclass[12pt]{report} \usepackage{amsmath} \usepackage[figure]{algorithm2e} \usepackage .... \begin{document} \tableofcontents \listoffigures \listoftables \startTR \input{01.introduction} \input{architecture} \input{experiments} \bibliographystyle{apacite} \bibliography{bib2} %% If appendices are required, put them here \appendix \input{appendixquestions} \end{document}
Chapters and Sections • \chapter{chaptername}\label{for_reference} • \section{Evaluation}\label{sec:eval3} • \subsection{Some subsection} • \subsubsection{... • %comment
Labels and References • \label{lablename} • For figures, tables, chapters etc. • \ref{labelname} • (see Figure \ref{fig:learnpeople}) • In Section \ref{sec:evalpeople} the agent is … • Table \ref{table:questions} lists a sample of …
Figures \begin{figure} \centering \includegraphics[width=8cm]{actorcritic} \caption{Sutton's Actor-Critic method.} \label{fig:actorcritic} \end{figure} \begin{figure} \resizebox{\textwidth}{!}{\rotatebox{-90}{\includegraphics{modules}}} \caption[Systems modules and messages.]{Flat layout of message passing between modules.} \label{fig:modules} \end{figure}
Tables \begin{table}[ht] \caption{Evaluated conditions.} \centering \begin{tabular}{l c c} \hline\hline & Fixed & Learning \\ \hline Without cancel region & (1)(2) & (4) \\ With cancel region & (3) & (5) \\ \hline \end{tabular} \label{table:conditions} \end{table}
Algorithms • \usepackage[option]{algorithm2e} • http://www.ctan.org/tex-archive/macros/latex/contrib/algorithm2e/algorithm2e.pdf
Algorithms \begin{algorithm} \dontprintsemicolon \KwSty{Module: I-Give-Turn.Timeout.Region} \; \Indp \KwSty{Context: DiP.I-give-turn} \; \Indp \KwSty{Start: } \ArgSty{Psyclone.Context:DiP.I-give-turn} \; \KwSty{Stop: } \ArgSty{Psyclone.Context:DiP.*} \; \KwSty{Trigger: } \; \KwSty{TimeOut:} \ArgSty{3000} \; \KwSty{PostOnTimeOut:} \ArgSty{Unim.Sense.Timeout.I-Give-Turn} \; \KwSty{PostOnTrigger:} \; \BlankLine \BlankLine \caption{Configuration for I-Give-Turn Timeout Region} \label{alg:regionIGT} \end{algorithm}
Bibfile @inproceedings{raux07, Address = {Kyoto, Japan}, Author = {Antoine Raux and Maxine Eskenazi }, Booktitle = {ASRU}, Pages = {514-519}, Title = {A multi-layer architecture for semi-synchronous event-driven dialogue management}, Year = {2007} } @article{walker00, Author = {Marilyn A. Walker}, Journal = {Journal of Artificial Intelligence Research}, Pages = {387-416}, Title = {An Application of Reinforcement Learning to Dialogue Strategy Selection in a Spoken Dialogue System for Email}, Url = {citeseer.ist.psu.edu/walker00application.html}, Volume = {12}, Year = {2000} }
Citations • Raux and Eskenazi \cite{raux08} presented ... • \citeyear • \shortcite
Bibliography %% Uses apacite bib style \bibliographystyle{apacite} %apacite.bst file \bibliography{bib2} %bib2.bib file
Formulas \begin{equation} Decision : \{a,s_{1-n},l\} \mbox{ where } s_{1-n} \subseteq S \mbox{ and } a \in A(s) \mbox{ and } l \in \mathbb{N} \end{equation} \begin{equation} Q (s_t,a_t) \leftarrow Q (s_t,a_t) + \alpha[r_{t+1} + \gamma \underset{a}{maxQ} (s_{t+1},a) - Q(s_t,a_t)] \end{equation}
Other Tricks • \footnote{some text} • Build file – Build BibTex – Build file – Build file • No joke! • Use \ to deprecate double space after a period Traum et al.\ \cite{TRAUM96} and others … Traum et al. (1996)
Class Project • Get the Springer sample template • Download typeinst.zip • 1) Set it up to use somefile.bib instead of bibitem • 2) Set it up to use the lncs bibstyle • 3) Set it up to use apacite