Skip to content

Instantly share code, notes, and snippets.

@mildsunrise
Last active May 5, 2023 13:07
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 mildsunrise/6795412 to your computer and use it in GitHub Desktop.
Save mildsunrise/6795412 to your computer and use it in GitHub Desktop.
My boilerplate LaTeX source file.
\documentclass[LANGUAGE,OPTIONS]{CLASS}
% encoding
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{babel}
% formatting and fixes
\frenchspacing
\usepackage{csquotes}
\MakeAutoQuote{«}{»}
% general design preferences (page, paragraph indent/space, margins, class options, ...)
%%\setlength{\parskip}{10pt}
%%\pagestyle{plain}
% ADD ANY SPECIFIC PACKAGES HERE
% (CHEMISTRY, CODE, PUBLISHING)
%%\usepackage{chemfig}
% other options
% hyperlink setup / metadata
\usepackage{hyperref}
\AfterPreamble{\hypersetup{
%%pdfauthor={},
%%pdftitle={},
%%pdfsubject={},
}}
% document metadata
%%\author{}
%%\title{}
%%\date{}
\begin{document}
YOUR CONTENT GOES HERE
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment