Skip to content

Commit f265091

Browse files
committed
Initial commit
0 parents  commit f265091

File tree

238 files changed

+7085
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

238 files changed

+7085
-0
lines changed

.github/workflows/main.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Build LaTeX document
2+
on: [push, workflow_dispatch]
3+
4+
jobs:
5+
build_latex:
6+
runs-on: ubuntu-latest
7+
container:
8+
image: ghcr.io/vsht/feyncalc/latex-docker:latest
9+
credentials:
10+
username: ${{ secrets.GHCR_USERNAME }}
11+
password: ${{ secrets.GHCR_TOKEN }}
12+
steps:
13+
- name: Set up Git repository
14+
uses: actions/checkout@v2
15+
- name: Compile LaTeX document
16+
run: |
17+
DATE_TIME=$(date "+%F %T %Z")
18+
echo "DATE_TIME=$(date "+%F %T %Z")" >> $GITHUB_ENV
19+
GITHUB_SHA_SHORT=$(echo $GITHUB_SHA | cut -c 1-6)
20+
sed -i -e "s|DATE_TIME|$DATE_TIME|g" FeynHelpersManual.tex
21+
sed -i -e "s|GITHUB_SHA_SHORT|$GITHUB_SHA_SHORT|g" FeynHelpersManual.tex
22+
echo "FeynHelpers manual (development version). Last update: $DATE_TIME" > body.md
23+
latexmk -pdf FeynHelpersManual.tex
24+
- name: Upload the resulting PDF
25+
uses: ncipollo/release-action@v1
26+
with:
27+
tag: "dev-manual"
28+
name: "FeynHelpers manual (updated on ${{ env.DATE_TIME }})"
29+
bodyFile: "body.md"
30+
allowUpdates: true
31+
artifacts: "FeynHelpersManual.pdf,*.aux,*.log"

.gitignore

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
FeynHelpersManual.pdf
2+
*.aux
3+
*.log
4+
*.toc
5+
*.dvi
6+
*.out
7+
*.fdb_latexmk
8+
*.gz
9+
*.bbl
10+
*.blg
11+
*.cfg
12+
*.fls
13+
*.idx
14+
*.ilg
15+
*.ind
16+
.nfs*

FeynHelpersManual.tex

