LATEX(oh) LOCAL LATEX(oh) (La)TeX - usage, tips and resources. CONVERSION texi2pdf -c --max-iterations=MAX_ITERATIONS FILENAME BASIC DOCUMENT \documentclass{CLASS} %comments %common classes: book, article \title{TITLE} \author{AUTHOR} \begin{document} \tableofcontents \section{SECTION_NAME} \subsection{SUBSECTION_NAME} \begin{itemize} \item First item \item Second item \item Third item \end{itemize} \begin{itemize} \item First item \item Second item \begin{itemize} \item First sub-item \item Second sub-item \begin{itemize} \item First sub-sub-item \item Second sub-sub-item \end{itemize} \end{itemize} \item Third item \end{itemize} \enddocument{document} PACKAGES To use extra packages for various formatting options: \usepackage{PACKAGENAME} Parameters can be set when using the package: \usepackage[PARAMETERS]{PACKAGE_NAME} geometry This package is needed for margins and paper type and layout. Eg.: \usepackage{geometry} \geometry{margin=0.5in} \geometry{letterpaper} Or in a single line: \geometry{legalpaper, landscape, margin=0.5in} The options can also be set when using the package: \usepackage[paperwidth=.5aperwidth,paperheight=.25aperheight]{geometry} parskip This is needed for paragraph management, eg.: spacing: \usepackage[parfill]{parskip} hyperref Needed for urls: display url : \url{URL} display link : \href{URL}{DISPLAY_TEXT} lastpage If Last page is used, the file needs to be processed twice to insert the last page number. fancyhdr Needed to set headers and footers. \pagestyle{fancy} \fancyfoot[R]{\thepage\ - \pageref{LastPage}} position : L,C,R Current page : \thepage Last Page : \pageref{LastPage} graphicx Needed to use images: \includegraphics{FILENAME} If the file is not in the current path, before including the file: \graphicspath{ {GRAPHICS_PATH/} } CHARACTERS > : \textgreater < : \textless n : \~n i : \'i COLOURS {\color{COLOR}TEXT} TODO - Add sample file. - Check whether title and author can be displayed on PDF viewers. (This can be done on PS) SEE ALSO postscript(oh) , pdf(oh) , documentation(oh) - Archlinux manpages: texi2pdf(1) links - TeX Users Group: https://tug.org/ - CTAN - Comprehensive TeX Archive Network: https://ctan.org/ - TUG - Resources and packages: https://www.tug.org/interest.html#free - LaTeX Project - Documentation: https://www.latex-project.org/help/documentation/ - Overleaf - LaTeX documentation: https://www.overleaf.com/learn - MiKTeX - Windows TeX implementation: https://miktex.org/ AUTHORS ohazot(oh) | about(oh) | ohazot.com: https://ohazot.com linux , OpenBSD 7.8 | Created:2026-03-30|Updated:2026-03-30| LATEX(oh)