-
Notifications
You must be signed in to change notification settings - Fork 2
/
FeynCalcManual.tex
196 lines (158 loc) · 6.88 KB
/
FeynCalcManual.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
% !TeX program = pdflatex
% Options for packages loaded elsewhere
\documentclass[11pt,a4paper,
parskip=half, % half a line vertical space between paragraphs
%headsepline, % Kopfzeile mit horizontaler Liniel
%headings=big
]{scrreprt}
\usepackage[USenglish]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[a4paper, includefoot, left=1.5cm, right=1.5cm, top=2cm, bottom=2 cm]{geometry}
\author{}
\date{}
%\PassOptionsToPackage{unicode}{hyperref}
\PassOptionsToPackage{hyphens}{url}
%\usepackage{unicode-math}
\usepackage{amsmath,amssymb}
%https://tex.stackexchange.com/questions/60746/breqn-does-not-automatically-break-lines
\newcommand{\breakingcomma}{%
\begingroup\lccode`~=`,
\lowercase{\endgroup\expandafter\def\expandafter~\expandafter{~\penalty0 }}}
\usepackage{breqn}
\usepackage{fleqn}
%\usepackage{lmodern}
%\usepackage{newtxtext}
%\usepackage{PTSerif}
\usepackage{textcomp} % provide euro and other symbols
\usepackage{newpxtext} % For now use Palatino as the default font
\usepackage{sourcecodepro} % Default font for Mathematica 11 Input on Linux
%\usepackage{newtxmath} % Default font for Mathematica 11 Output on Linux
\usepackage{upquote} % Use upquote if available, for straight quotes in verbatim environments
\usepackage[]{microtype}
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
\usepackage{fancyvrb}
\usepackage{fvextra}
\usepackage{color}
\usepackage{framed}
\usepackage{xcolor}
\usepackage{subfiles}
\usepackage{xurl} % add URL line breaks if available
\usepackage{placeins}
%\usepackage[htt]{hyphenat}
\usepackage{orcidlink}
\usepackage{hyperref}
\hypersetup{
pdftitle = {FeynCalc Manual},
pdfauthor = {Vladyslav Shtabovenko, Rolf Mertig and Frederik Orellana},
colorlinks,
filecolor=teal,
linkcolor=teal,
urlcolor=teal
}
\usepackage{bookmark}
\usepackage{makeidx}
\urlstyle{same} % disable monospaced font for URLs
%\usepackage{color}
\newcommand{\VerbBar}{|}
\newcommand{\VERB}{\Verb[commandchars=\\\{\}]}
\DefineVerbatimEnvironment
{Highlighting}{Verbatim}
{
% frame=single,
breaklines=true,
breakanywhere=true, breaksymbol=,
breakanywheresymbolpre=,
framerule=0.1mm,
fontfamily=tt,
% framesep=3mm,
% rulecolor=\color{red},
% fillcolor=\color{yellow},
commandchars=\\\{\}}
%\newenvironment{Shaded}{}{}
%\definecolor{shadecolor}{RGB}{248,248,248}
\newenvironment{Shaded}{\begin{leftbar}}{\end{leftbar}}
\newcommand{\AlertTok}[1]{\textcolor[rgb]{1.00,0.00,0.00}{\textbf{#1}}}
\newcommand{\AnnotationTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textbf{\textit{#1}}}}
\newcommand{\AttributeTok}[1]{\textcolor[rgb]{0.49,0.56,0.16}{#1}}
\newcommand{\BaseNTok}[1]{\textcolor[rgb]{0.25,0.63,0.44}{#1}}
\newcommand{\BuiltInTok}[1]{#1}
\newcommand{\CharTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{#1}}
\newcommand{\CommentTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textit{#1}}}
\newcommand{\CommentVarTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textbf{\textit{#1}}}}
\newcommand{\ConstantTok}[1]{\textcolor[rgb]{0.53,0.00,0.00}{#1}}
\newcommand{\ControlFlowTok}[1]{\textcolor[rgb]{0.00,0.44,0.13}{\textbf{#1}}}
\newcommand{\DataTypeTok}[1]{\textcolor[rgb]{0.56,0.13,0.00}{#1}}
\newcommand{\DecValTok}[1]{\textcolor[rgb]{0.25,0.63,0.44}{#1}}
\newcommand{\DocumentationTok}[1]{\textcolor[rgb]{0.73,0.13,0.13}{\textit{#1}}}
\newcommand{\ErrorTok}[1]{\textcolor[rgb]{1.00,0.00,0.00}{\textbf{#1}}}
\newcommand{\ExtensionTok}[1]{#1}
\newcommand{\FloatTok}[1]{\textcolor[rgb]{0.25,0.63,0.44}{#1}}
\newcommand{\FunctionTok}[1]{\textcolor[rgb]{0.02,0.16,0.49}{#1}}
\newcommand{\ImportTok}[1]{#1}
\newcommand{\InformationTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textbf{\textit{#1}}}}
\newcommand{\KeywordTok}[1]{\textcolor[rgb]{0.00,0.44,0.13}{\textbf{#1}}}
\newcommand{\NormalTok}[1]{#1}
\newcommand{\OperatorTok}[1]{\textcolor[rgb]{0.40,0.40,0.40}{#1}}
\newcommand{\OtherTok}[1]{\textcolor[rgb]{0.00,0.44,0.13}{#1}}
\newcommand{\PreprocessorTok}[1]{\textcolor[rgb]{0.74,0.48,0.00}{#1}}
\newcommand{\RegionMarkerTok}[1]{#1}
\newcommand{\SpecialCharTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{#1}}
\newcommand{\SpecialStringTok}[1]{\textcolor[rgb]{0.73,0.40,0.53}{#1}}
\newcommand{\StringTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{#1}}
\newcommand{\VariableTok}[1]{\textcolor[rgb]{0.10,0.09,0.49}{#1}}
\newcommand{\VerbatimStringTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{#1}}
\newcommand{\WarningTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textbf{\textit{#1}}}}
% This kind of reproduces the stlyle of Mathematica output
\SetSymbolFont{operators} {normal}{OT1}{cmr} {m}{n}
%\SetSymbolFont{letters} {normal}{OML}{cmm} {m}{it}
%\SetSymbolFont{symbols} {normal}{OMS}{cmsy}{m}{n}
\SetSymbolFont{letters}{normal}{OML}{ntxmi}{m}{it}
\SetSymbolFont{symbols}{normal}{OMS}{ntxsy}{m}{n}
\SetSymbolFont{largesymbols}{normal}{OMX}{cmex}{m}{n}
\SetMathAlphabet{\mathbf}{normal}{OT1}{cmr}{bx}{n}
\SetMathAlphabet{\mathsf}{normal}{OT1}{cmss}{m}{n}
\SetMathAlphabet{\mathit}{normal}{OT1}{cmr}{m}{it}
\SetMathAlphabet{\mathtt}{normal}{OT1}{cmtt}{m}{n}
\renewcommand{\texttt}[1]{{\bfseries\ttfamily #1}}
\setlength{\emergencystretch}{3em} % prevent overfull lines
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
%\setcounter{secnumdepth}{-\maxdimen} % remove section numbering
% allow page breaks
\allowdisplaybreaks
% active index generation
\makeindex
%%%%%%%%%%%%%%%%%%% TOC CUSTOMIZATION %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\addtocontents{toc}{\protect\hypertarget{toc}{}} % Add a link target to the TOC itself
\renewcommand\TOCLineLeaderFill[1][]{\hfill} % get rid of the dots between the entry name and the page number
\addtokomafont{partentry}{\Huge} % Part Überschriften
\addtokomafont{disposition}{\sffamily\Large} % Chapter Überschriften
% Let us have more space between subsection numbers and the titles, for things like 3.1.17. XXX ;
\DeclareTOCStyleEntry[numwidth=2.5em]{tocline}{part}
\DeclareTOCStyleEntry[numwidth=2.5em]{tocline}{chapter}
\DeclareTOCStyleEntry[numwidth=3.5em]{tocline}{section}
\DeclareTOCStyleEntry[numwidth=4.5em]{tocline}{subsection}
\DeclareTOCStyleEntry[numwidth=6.5em]{tocline}{subsubsection}
\setcounter{tocdepth}{1}
% enable numbering of subsubsections
%\setcounter{secnumdepth}{1}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\title{\Huge Guide to FeynCalc \\
\centering\includegraphics[width=8cm]{figures/logo.png}}
\subtitle{\LARGE A \textsc{Mathematica} package \\ for Quantum Field Theory practitioners}
\author{Vladyslav Shtabovenko\,\orcidlink{0000-0002-2782-3694}, \\Rolf Mertig\,\orcidlink{0000-0003-0276-1412} and Frederik Orellana\,\orcidlink{0000-0001-7614-3882}}
\date{\today}
\maketitle
This documentation snapshot was generated on \texttt{DATE_TIME} from the commit \texttt{GITHUB_SHA_SHORT}
% Here comes the TOC!
{\hypersetup{hidelinks}
\tableofcontents
}
\include{includes.tex}
%\subfile{pages/DollarTypesettingDim4.tex}
%\subfile{pages/DiracSimplify.tex}
%\subfile{pages/DiracEquation.tex}
\printindex
\end{document}