Lines changed: 196 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,196 @@
1+
% !TeX program = pdflatex
2+
% Options for packages loaded elsewhere
3+
4+
\documentclass[11pt,a4paper,
5+
parskip=half, % half a line vertical space between paragraphs
6+
%headsepline, % Kopfzeile mit horizontaler Liniel
7+
%headings=big
8+
]{scrreprt}
9+
\usepackage[USenglish]{babel}
10+
\usepackage[T1]{fontenc}
11+
\usepackage[utf8]{inputenc}
12+
13+
\usepackage[a4paper, includefoot, left=1.5cm, right=1.5cm, top=2cm, bottom=2 cm]{geometry}
14+
15+
\author{}
16+
\date{}
17+
18+
%\PassOptionsToPackage{unicode}{hyperref}
19+
\PassOptionsToPackage{hyphens}{url}
20+
%\usepackage{unicode-math}
21+
22+
\usepackage{amsmath,amssymb}
23+
24+
%https://tex.stackexchange.com/questions/60746/breqn-does-not-automatically-break-lines
25+
\newcommand{\breakingcomma}{%
26+
\begingroup\lccode`~=`,
27+
\lowercase{\endgroup\expandafter\def\expandafter~\expandafter{~\penalty0 }}}
28+
29+
30+
\usepackage{breqn}
31+
\usepackage{fleqn}
32+
%\usepackage{lmodern}
33+
%\usepackage{newtxtext}
34+
%\usepackage{PTSerif}
35+
\usepackage{textcomp} % provide euro and other symbols
36+
37+
\usepackage{newpxtext} % For now use Palatino as the default font
38+
\usepackage{sourcecodepro} % Default font for Mathematica 11 Input on Linux
39+
%\usepackage{newtxmath} % Default font for Mathematica 11 Output on Linux
40+
41+
\usepackage{upquote} % Use upquote if available, for straight quotes in verbatim environments
42+
43+
\usepackage[]{microtype}
44+
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
45+
46+
\usepackage{fancyvrb}
47+
\usepackage{fvextra}
48+
\usepackage{color}
49+
\usepackage{framed}
50+
\usepackage{xcolor}
51+
\usepackage{subfiles}
52+
\usepackage{xurl} % add URL line breaks if available
53+
\usepackage{placeins}
54+
55+
%\usepackage[htt]{hyphenat}
56+
57+
\usepackage{orcidlink}
58+
59+
\usepackage{hyperref}
60+
61+
\hypersetup{
62+
pdftitle = {FeynHelpers Manual},
63+
pdfauthor = {Vladyslav Shtabovenko},
64+
colorlinks,
65+
filecolor=teal,
66+
linkcolor=teal,
67+
urlcolor=teal
68+
}
69+
\usepackage{bookmark}
70+
\usepackage{makeidx}
71+
\urlstyle{same} % disable monospaced font for URLs
72+
%\usepackage{color}
73+
74+
\newcommand{\VerbBar}{|}
75+
\newcommand{\VERB}{\Verb[commandchars=\\\{\}]}
76+
77+
\DefineVerbatimEnvironment
78+
{Highlighting}{Verbatim}
79+
{
80+
% frame=single,
81+
breaklines=true,
82+
breakanywhere=true, breaksymbol=,
83+
breakanywheresymbolpre=,
84+
framerule=0.1mm,
85+
fontfamily=tt,
86+
% framesep=3mm,
87+
% rulecolor=\color{red},
88+
% fillcolor=\color{yellow},
89+
commandchars=\\\{\}}
90+
91+
\DeclareUnicodeCharacter{03BB}{$\lambda$}
92+
\DeclareUnicodeCharacter{03D5}{$\phi$}
93+
94+
95+
%\newenvironment{Shaded}{}{}
96+
%\definecolor{shadecolor}{RGB}{248,248,248}
97+
\newenvironment{Shaded}{\begin{leftbar}}{\end{leftbar}}
98+
\newcommand{\AlertTok}[1]{\textcolor[rgb]{1.00,0.00,0.00}{\textbf{#1}}}
99+
\newcommand{\AnnotationTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textbf{\textit{#1}}}}
100+
\newcommand{\AttributeTok}[1]{\textcolor[rgb]{0.49,0.56,0.16}{#1}}
101+
\newcommand{\BaseNTok}[1]{\textcolor[rgb]{0.25,0.63,0.44}{#1}}
102+
\newcommand{\BuiltInTok}[1]{#1}
103+
\newcommand{\CharTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{#1}}
104+
\newcommand{\CommentTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textit{#1}}}
105+
\newcommand{\CommentVarTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textbf{\textit{#1}}}}
106+
\newcommand{\ConstantTok}[1]{\textcolor[rgb]{0.53,0.00,0.00}{#1}}
107+
\newcommand{\ControlFlowTok}[1]{\textcolor[rgb]{0.00,0.44,0.13}{\textbf{#1}}}
108+
\newcommand{\DataTypeTok}[1]{\textcolor[rgb]{0.56,0.13,0.00}{#1}}
109+
\newcommand{\DecValTok}[1]{\textcolor[rgb]{0.25,0.63,0.44}{#1}}
110+
\newcommand{\DocumentationTok}[1]{\textcolor[rgb]{0.73,0.13,0.13}{\textit{#1}}}
111+
\newcommand{\ErrorTok}[1]{\textcolor[rgb]{1.00,0.00,0.00}{\textbf{#1}}}
112+
\newcommand{\ExtensionTok}[1]{#1}
113+
\newcommand{\FloatTok}[1]{\textcolor[rgb]{0.25,0.63,0.44}{#1}}
114+
\newcommand{\FunctionTok}[1]{\textcolor[rgb]{0.02,0.16,0.49}{#1}}
115+
\newcommand{\ImportTok}[1]{#1}
116+
\newcommand{\InformationTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textbf{\textit{#1}}}}
117+
\newcommand{\KeywordTok}[1]{\textcolor[rgb]{0.00,0.44,0.13}{\textbf{#1}}}
118+
\newcommand{\NormalTok}[1]{#1}
119+
\newcommand{\OperatorTok}[1]{\textcolor[rgb]{0.40,0.40,0.40}{#1}}
120+
\newcommand{\OtherTok}[1]{\textcolor[rgb]{0.00,0.44,0.13}{#1}}
121+
\newcommand{\PreprocessorTok}[1]{\textcolor[rgb]{0.74,0.48,0.00}{#1}}
122+
\newcommand{\RegionMarkerTok}[1]{#1}
123+
\newcommand{\SpecialCharTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{#1}}
124+
\newcommand{\SpecialStringTok}[1]{\textcolor[rgb]{0.73,0.40,0.53}{#1}}
125+
\newcommand{\StringTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{#1}}
126+
\newcommand{\VariableTok}[1]{\textcolor[rgb]{0.10,0.09,0.49}{#1}}
127+
\newcommand{\VerbatimStringTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{#1}}
128+
\newcommand{\WarningTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textbf{\textit{#1}}}}
129+
130+
% This kind of reproduces the stlyle of Mathematica output
131+
\SetSymbolFont{operators} {normal}{OT1}{cmr} {m}{n}
132+
%\SetSymbolFont{letters} {normal}{OML}{cmm} {m}{it}
133+
%\SetSymbolFont{symbols} {normal}{OMS}{cmsy}{m}{n}
134+
\SetSymbolFont{letters}{normal}{OML}{ntxmi}{m}{it}
135+
\SetSymbolFont{symbols}{normal}{OMS}{ntxsy}{m}{n}
136+
\SetSymbolFont{largesymbols}{normal}{OMX}{cmex}{m}{n}
137+
\SetMathAlphabet{\mathbf}{normal}{OT1}{cmr}{bx}{n}
138+
\SetMathAlphabet{\mathsf}{normal}{OT1}{cmss}{m}{n}
139+
\SetMathAlphabet{\mathit}{normal}{OT1}{cmr}{m}{it}
140+
\SetMathAlphabet{\mathtt}{normal}{OT1}{cmtt}{m}{n}
141+
142+
143+
\renewcommand{\texttt}[1]{{\bfseries\ttfamily #1}}
144+
145+
\setlength{\emergencystretch}{3em} % prevent overfull lines
146+
\providecommand{\tightlist}{%
147+
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
148+
%\setcounter{secnumdepth}{-\maxdimen} % remove section numbering
149+
150+
151+
% allow page breaks
152+
\allowdisplaybreaks
153+
154+
% active index generation
155+
\makeindex
156+
157+
%%%%%%%%%%%%%%%%%%% TOC CUSTOMIZATION %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
158+
\addtocontents{toc}{\protect\hypertarget{toc}{}} % Add a link target to the TOC itself
159+
\renewcommand\TOCLineLeaderFill[1][]{\hfill} % get rid of the dots between the entry name and the page number
160+
\addtokomafont{partentry}{\Huge} % Part Überschriften
161+
\addtokomafont{disposition}{\sffamily\Large} % Chapter Überschriften
162+
% Let us have more space between subsection numbers and the titles, for things like 3.1.17. XXX ;
163+
\DeclareTOCStyleEntry[numwidth=2.5em]{tocline}{part}
164+
\DeclareTOCStyleEntry[numwidth=2.5em]{tocline}{chapter}
165+
\DeclareTOCStyleEntry[numwidth=3.5em]{tocline}{section}
166+
\DeclareTOCStyleEntry[numwidth=4.5em]{tocline}{subsection}
167+
\DeclareTOCStyleEntry[numwidth=6.5em]{tocline}{subsubsection}
168+
169+
\setcounter{tocdepth}{1}
170+
171+
% enable numbering of subsubsections
172+
%\setcounter{secnumdepth}{1}
173+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
174+
175+
176+
\begin{document}
177+
178+
\title{\Huge Guide to FeynHelpers}
179+
\subtitle{\LARGE A collection of interfaces between \textsc{FeynCalc} and other HEP-related tools}
180+
181+
182+
\author{Vladyslav Shtabovenko\,\orcidlink{0000-0002-2782-3694}}
183+
\date{\today}
184+
\maketitle
185+
186+
This documentation snapshot was generated on \texttt{DATE_TIME} from the commit \texttt{GITHUB_SHA_SHORT}
187+
188+
% Here comes the TOC!
189+
{\hypersetup{hidelinks}
190+
\tableofcontents
191+
}
192+
\include{includes.tex}
193+
194+
\printindex
195+
196+
\end{document}

img/04ohum5f7la9s.pdf

7.28 KB
Binary file not shown.

img/0jtvg6eca9xzx.pdf

5.18 KB
Binary file not shown.

img/0nwzbpg5gzgtm.pdf

7.36 KB
Binary file not shown.

img/0z6bsy6lc1psd.pdf

6.34 KB
Binary file not shown.

img/127qwxc1krziv.pdf

6.98 KB
Binary file not shown.

img/18tyhteyfoyw5.pdf

7.36 KB
Binary file not shown.

img/1l4kn1yut71v8.pdf

6.98 KB
Binary file not shown.

0 commit comments

Comments
 (0)