Last active
September 9, 2017 20:49
-
-
Save vichango/6000693 to your computer and use it in GitHub Desktop.
Scrivener LaTeX Compile options
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
\usepackage{authblk} | |
\title{\mytitle} | |
\author[*]{\myauthor} | |
\affil[*]{\affiliation} | |
% To remove the date | |
\date{} | |
\begin{document} | |
\maketitle | |
\tableofcontents |
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
\documentclass[a4paper, 12pt]{report} | |
\usepackage[T1]{fontenc} | |
\usepackage[utf8]{inputenc} | |
\usepackage[english]{babel} | |
\usepackage{verbatim} | |
\usepackage{amsmath} | |
\usepackage{graphicx} | |
\graphicspath{{images/}} | |
% Controls the percentage of text/float (fig & tables) per page | |
% \setcounter{topnumber}{2} | |
% \setcounter{bottomnumber}{2} | |
\setcounter{totalnumber}{4} | |
% \renewcommand{\topfraction}{0.85} | |
% \renewcommand{\bottomfraction}{0.85} | |
\renewcommand{\textfraction}{0.15} | |
\renewcommand{\floatpagefraction}{0.7} | |
% Enables subsubsections numbering and in TOC | |
\setcounter{secnumdepth}{3} | |
\setcounter{tocdepth}{3} | |
% Adds a TODO list | |
\usepackage{todo} | |
\renewcommand{\todoname}{TODO List} | |
% Mark changes in between drafts | |
\usepackage{changebar} | |
% Necessary for the \citep command | |
\usepackage[square, comma]{natbib} | |
% Necessary to compile MMD tables | |
\usepackage{tabulary} | |
\usepackage{booktabs} | |
% Necessary for the \autoref to work! | |
\usepackage[pdfborder={0 1 1 [0]}, colorlinks=true]{hyperref} | |
% Change the \autoref section labels | |
\addto\extrasenglish{% | |
\def\subsectionautorefname{section}% | |
\def\subsubsectionautorefname{section}% | |
} | |
% New command for concepts verbatim formatting | |
\newcommand{\concept}[1]{{\small\texttt{#1}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment