tips for Stata LaTeX and other useful resources for economists
Search
Stata resources
All Stata posts
Various StataTips
LaTeX Resources
All LaTeX Posts
Various LaTeXTips
About
Privacy Policy
Newsletter
Category:
#LaTeXTips
#LaTeXTips
#LaTeXTip: ignore slide for calculating total number of slides (handy for, e.g., appendix slides): \begin{frame}[noframenumbering]
#LaTeXTips
#LatexTip: to avoid #LaTeX breakin words over two lines, use \mbox{nolinebreakword}. To suggest hyphenation, use “\-” (e.g., “cau\-sal”)
#LaTeXTips
#LaTeXTip: tilde is not writen by $\tilde$ but by $\infty$
#LaTeXTips
#LaTeXTip: To write i and j without dots so that dots and (e.g.) \widehat do not interfere, use \i and \j (does not require math mode)
#LaTeXTips
#LaTeXtip: to reset page numbers write \setcounter{page}{0}, to increment by 2 pages write \addtocounter{page}{2}, and to change styles write \renewcommand{\thepage}{\roman{page}} and use either roman (I, II etc), alph (a, b etc), Alph (A, B etc) or arabic (1, 2 etc)
#LaTeXTips
#LaTeXTip: To insert an empty space with the same size as a word (say “hi”), write “\phantom{hi}” – might be useful for small quizzes or tests
#LaTeXTips
#LaTeXTip: use the –aspectratio=169– option to fit your #beamertex slide to most modern projectors (and screeens!): \documentclass[aspectratio=169]{beamer}
#LaTeXTips
#LaTeXTip: use \beamertemplatenavigationsymbolsempty in the preamble to hide beamertex’s menu buttons
#LaTeXTips
#LaTeXTip: use the [hidelinks] option in the preamble to remove borders around cross-references in your LaTeX document — use “\usepackage[hidelinks]{hyperref}”
#LaTeXTips
#LaTeXTip: remove equation numbering for separate lines by adding “\notag” before \\ in the align environment. Use \begin{align*} and \end{align*} to switch off numbering entirely