diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/pgfplots/test/liststructuretest/liststructuretest.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/pgfplots/test/liststructuretest/liststructuretest.tex | 164 |
1 files changed, 0 insertions, 164 deletions
diff --git a/Master/texmf-dist/doc/generic/pgfplots/test/liststructuretest/liststructuretest.tex b/Master/texmf-dist/doc/generic/pgfplots/test/liststructuretest/liststructuretest.tex deleted file mode 100644 index 408b6d4cfb6..00000000000 --- a/Master/texmf-dist/doc/generic/pgfplots/test/liststructuretest/liststructuretest.tex +++ /dev/null @@ -1,164 +0,0 @@ -\documentclass[a4paper]{article} -\usepackage{german} -\usepackage[utf8]{inputenc} % erlaubt direkte Nutzung von Umlauten - -% \usepackage[a4paper,noheadfoot,pdftex,left=0.8cm,right=1cm,top=0.8cm,bottom=0.8cm]{geometry} -% \usepackage{color} -% \usepackage{colortbl} -% \usepackage{longtable} -% \usepackage[a4paper,colorlinks=true]{hyperref} % Querverweise etc. option pdftex,dvipdfm? -% \usepackage{graphicx} -% \usepackage[draft]{graphicx} -% \usepackage{listings} % fuer codefragmente jeder art -\usepackage[intlimits]{amsmath} -\usepackage{amssymb} -\usepackage{amsfonts} -% \usepackage{amsthm} -\usepackage{bibgerm} -%\usepackage{simplelist} - -\usepackage{pgf} -\makeatletter -\input pgfplotsliststructure.code.tex -\input pgfplotsarray.code.tex -\makeatother - -% fuer endvironment 'sidewaysfigure' bspw -% \usepackage{rotating} - -%\pdfinfo { -% /Author (Christian Feuersaenger) -%} - -%% -% My user defined commands ... -% -\usepackage{mymath} -\usepackage{myext} - -% von Alex: A4-Groesse, symmetrische Seitenraender. -% \usepackage{mya4sym} - - -% figure einstellungen: -%\renewcommand{\topfraction}{0.85} -%\renewcommand{\textfraction}{0.06} -%\renewcommand{\floatpagefraction}{0.8} - -\def\testfile#1{\chapter{#1}} -\def\testsection#1{\message{STARTING TEST SECTION '#1'}\section{#1}} -\def\testsubsection#1{\message{STARTING TEST SUBSECTION '#1'}\subsection{#1}} -\def\testsubsubsection#1{\message{STARTING TEST SUBSUBSECTION '#1'}\subsubsection{#1}} - - -\author{Christian Feuersänger} -%\title{} - -\begin{document} -%\maketitle -\testsection{pgfplotslist test} -\message{pgfplotslist test}% -{ -\tracingcommands=2 -\tracingmacros=2 -\pgfplotslistnewempty\probe -\pgfplotslistpushback eins\to\probe -\pgfplotslistpushback [probe]\to\probe -\pgfplotslistpushback [probe2]\to\probe -\pgfplotslistpushback [probe3]\to\probe - -Size: \pgfplotslistsize\probe\to{\count0}\the\count0 - -Contents: - -\pgfplotslistforeach\probe\as\curlistelem{\curlistelem \par} - -\pgfplotslistnew\foolist{Eins\\Zwei\\Drei\\}% -\pgfplotslistforeach\foolist\as\foo{Element \foo\par}% - -\testsubsection{select} -\count1=1 -Element \the\count1: \pgfplotslistselect\count1\of\probe\to\elem\elem - -Element 3: \pgfplotslistselect3\of\probe\to\elem\elem - -count1 is now=\the\count1 -\vskip1cm - -\testsubsection{listpopfront} -\pgfplotslistpopfront\probe\to\first -first: \first - -remaining size: \pgfplotslistsize\probe\to{\count0}\the\count0 - -\pgfplotslistpopfront\probe\to\first -first: \first - -remaining size: \pgfplotslistsize\probe\to{\count0}\the\count0 - - -\testsubsection{list concat} -new list: -\pgfplotslistnew\foolist{First Element\\Second Element\\Third Element\\} -\pgfplotslistnew\foolistX{Eins\\Zwei\\} - -Contents: -\pgfplotslistforeach\foolist\as\curlistelem{\curlistelem \par} - -\pgfplotslistconcat\third=\foolist&\foolistX - -Result of concat: -\pgfplotslistforeach\third\as\curlistelem{\curlistelem \par} -} - -\section{pgfplotsarray test} -\message{pgfplotsarray test} -{ -\tracingcommands=2 -\tracingmacros=2 - -\pgfplotsarraynewempty\probe -\pgfplotsarraypushback eins\to\probe -\pgfplotsarraypushback [probe]\to\probe -\pgfplotsarraypushback [probe2]\to\probe -\pgfplotsarraypushback [probe3]\to\probe - -Size: `\pgfplotsarraysize\probe\to{\count0}\the\count0' - -Content: - -\pgfplotsarrayforeach\probe\as\curarrayelem{\curarrayelem \par} - -\testsubsection{Select} -Test list: - -\pgfplotsarraynew\fooarray{Eins\\Zwei\\Drei\\}% -\pgfplotsarrayforeach\fooarray\as\foo{Element \foo\par}% - -Getting elements: - -\count1=1 -Element \the\count1: \pgfplotsarrayselect\count1\of\fooarray\to\elem\elem - -Element 2: \pgfplotsarrayselect2\of\fooarray\to\elem\elem - -\vskip1cm - - -\testsubsection{Copy} - -Copy: -\pgfplotsarraynew\fooarray{Eins\\Zwei\\Drei\\}% -Source: \pgfplotsarrayforeach\fooarray\as\foo{Element \foo\par}% - -\pgfplotsarraycopy\fooarray\to\fooarrayX - -Copy: \pgfplotsarrayforeach\fooarrayX\as\foo{Element \foo\par}% -} - - -\bibliographystyle{gerabbrv} %gerapali} %gerabbrv} %gerunsrt.bst} %gerabbrv}% gerplain} -% \bibliography{literatur.bib} -\end{document} - - |