diff options
Diffstat (limited to 'Master/texmf-dist/source/generic/pgf/testsuite/external/tikzexternaltest.code.tex')
-rw-r--r-- | Master/texmf-dist/source/generic/pgf/testsuite/external/tikzexternaltest.code.tex | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Master/texmf-dist/source/generic/pgf/testsuite/external/tikzexternaltest.code.tex b/Master/texmf-dist/source/generic/pgf/testsuite/external/tikzexternaltest.code.tex index 153a074255a..8a200fcf991 100644 --- a/Master/texmf-dist/source/generic/pgf/testsuite/external/tikzexternaltest.code.tex +++ b/Master/texmf-dist/source/generic/pgf/testsuite/external/tikzexternaltest.code.tex @@ -4,23 +4,23 @@ A small image with a filled circle follows here (with baseline): \tikz[baseline] \fill[red] (0,1cm) circle(2pt); \tikzsetnextfilename{\tikzexternalrealjob-setnextfilename} -The next one uses +The next one uses \begin{tikzpicture}[baseline] - \draw (0,0) grid (4,4); + \draw (0,0) grid (4,4); \end{tikzpicture} an explizit file name. \begin{tikzpicture} - \node[draw,rounded corners] {A node with a ref (\ref{eq:1})}; + \node[draw,rounded corners] {A node with a ref (\ref{eq:1})}; \end{tikzpicture} \begin{equation} - 1+1=3 - \label{eq:1} + 1+1=3 + \label{eq:1} \end{equation} \begin{tikzpicture} - \node[draw,rounded corners] {A node which contains a label\label{a:label:in:a:picture}}; + \node[draw,rounded corners] {A node which contains a label\label{a:label:in:a:picture}}; \end{tikzpicture} The label inside of a node is on page~\pageref{a:label:in:a:picture}. @@ -29,12 +29,12 @@ The label inside of a node is on page~\pageref{a:label:in:a:picture}. \else The following picture exports a legend to the aux file (if possible). \begin{tikzpicture} - \begin{axis}[legend entries={1,2,3,4},legend to name=legend:name] - \addplot {x}; - \addplot {x+1}; - \addplot {x+2}; - \addplot {x+3}; - \end{axis} + \begin{axis}[legend entries={1,2,3,4},legend to name=legend:name] + \addplot {x}; + \addplot {x+1}; + \addplot {x+2}; + \addplot {x+3}; + \end{axis} \end{tikzpicture} Here is the legend: \pgfplotslegendfromname{legend:name}. |