Skip to content

Commit

Permalink
Allow YAML header to specify a different documentclass (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgrigera committed Mar 27, 2023
1 parent b0fd734 commit 31e603e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template-letter.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
\PassOptionsToPackage{dvipsnames,svgnames*,x11names*}{xcolor}
$endif$
%
\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(papersize)$$papersize$paper,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{letter}
\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(papersize)$$papersize$paper,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$if(documentclass)$$documentclass$$else$letter$endif$}
$if(fontfamily)$
\usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$}
$else$
Expand Down

1 comment on commit 31e603e

@lamyergeier
Copy link

@lamyergeier lamyergeier commented on 31e603e Aug 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jgrigera

  • With the above change I get a new error:
! Undefined control sequence.
l.64 \signature

Without this change I don't get this error!

Please sign in to comment.