Specific header settings of Emacs org-mode for LaTex export

#+LATEX_HEADER: \usepackage[margin=1.0in]{geometry}
#+LATEX_HEADER: \usepackage[numbers,sort&compress,square]{natbib}
#+latex_header: \usepackage{glossaries}
#+latex_header: \makeglossaries
#+latex_header: \usepackage{setspace} \singlespacing
#+latex_header: \usepackage{enumitem}
#+latex_header: \setlist[itemize]{noitemsep, topsep=0pt}
#+latex_header: \setlist[enumerate]{noitemsep, topsep=0pt}
#+OPTIONS: d:nil ^:nil H:2 toc:nil
  • 1st line: setting all four side margins, 1 inch.
  • 2nd line: natbib setup for numbered references of which citation is sorted and compressed, i.e., instead of [1,2,3,4] it will show [1-4].
  • 3rd and 4th: nomenclature setup
  • 5th line: linespacing setup, single and double
  • 6th and 7th lines: setting line gaps between enumerated and itemized ones zero.

About albertsk

University of Hawaii professor
This entry was posted in Blog and tagged , , . Bookmark the permalink.