1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
|
# combine class
# Matthew Bertucci 11/3/2021 for v0.7a
#include:keyval
#keyvals:\documentclass/combine#c
book
report
letter
memoir
classes
packages
layouts
folios
notoc
nolof
nolot
maintoc
date
noauthor
notitle
nomaketitle
nopubindoc
nopubintoc
onebib
combinedbib
colclass=%<class name%>
#endkeyvals
#ifOption:memoir
#include:class-memoir
#endif
#ifOption:book
#include:class-book
#endif
#ifOption:letter
#include:class-letter
#endif
#ifOption:report
#include:class-report
#endif
\begin{papers}
\begin{papers}[text/code]
\end{papers}
\import{file}#i
\maintitlefont#*
\postmaintitle#*
\mainauthorfont#*
\postmainauthor#*
\maindatefont#*
\postmaindate#*
\importtitlefont#*
\postimporttitle#*
\importauthorfont#*
\postimportauthor#*
\importdatefont#*
\postimportdate#*
\bodytitle{long title}
\bodytitle[short title]{long title}
\bodytitlemark{text}#*
\coltoctitle{title%text}
\coltoctitle{author}
\published{long%text}
\published[short]{long%text}
\pubfont#*
\toctitleindent#*
\tocauthorindent#*
\tocpubindent#*
\toctocindent#*
\toctitlefont#*
\tocauthorfont#*
\tocpubfont#*
\begin{tocindent}#*
\end{tocindent}#*
\erasetitling
\provideenvironment{envname}{begdef}{enddef}#*N
\providelength{newlength%cmd}#*d
\providecounter{counter name}#*
\zeroextracounters#*
\appendiargdef{macro}{stuff}#*
\emptyAtBeginDocument#*
\thecolpage#*
\setuppapers#*
\takedownpapers#*
|