tex
- Sarah Magnan
- Vincent Moisan
- S V
- Loraine Furter
- An introduction to Tex: http://makingtexwork.sourceforge.net/mtw/pt01.html
- The Tex catalogue online: ftp://ftp.riken.go.jp/CTAN/help/Catalogue/brief.html
- Comprehensive TeX Archive Network: http://www.ctan.org/
Stuff to look at:
- \usepackage{mftinc}
- \scriptsize
- \pagestyle{empty}
- \raggedcolumns
\begin{tabbing}→tabulation ! http://tex.stackexchange.com/questions/15866/setting-tabs-by-declaration-rather-than-by-example- \raggedcolumns ??
Document structure
You should think the structure and the layout as for web. Define boxes, areas as footer, header, margins, body. You will then fill those areas with elements as text area, columns…
- \documentclass
- \usepackage
- \begin{document}
- \begin{header}
- \end{header}
- \begin{footer}
- \end{footer}
- \end{document}
Syntax
- \noindent → no indent
- \vspace{.5cm} → add vetical space {dimension}
- \hspace{.5cm} → add horizontal space {dimension}
- \hrulefill → add horizontal line (default size)
- \\ → line break
Examples
pdf/tex/dvi generator online (from Simon): http://wrttdwn.com/IDD/demo/idea1.html
A0 poster 2 column layout: http://www.latextemplates.com/template/a0poster-portrait-poster
Layout
http://git.constantvzw.org/?p=relearn.gesturing-paths.git;a=blob_plain;f=iceberg/tex-posterA0-layout.png;h=f54fb65e6683db417bccce54a0a6c12d59338d16;hb=HEAD
How it’s supposed work: http://en.wikibooks.org/wiki/LaTeX/Page_Layout
Layout package: how to draw package in a document… not design the layout document itself… http://www.ctan.org/tex-archive/macros/latex/contrib/layouts
http://git.constantvzw.org/?p=relearn.gesturing-paths.git;a=blob_plain;f=iceberg/tex-layout-package.png;h=9535e8ad24848ddda17a6310c6faaf21e3cd9fce;hb=HEAD
Layout diagram with layouts package.
http://git.constantvzw.org/?p=relearn.gesturing-paths.git;a=blob_plain;f=iceberg/Screenshot+from+2013-08-30+17:05:57.png;h=7757cac69e5210143ce79b0219f1f84138a5edb1;hb=HEAD
Document layout with layouts package.
Multi-column
Basically, Multicol packpage deals the content considering the number of columns you want.You need to force column break if you want to control what’s in each column.
Package needed:
- \usepackage{multicol}
Syntax (with column break):
- \begin{multicols}{2} % {2} indicates the number of columns you want.
- first column
- \vfill
- \columnbreak
- second column
- \end{multicols}
How to force column break: http://tex.stackexchange.com/questions/8683/how-do-i-force-a-column-break-in-a-multi-column-page
Examples of issue:
- http://tex.stackexchange.com/questions/61624/adjusting-column-width-in-latex-with-the-multicol-package
- http://webcache.googleusercontent.com/search?q=cache:aerlVMMzS08J:www.tex.ac.uk/ctan/macros/latex/required/tools/multicol.pdf+&cd=1&hl=fr&ct=clnk&gl=be
How to import an .eps image
http://www.andy-roberts.net/writing/latex/importing_images- %% package to call :
- \usepackage{graphicx}
- %% syntax
- \begin{document}
- \begin{center}
- %% call an image with: includegraphics {path/imagenamewithoutextention}
- \includegraphics{chick}
- \end{center}
- %% you can scale the image by a constant scale factor (0.5, for example, to reduce by half)
- \begin{center}
- \includegraphics[scale=0.5]{path/imagenamewithoutextention}
- \end{center}
- %% or specify a lengths
- \begin{center}
- \includegraphics[width=2.5cm]{path/imagenamewithoutextention}
- \end{center}
- %% or crop the image :)
- %% the dimensions are from left - bottom - right - top
- %% \includegraphics[trim = left bottom right top, clip=true, width=3cm]
- \begin{center}
- \includegraphics[trim = 10mm 80mm 20mm 5mm, clip=true, width=3cm]{path/imagenamewithoutextention}
- \end{center}