Debian Codegraph @

texmf-dist/doc/latex/tlc-article/data/additional-layout.tex

raw
1 % This use case demonstrates tlc-article being extended. All definitions are
2 % process during preamble phase. In other words, before your \begin{document}
3 % statement.
4
5 % ------------------------------------------------------------------------------
6 % \makeatletter is used so we can reference commands and definitions defined by
7 % tlc-article, which are all prefaced with tlc@.
8 \makeatletter
9
10 % ------------------------------------------------------------------------------
11 % tlc-article.tex (Getting Starting) definitions.
12
13 \def\tlcProduct{tlc-article}%
14
15 \def\tlcA{\tlcDarkblue{\tlcProduct}}%
16
17 \def\tlcAL{\tlcDarkblue{\tlc@additionalLayout}}%
18 \def\tlcBL{\tlcDarkblue{tlcBeginLandscape}}%
19 \def\tlcDB{\tlcDarkblue{tlcDarkblue}}%
20 \def\tlcEL{\tlcDarkblue{tlcEndLandScape}}%
21 \def\tlcHF{\tlcDarkblue{\tlc@headerFooter}}%
22 \def\tlcLG{\tlcDarkblue{\tlc@logoFile}}%
23 \def\tlcNCT{newcolumn type: \tlcDarkblue{L, C} \& \tlcDarkblue{R}}%
24 \def\tlcTOC{\tlcDarkblue{tlcTitlePageAndTableOfContents}}%
25 \def\tlcVE{\tlcDarkblue{\tlc@versionFile}}%
26
27 \def\tlcVC{\tlcDarkblue{tlc@version}}%
28 \def\tlcDC{\tlcDarkblue{tlc@date}}%
29 \def\tlcSC{\tlcDarkblue{tlc@status}}%
30 \def\tlcIC{\tlcDarkblue{tlc@instatution}}%
31 \def\tlcPC{\tlcDarkblue{tlc@permission}}%
32
33 \def\kpse{\$(kpsewhich -var-value TEXMFLOCAL)}%
34 \def\texDist{\kpse}%
35 \def\tlcDist{/tex/latex/\tlcProduct}%
36 \def\tlcGlobalDist{\texDist\tlcDist}%
37
38 \def\tlcHome{\$HOME}%
39 \def\tlcMyDoc{\tlcHome/mydoc}%
40
41 \def\gitHub{GitHub.com}%
42 \def\gitHubUrl{http://\gitHub}%
43
44 \def\tlcRepo{git@\gitHub:Traap/\tlcProduct.git}%
45
46 \def\tlcPkgFile{data/required-packages.csv}%
47 \def\tlcNote{\tlcDarkblue{Note}}%
48
49 % ------------------------------------------------------------------------------%
50 % Define the column names used by csvreader when reading \packageFile.
51 \csvnames{tlcPkgNames}{
52 1=\name
53 ,2=\description
54 }
55
56 % Define the table style used to report the required package names and
57 % descriptions.
58 \csvstyle{tlcPkgStyle}{
59 longtable=|L{3cm}|L{12cm}|
60 ,table head=\hline Name & Description\\\hline\hline\endhead
61 ,late after line=\\\hline
62 ,tlcPkgNames
63 }
64
65 % ------------------------------------------------------------------------------%