Skip to content

Instantly share code, notes, and snippets.

@dansheffler
Last active September 13, 2015 15:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dansheffler/d32dbbaede6150b087e1 to your computer and use it in GitHub Desktop.
Save dansheffler/d32dbbaede6150b087e1 to your computer and use it in GitHub Desktop.
Definition Lists in MD to PDF
\usepackage[shortlabels]{enumitem}
\setlist[description]{%
labelindent=0.5in,%
leftmargin=0.5in,%
rightmargin=0.5in,%
itemsep=12pt%
}
% Put a colon after description labels
\renewcommand{\descriptionlabel}[1]{%
\hspace\labelsep \upshape\textbf{#1}:%
}
% Get rid of the explicit \itemsep declaration in Pandoc's
% \tightlist command
\providecommand{\tightlist}{\setlength{\parskip}{0pt}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment