Monday, 6 July 2015

Latex Papers Survival Guide

Every now and then I spend hours of my time wrestling with Latex documents to get them to do my bidding.  I'll try to keep a record of any useful hints and tips here.

Text Highlighting:

To highlight paragraphs of text, including references:

\usepackage{color,soul}

...and then when you get to the text you want to highlight, simply add \hl{...}.  To ensure that references behave properly when using the \cite{} suite, put it inside an \mbox{} command.  I.e., use \mbox{\citep[][]{87andrews}}.


No comments:

Post a Comment