Debian Codegraph @

texmf-dist/doc/latex/hep-graphic/hep-graphic-documentation.tex

raw
1 %%
2 %% This is file `hep-graphic-documentation.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% hep-graphic-implementation.dtx (with options: `documentation')
8 %% This is a generated file.
9 %% Copyright (C) 2019-2025 by Jan Hajer
10 %% This file may be distributed and/or modified under the
11 %% conditions of the LaTeX Project Public License, either
12 %% version 1.3c of this license or (at your option) any later
13 %% version. The latest version of this license is in:
14 %% http://www.latex-project.org/lppl.txt
15 %% and version 1.3c or later is part of all distributions of
16 %% LaTeX version 2005/12/01 or later.
17 \ProvidesFile{hep-graphic-documentation.tex}[2025/09/01 v1.4 HEP-graphic documentation]
18 \RequirePackage[l2tabu, orthodox]{nag}
19 \documentclass{ltxdoc}
20
21 \renewcommand*\theCodelineNo{\rmfamily\tstyle\footnotesize\arabic{CodelineNo}}
22 \AtBeginEnvironment{macrocode}{\renewcommand*{\ttdefault}{clmt}}
23 \renewcommand*{\MacroFont}{\codestyle}
24 \AtBeginDocument{\DeleteShortVerb{\|}}
25 \AtBeginDocument{\MakeShortVerb{\"}}
26 \EnableCrossrefs
27 \CodelineIndex
28 \RecordChanges
29
30 \usepackage{hologo}
31
32 \usepackage[parskip,oldstyle,font=10pt]{hep-paper}
33 \bibliography{bibliography}
34
35 \GetFileInfo{hep-graphic.sty}
36
37 \title{The \software{hep-graphic} package\thanks{This document corresponds to \software{hep-graphic}~v1.0.}}
38 \subtitle{Plot macros}
39 \author{Jan Hajer \email{[email protected]}}
40 \date{2023/07/01}
41
42 \begin{document}
43
44 \newgeometry{vscale=.8, vmarginratio=3:4, includeheadfoot, left=11em, marginparwidth=4.6cm, marginparsep=3mm, right=7em}
45
46 \maketitle
47
48 \begin{abstract}
49 The \software{hep-graphic} is a convenience wrapper for the \software{pgf/tikz}, \software{pgfplots}, and \software{standalone} packages.
50 \end{abstract}
51
52 \section{Graphic}
53
54 After loading the "hep-graphic" package the \software{pgf/tikz} \cite{pgf} and \software{standalone} \cite{standalone} packages are loaded and externalisation is activated.
55 The "plot" and "feynman" options load the neccessary packages for plotting and feynman diagrams.
56 The macro "\includetikz"\oarg{width}\marg{name} loads "tikz" pictures.
57
58 \subsection{Plot}
59
60 The \software{hep-plot} package loads the \software{pgfplots} package \cite{pgfplots} and applies some optimisation.
61
62 \subsection{Feynman}
63
64 The \software{hep-feynman} package loads the \software{tikz-feynman} package \cite{tikz-feynman} and applies some optimisation.
65
66 \printbibliography
67
68 \end{document}
69
70 \endinput
71 %%
72 %% End of file `hep-graphic-documentation.tex'.