From 05d1ef384bc4ad060469013674e12c9e581a265c Mon Sep 17 00:00:00 2001 From: svmiller Date: Tue, 7 May 2024 15:22:04 +0200 Subject: [PATCH] sfsfsfsfs --- NEWS.md | 3 +- .../templates/article3/resources/template.tex | 94 ++++++++++--------- 2 files changed, 50 insertions(+), 47 deletions(-) diff --git a/NEWS.md b/NEWS.md index d8c1172..e6f6cbe 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,7 @@ -# stevetempaltes 1.1.0 +# stevetemplates 1.1.0 - `word` now has a custom footnote style, which simply decreases the font size from 12 to 9. +- `article3` no longer has a hypothesis theorem hard-coded to it. `{bookdown}` can do that, if you need it. Rationale: you also won't need it for the simplest of simple cases, or could add one yourself by way of `header-includes:`. # stevetemplates 1.0.0 diff --git a/inst/rmarkdown/templates/article3/resources/template.tex b/inst/rmarkdown/templates/article3/resources/template.tex index b7509df..902ccad 100644 --- a/inst/rmarkdown/templates/article3/resources/template.tex +++ b/inst/rmarkdown/templates/article3/resources/template.tex @@ -514,8 +514,10 @@ - -\newtheorem{hypothesis}{Hypothesis} +% Disabling this as of 7 May 2024 +% Rationale: I'm gradually pivoting more things outside boilerplate +% R Markdown, and {bookdown} can do this if you ask it. +% \newtheorem{hypothesis}{Hypothesis} $if(doublespacing)$ \usepackage{setspace} @@ -634,7 +636,7 @@ $else$ \vskip -14.5pt -{\footnotesize +{\footnotesize \begingroup @@ -649,22 +651,22 @@ \textsuperscript{$affils.code$} \emph{$affils.address/nowrap$}$sep$\par $endfor$ -$endif$ +$endif$ \endgroup } $endif$ % this endif is for removing affils in (anonymous) -% \vskip 8.5pt -% -% {\footnotesize -% +% \vskip 8.5pt +% +% {\footnotesize +% % \begingroup % \noindent \emph{Email addresses:} $for(author)$ % \textsuperscript{$author.order$} {\tt $author.email/nowrap$}$sep$, % $endfor$ -% +% % \endgroup % } @@ -708,15 +710,15 @@ \end{minipage} \hfill \begin{minipage}[t]{0.35\textwidth} - + $if(remove-emails)$$else$ \raisedrule[0.2em]{0.1pt}{\footnotesize Contact Info} - + \vspace{8pt} - + {\footnotesize - + $if(solo-author)$ \noindent $for(author)$ {\tt $author.email/nowrap$}$sep$\par @@ -729,33 +731,33 @@ } \vskip 8.5pt $endif$ - - - + + + $if(remove-paper-info)$$else$ \raisedrule[0.2em]{0.1pt}{\footnotesize Paper Info} - + \vspace{5pt} - - + + {\footnotesize - + $for(paper-info)$$paper-info$$sep$\vspace{1.5pt}\par $endfor$ - + $if(keywords)$ - + \vskip 8.5pt \noindent \emph{Keywords}: $keywords$ \par $else$ $endif$ - + } $endif$ - - - + + + \vskip 8.5pt - + \end{minipage} %\bottomrule %\rule[#1]{1pt}{#2} @@ -818,12 +820,12 @@ \hfill \begin{minipage}[t]{0.35\textwidth} \raisedrule[0.2em]{0.1pt}{\footnotesize Author Info} - + \vspace{5pt} - - + + {\footnotesize - + $if(solo-author)$ $for(affils)$ $affils.address/nowrap$$sep$\par @@ -833,16 +835,16 @@ \textsuperscript{$affils.code$} $affils.address/nowrap$$sep$\par $endfor$ $endif$ - + } - - + + \vspace{8pt} $if(remove-emails)$$else$ {\footnotesize - + $if(solo-author)$ \noindent $for(author)$ {\tt $author.email/nowrap$}$sep$\par @@ -853,28 +855,28 @@ $endfor$ $endif$ } - + $endif$ - + \vskip 8.5pt - + $if(remove-paper-info)$$else$ \raisedrule[0.2em]{0.1pt}{\footnotesize Paper Info} - + \vspace{5pt} - - + + {\footnotesize - + $for(paper-info)$$paper-info$$sep$\vspace{1.5pt}\par $endfor$ - - + + } $endif$ - + \vskip 8.5pt - + \end{minipage} %\bottomrule %\rule[#1]{1pt}{#2}