Skip to content

Commit

Permalink
Merge pull request #124 from krivit/elsart_formatting
Browse files Browse the repository at this point in the history
elsarticle formatting
  • Loading branch information
jjallaire committed Jun 12, 2017
2 parents f54e466 + bf16391 commit b3b2a59
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions inst/rmarkdown/templates/elsevier_article/resources/template.tex
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,6 @@
\biboptions{sort&compress} % For natbib
\usepackage{graphicx}
\usepackage{booktabs} % book-quality tables
%% Redefines the elsarticle footer
%\makeatletter
%\def\ps@pprintTitle{%
% \let\@oddhead\@empty
% \let\@evenhead\@empty
% \def\@oddfoot{\it \hfill\today}%
% \let\@evenfoot\@oddfoot}
%\makeatother

% A modified page layout
\textwidth 6.75in
\oddsidemargin -0.15in
\evensidemargin -0.15in
\textheight 9in
\topmargin -0.5in
%%%%%%%%%%%%%%%% end my additions to header

\usepackage[T1]{fontenc}
Expand Down Expand Up @@ -128,9 +113,7 @@
% avoid problems with \sout in headers with hyperref:
\pdfstringdefDisableCommands{\renewcommand{\sout}{}}
$endif$
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}
\setlength{\emergencystretch}{3em} % prevent overfull lines

$if(numbersections)$
\setcounter{secnumdepth}{5}
$else$
Expand All @@ -157,8 +140,7 @@
$header-includes$
$endfor$


\usepackage[nomarkers]{endfloat}
$preamble$

\begin{document}
\begin{frontmatter}
Expand Down

0 comments on commit b3b2a59

Please sign in to comment.