diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/tikz-feynhand/tikz-feynhand.userguide.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/tikz-feynhand/tikz-feynhand.userguide.tex | 72 |
1 files changed, 62 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/latex/tikz-feynhand/tikz-feynhand.userguide.tex b/Master/texmf-dist/doc/latex/tikz-feynhand/tikz-feynhand.userguide.tex index ba00d93810f..25de1e773e6 100644 --- a/Master/texmf-dist/doc/latex/tikz-feynhand/tikz-feynhand.userguide.tex +++ b/Master/texmf-dist/doc/latex/tikz-feynhand/tikz-feynhand.userguide.tex @@ -2,7 +2,7 @@ % % TikZ-FeynHand % Feynman Diagrams with TikZ (LaTex manual version) -% Copyright (C) 2018 Max Dohse +% Copyright (C) 2019 Max Dohse % % available at https://ctan.org/pkg/tikz-feynhand % @@ -116,7 +116,7 @@ % \hrule \vspace{3mm} -{\centering\Large\bfseries Quick Reference\\} +{\centering\Large\bfseries Quick Reference\vspace{-2mm}\\} % \noindent \textbf{Environment}\\ @@ -158,13 +158,13 @@ analogue: \blucol\verb!\feynhandblobsize, \feynhandlinesize, \feynhandarrowsize, \feynhandtopsep!\txcol\\ \blucol\verb!\renewcommand{\feynhandtopsepcolor}{COLOR}!\txcol\\ \blucol\verb!\tikzfeynhandset{every STYLE={/tikz/color=COLOR},}!\txcol\\ -\vspace{1mm} +\vspace{0mm} % % ===================================================================== \hrule \vspace{2mm} -{\centering Version 1.0.0 - +{\centering Version 1.1.0 - available at\qquad \texttt{https://ctan.org/pkg/tikz-feynhand}\\} \vspace{1mm} @@ -172,6 +172,7 @@ analogue: \hrule % ===== TABEL OF CONTENTS =========================================== % +\vspace{-2mm} \tableofcontents % % ===================================================================== @@ -1334,7 +1335,7 @@ as in the following example. \end{minipage} % % -------------------------------------------------------------------------------- -\newpage\subsubsection{Keys: In, Out, Looseness, Left/Right, Half/Quarter} +\subsubsection{Keys: In, Out, Looseness, Left/Right, Half/Quarter} \label{sec:_feynmandiagrams_keysinoutetc} % \noindent @@ -1441,7 +1442,7 @@ with respect to the line's direction. % % -------------------------------------------------------------------------------- \vspace{-6mm} -\subsubsection{Propagator labels and momentum arrows} +\newpage\subsubsection{Propagator labels and momentum arrows} \label{sec:_feynmandiagrams_proplabelsmomentum} % \noindent @@ -1562,10 +1563,57 @@ at which the insertion marks are drawn. \end{feynhand} \end{tikzpicture} \end{minipage} +% +% ------------------------------------------------------------------------------------------------------- +\vspace{-3mm} +\subsubsection{Slashes and backslashes} +\label{sec:_feynmandiagrams_propagators_slashes} +% +\noindent +Back/slashes work like insertions: +\\ +% +\begin{minipage}{0.83\linewidth} +\vercol\begin{verbatim} + \vertex [dot] (a1) at (0,0) {}; \vertex [dot] (a2) at (2,0) {}; + \propag [chabos, red, slash=0.25, slash=0.75] (a1) to (a2); +\end{verbatim}\txcol +\end{minipage} +% +\begin{minipage}{0.16\linewidth} +\tikzsetnextfilename{propag_slash_1} +%\tikzset{external/force remake} +\begin{tikzpicture} + \begin{feynhand} + \vertex [dot] (a1) at (0,0) {}; + \vertex [dot] (a2) at (2,0) {}; + \propag [chabos, red, slash=0.25, slash=0.75] (a1) to (a2); + \end{feynhand} +\end{tikzpicture} +\end{minipage} +\\ +\begin{minipage}{0.83\linewidth} +\vercol\begin{verbatim} + \vertex [ringdot] (a1) at (0,0) {}; \vertex [ringdot] (a2) at (2,0) {}; + \propag [chabos, red, backslash={[size=6pt,style=Green]0.25}] (a1) to (a2); +\end{verbatim}\txcol +\end{minipage} +% +\begin{minipage}{0.16\linewidth} +\tikzsetnextfilename{propag_slash_2} +%\tikzset{external/force remake} +\begin{tikzpicture} + \begin{feynhand} + \vertex [ringdot] (a1) at (0,0) {}; + \vertex [ringdot] (a2) at (2,0) {}; + \propag [chabos, red, backslash={[size=6pt,style=Green]0.25}] (a1) to (a2); + \end{feynhand} +\end{tikzpicture} +\end{minipage} % % ------------------------------------------------------------------------------------------------------- -\subsubsection{Crossing propagators (one on top of the other)} +\newpage\subsubsection{Crossing propagators (one on top of the other)} \label{sec:_feynmandiagrams_propagators_top} % \noindent @@ -1584,7 +1632,7 @@ respectively \blucol\verb$with reversed arrow=VALUE$\txcol for antiparticles. \blucol\verb$VALUE$\txcol must be a number between 0 and 1, and indicates the fraction of propagator length at which TikZ inserts the arrow. The default value of \blucol\verb$VALUE$\txcol is 0.5. -\vspace{2mm}\\ +\vspace{-1mm}\\ % \begin{minipage}{0.8\linewidth} \blucol\begin{verbatim} @@ -1607,6 +1655,7 @@ The default value of \blucol\verb$VALUE$\txcol is 0.5. \end{feynhand} \end{tikzpicture} \end{minipage} +\vspace{-5mm} \\ % \begin{minipage}{0.8\linewidth} @@ -1629,6 +1678,7 @@ The default value of \blucol\verb$VALUE$\txcol is 0.5. \end{feynhand} \end{tikzpicture} \end{minipage} +\vspace{-3mm} % % % ===================================================================== @@ -1749,7 +1799,8 @@ Same diagram (same TikZ/FeynHand code) drawn after setting: \setlength{\feynhandarrowsize}{6pt} \setlength{\feynhandtopsep}{18\feynhandlinesize} \renewcommand{\feynhandtopsepcolor}{white} -% +\vspace{-4mm} +\\ The color of a vertex/propagator style can be set for all subsequent diagrams in the current local Tex group (e.g. document or equation, figure, minipage environment) by the command \vercol\verb$\tikzfeynhandset$\txcol with the key \vercol\verb$every$\txcol: @@ -1764,6 +1815,7 @@ by the command \vercol\verb$\tikzfeynhandset$\txcol with the key \vercol\verb$ev % ===================================================================== % ===== APPENDICES ============================================ % +%\newpage \appendix % \section{TikZ Basics} @@ -2049,7 +2101,7 @@ This should look somewhat like Figure~\ref{Fig:_shell_escape}. % \begin{figure} \centering - \includegraphics[width=0.75\linewidth]{shell_escape.jpg} + \includegraphics[width=0.7\linewidth]{shell_escape.jpg} \caption{TexWorks screenshot.} \label{Fig:_shell_escape} \end{figure} |