~brhiggins/pandoc-template-letter

b764fcda9f4c9dc1e25377f997841a903b6a855d — Benjamin Higgins 2 years ago ff4e227 master
Add support for additional details; fix tightlist
1 files changed, 5 insertions(+), 1 deletions(-)

M template.tex
M template.tex => template.tex +5 -1
@@ 23,6 23,10 @@ $endif$
% Support for pandoc's {.underline} class
\newcommand{\uline}{\underline}

% Support for pandoc features that use \tightlist
\providecommand{\tightlist}{%
  \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}

% https://github.com/aaronwolen/pandoc-letter/blob/b0fd7342b352ebb87aea17614ec014f68d48747f/template-letter.tex#L163
% Make links footnotes instead of hotlinks:
\DeclareRobustCommand{\href}[2]{#2\footnote{\url{#1}}}


@@ 36,7 40,7 @@ $endif$
\item\relax\color{greytext}\ignorespaces}{\unskip\unskip\endlist\end{blockquote}}

\signature{$author$}
\address{$author$\\$for(return-address)$$return-address$$sep$\\$endfor$}
\address{$author$\\$for(return-address)$$return-address$$sep$\\$endfor$$if(additional-details)$\\ ~ $for(additional-details)$\\ $additional-details$$sep$$endfor$$endif$}
\date{$date$}

\begin{document}