Skip to content

Instantly share code, notes, and snippets.

@eugenius1
Last active May 30, 2017 13:06
Show Gist options
  • Save eugenius1/7f24a0cccc9b6d5eb55458a7c4ca5563 to your computer and use it in GitHub Desktop.
Save eugenius1/7f24a0cccc9b6d5eb55458a7c4ca5563 to your computer and use it in GitHub Desktop.
My LaTeX customisations - minted, ceiling & floor, et al., image directory
\usepackage[super]{nth}
% code with syntax highlighting
\usepackage{minted}
\usemintedstyle{}
\setminted[C]{
tabsize=4,
linenos=true,
frame=lines,
fontsize=\footnotesize
}
\usepackage{graphicx}
\graphicspath{ {images/} }
\newcommand\etal{\textit{et al.}}
% \ceil*{} and \floor*{}
% https://tex.stackexchange.com/questions/118173/how-to-write-ceil-and-floor-in-latex
\usepackage{mathtools}
\DeclarePairedDelimiter\ceil{\lceil}{\rceil}
\DeclarePairedDelimiter\floor{\lfloor}{\rfloor}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment