Last active
August 29, 2015 14:01
-
-
Save poltak/6ed59e8f30c9c399143f to your computer and use it in GitHub Desktop.
Personal LaTeX Macros
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\ProvidesPackage{poltakmacros} | |
\RequirePackage[utf8]{inputenc} % Used for correct fromatting of unicode symbol § in output. | |
% Personal macros. | |
\newcommand{\vs}[2]{#1 \emph{vs.}\ #2} | |
\newcommand{\etal}{\emph{et al.}\ } | |
\newcommand{\ie}{\emph{i.e.}\ } | |
\newcommand{\eg}{\emph{e.g.}\ } | |
\newcommand{\sectref}[1]{§\ref{#1}} | |
\newcommand{\figref}[1]{Figure~\ref{#1}} | |
\newcommand{\tabref}[1]{Table~\ref{#1}} | |
\newcommand{\equref}[1]{Equation~\ref{#1}} | |
\newcommand{\algoref}[1]{Algorithm~\ref{#1}} | |
\newcommand{\appref}[1]{\textbf{Appendix~\ref{#1}}} | |
\newcommand{\listref}[1]{(\ref{#1})} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment