summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tikz-palattice/example3_coordinates.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-03-09 22:50:25 +0000
committerKarl Berry <karl@freefriends.org>2017-03-09 22:50:25 +0000
commit349fe493a0e1eb1b89143d34c91ab4403430d36f (patch)
treed40364cb66d3d663b56fb0734481ac4e72616b3b /Master/texmf-dist/doc/latex/tikz-palattice/example3_coordinates.tex
parentd78d37fceee17e9b20b240992fb1f64f5062251e (diff)
tikz-palattice (8mar17)
git-svn-id: svn://tug.org/texlive/trunk@43442 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/tikz-palattice/example3_coordinates.tex')
-rw-r--r--Master/texmf-dist/doc/latex/tikz-palattice/example3_coordinates.tex40
1 files changed, 20 insertions, 20 deletions
diff --git a/Master/texmf-dist/doc/latex/tikz-palattice/example3_coordinates.tex b/Master/texmf-dist/doc/latex/tikz-palattice/example3_coordinates.tex
index 73412b3c466..228e11b958f 100644
--- a/Master/texmf-dist/doc/latex/tikz-palattice/example3_coordinates.tex
+++ b/Master/texmf-dist/doc/latex/tikz-palattice/example3_coordinates.tex
@@ -1,5 +1,5 @@
%% example3_coordinates.tex
-%% Copyright 2015 J. Schmidt
+%% Copyright 2017 J. Schmidt
%% tikz-palattice LaTeX package
%
% This work may be distributed and/or modified under the
@@ -136,8 +136,8 @@
\begin{figure}
\centering
\begin{subfigure}[b]{.45\textwidth}
-\centering
- \begin{lattice}
+ \centering
+ \begin{lattice}
\rotate{90}
\northlabels %labels to the left
\drift{0.5}
@@ -162,12 +162,11 @@
\drift{0.27}
\dipole{MB1}{0.2}{30}[s][0.4]
\drift{0.2}
- \end{lattice}
- %
- %now draw second lattice and connect them using the saved coordinate
- \begin{lattice}[1][overlay]
- \start{(Septum)}
- \rotate{70}
+
+ % now go back to saved coordinate and continue with another beamline
+ \goto{Septum}
+ \rotate{-20}
+ \southlabels %labels to the right
\drift{0.6}
\kicker{SS1}{0.2}
\drift{0.2}
@@ -181,14 +180,14 @@
\dipole{M3}{0.2}{-20}[r][0.4]
\drift{0.7}
\end{fade}
- \legend{(-1,6.5)}
+ \legend{(0,6.5)}
\end{lattice}
- \caption{two lattice environments and start}
+ \caption{one lattice environment and goto}
\end{subfigure}
%
\begin{subfigure}[b]{.45\textwidth}
- \centering
- \begin{lattice}
+\centering
+ \begin{lattice}
\rotate{90}
\northlabels %labels to the left
\drift{0.5}
@@ -213,11 +212,12 @@
\drift{0.27}
\dipole{MB1}{0.2}{30}[s][0.4]
\drift{0.2}
-
- % now go back to saved coordinate and continue with another beamline
- \goto{Septum}
- \rotate{-20}
- \southlabels %labels to the right
+ \end{lattice}
+ %
+ %now draw second lattice and connect them using the saved coordinate
+ \begin{lattice}[1][overlay]
+ \start{(Septum)}
+ \rotate{70}
\drift{0.6}
\kicker{SS1}{0.2}
\drift{0.2}
@@ -231,9 +231,9 @@
\dipole{M3}{0.2}{-20}[r][0.4]
\drift{0.7}
\end{fade}
- \legend{(0,6.5)}
+ \legend{(-1,6.5)}
\end{lattice}
- \caption{one lattice environment and goto}
+ \caption{two lattice environments and start}
\end{subfigure}
\caption{Two ways to connect lattices}
\label{fig:twoways}