Debian Codegraph @

texmf-dist/doc/latex/tkz-doc/tkz-doc.tex

raw
1 % !TEX TS-program = lualatex
2 % encoding : utf8
3 % Documentation of tkz-doc.cls
4 % Copyright 2022 Alain Matthes
5 % This work may be distributed and/or modified under the
6 % conditions of the LaTeX Project Public License, either version 1.3
7 % of this license or (at your option) any later version.
8 % The latest version of this license is in
9 % http://www.latex-project.org/lppl.txt
10 % and version 1.3 or later is part of all distributions of LaTeX
11 % version 2005/12/01 or later.
12 % This work has the LPPL maintenance status “maintained”.
13 % The Current Maintainer of this work is Alain Matthes.
14 %
15 %
16 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
17 % %
18 % doc altermqcm.sty encodage : utf8 %
19 % %
20 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
21 % %
22 % Créé par Alain Matthes le 21/03/2009 %
23 % Copyright (c) 2009 __AlterMundus__ All rights reserved. %
24 % version : 1.45c 2022 %
25 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
26
27
28 \PassOptionsToPackage{unicode}{hyperref}
29
30 \documentclass[DIV = 14,
31 fontsize = 10,
32 index = totoc,
33 twoside,
34 cadre,
35 headings = small,
36 ]{tkz-doc}
37 \gdef\tkznameofpack{tkzexample.sty}
38 \gdef\tkzversionofpack{1.45c}
39 \gdef\tkzdateofpack{\today}
40 \gdef\tkznameofdoc{doc-tkzexample}
41 \gdef\tkzversionofdoc{1.45c}
42 \gdef\tkzdateofdoc{\today}
43 \gdef\tkzauthorofpack{Alain Matthes}
44 \gdef\tkzadressofauthor{}
45 \gdef\tkznamecollection{AlterMundus}
46 \gdef\tkzurlauthor{http://altermundus.fr}
47
48 \gdef\tkznameofpack{tkz-doc.cls}
49 \gdef\tkzversionofpack{v1.45}
50 \gdef\tkzdateofpack{2022/07/14}
51 \gdef\tkznameofdoc{doc-tkz-doc}
52 \gdef\tkzdateofdoc{2022/07/14}
53 \gdef\tkzauthorofpack{Alain Matthes}
54 \gdef\tkzadressofauthor{}
55 \gdef\tkznamecollection{AlterMundus}
56 \gdef\tkzurlauthor{http://altermundus.fr}
57
58
59 \gdef\tkzengine{lualatex}
60 \gdef\tkzurlauthorcom{http://altermundus.fr}
61 \nameoffile{\tkznameofpack}
62 \RequirePackage{fancybox}
63 \usepackage{fontspec,pgfornament}
64 \setmainfont{texgyrepagella}[
65 Extension = .otf,
66 UprightFont = *-regular ,
67 ItalicFont = *-italic ,
68 BoldFont = *-bold ,
69 BoldItalicFont = *-bolditalic
70 ]
71 \setsansfont{texgyreheros}[
72 Extension = .otf,
73 UprightFont = *-regular ,
74 ItalicFont = *-italic ,
75 BoldFont = *-bold ,
76 BoldItalicFont = *-bolditalic ,
77 ]
78
79 \setmonofont{lmmono10-regular.otf}[
80 Numbers={Lining,SlashedZero},
81 ItalicFont=lmmonoslant10-regular.otf,
82 BoldFont=lmmonolt10-bold.otf,
83 BoldItalicFont=lmmonolt10-boldoblique.otf,
84 ]
85 \newfontfamily\ttcondensed{lmmonoltcond10-regular.otf}
86 %% (La)TeX font-related declarations:
87 \linespread{1.05} % Pagella needs more space between lines
88 %\usepackage{unicode-math}
89 \usepackage[math-style=literal,bold-style=literal]{unicode-math}
90 \usepackage{fourier-otf}
91 \let\rmfamily\ttfamily
92 \usepackage{multicol,lscape}
93 \usepackage[english]{babel}
94 \usepackage[normalem]{ulem}
95 \usepackage{multirow,multido,booktabs,cellspace}
96 \usepackage{shortvrb,fancyvrb,bookmark}
97 \usepackage{makeidx}
98 \makeindex
99
100 %<------------------------------------------------------------------------->
101 % settings styles
102 \tkzSetUpColors[background=white,text=black]
103 \AtBeginDocument{\MakeShortVerb{\|}} % link to shortvrb
104 \RequirePackage{shortvrb}
105 \AtBeginDocument{\MakeShortVerb{\|}}
106
107 \begin{document}
108 %<------------------------------------------------------------------------->
109 \parindent=0pt
110 \tkzTitleFrame{tkz-doc.cls\\A class to present \\ the tkz packages}
111 \clearpage
112
113
114 \nameoffile{\tkznameofpack}
115 \defoffile{\textbf{tkzdoc.cls} is a class that allows me to make the documentation of my packages. If you want to use this class, it is better to analyze the source code first. This class is based on the class \tkzname{scrartcl}. This class is designed to compile with \tkzname{lualatex}. I added a single option: \tkzname{cadre} which allows to add a frame on the cover. The class is completed with a tkz-doc.cfg file that allows to define the colors that will be used.}
116
117 \presentation
118
119 \vfill
120
121
122
123 \vspace{1cm}
124 \vfill
125 Please report typos or any other comments to this documentation to: \href{mailto:[email protected]}{\textcolor{blue}{Alain Matthes}}.
126 This file can be redistributed and/or modified under the terms of the \LaTeX{}
127 Project Public License Distributed from \href{http://www.ctan.org/}{CTAN}\ archives.
128
129
130
131
132 \end{document}
133