From 012e447124d5e01f851dcfe6fd886dd9d1d255a2 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Fri, 15 Jan 2016 08:19:16 -0800 Subject: [PATCH] update latex shell --- templates/latex_shell.Rnw | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/templates/latex_shell.Rnw b/templates/latex_shell.Rnw index 0957b91..4602317 100644 --- a/templates/latex_shell.Rnw +++ b/templates/latex_shell.Rnw @@ -24,7 +24,7 @@ \usepackage{pdflscape} \usepackage[backend=biber,natbib=true,hyperref=true,style=numeric-comp]{biblatex} \addbibresource{references.bib} -%\usepackage[noblocks]{authblk} +%\usepackage[noblocks,auth-sc]{authblk} \usepackage[hyperfigures,bookmarks,colorlinks]{hyperref} %\usepackage[hyperfigures,bookmarks,colorlinks,citecolor=black,filecolor=black,linkcolor=black,urlcolor=black]{hyperref} % Floats at end for journals @@ -37,7 +37,11 @@ \usepackage{texshade} \usepackage{tikz} \usepackage{nameref} +\usepackage{xspace} +% this package will stretch the font slightly if necessary. +\usepackage{microtype} \usepackage{zref-xr,zref-user} +\usepackage[capitalize]{cleveref} \newenvironment{narrow}[2]{% \begin{list}{}{% \setlength{\topsep}{0pt}% @@ -69,15 +73,19 @@ \setlength{\parskip}{0pt}}% {\end{itemize}} \oddsidemargin 0.0in -\textwidth 6.5in +\textwidth 6in \raggedbottom \clubpenalty = 10000 \widowpenalty = 10000 +\setlength{\emergencystretch}{20em} +\renewcommand\Affilfont{\itshape\small} +\renewcommand\cite[1]{\autocite{#1}} \pagestyle{fancy} \author{AUTHOR} \title{TITLE} \date{\ } \onehalfspacing +% \doublespacing \begin{document} -- 2.39.2