forked from josephwright/siunitx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
siunitx-code.tex
98 lines (72 loc) · 2.23 KB
/
siunitx-code.tex
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
95
96
97
98
\iffalse meta-comment
File: siunitx-code.tex Copyright (C) 2016-2020 Joseph Wright
It may be distributed and/or modified under the conditions of the
LaTeX Project Public License (LPPL), either version 1.3c of this
license or (at your option) any later version. The latest version
of this license is in the file
https://www.latex-project.org/lppl.txt
This file is part of the "siunitx bundle" (The Work in LPPL)
and all files in that bundle must be distributed together.
The released version of this bundle is available from CTAN.
-----------------------------------------------------------------------
The development version of the bundle can be found at
https://github.com/josephwright/siunitx
for those people who are interested.
-----------------------------------------------------------------------
\fi
\documentclass{l3doc}
% The next line is needed so that \GetFileInfo will be able to pick up
% version data.
\usepackage{siunitx}
% Commands for this document
\usepackage{xparse}
\NewDocumentCommand\foreign{m}{\emph{#1}}
\begin{document}
\GetFileInfo{siunitx.sty}
\title{%
\pkg{siunitx} -- A comprehensive (SI) units package%
\thanks{This file describes \fileversion,
last revised \filedate.}%
}
\author{%
Joseph Wright%
\thanks{%
E-mail:
\href{mailto:[email protected]}
}%
}
\date{Released \filedate}
\pagenumbering{roman}
\maketitle
\tableofcontents
\clearpage
\pagenumbering{arabic}
% Make the separate source files into a single whole, format-wise
\makeatletter
\RenewDocumentCommand\maketitle{}{%
\clearpage
\part{\@title}%
}
\makeatother
\renewcommand*\partname{Part}
\DeclareExpandableDocumentCommand\thanks{m}{}
\let\DelayPrintIndex\PrintIndex
\RenewDocumentCommand\PrintIndex{}{}
% Load the source files in order
\DocInput{siunitx.dtx}
\DocInput{siunitx-angle.dtx}
\DocInput{siunitx-compound.dtx}
\DocInput{siunitx-locale.dtx}
\DocInput{siunitx-number.dtx}
\DocInput{siunitx-print.dtx}
\DocInput{siunitx-quantity.dtx}
\DocInput{siunitx-symbol.dtx}
\DocInput{siunitx-table.dtx}
\DocInput{siunitx-unit.dtx}
\DocInput{siunitx-abbreviation.dtx}
\DocInput{siunitx-command.dtx}
\DocInput{siunitx-emulation.dtx}
\clearpage
\DelayPrintIndex
\end{document}