Programming Structure
@Image tuhring.jpg 250px>
- Not Tuhring Consistent...
- Define a TeX string:
\def\CaseText{Horisontal};
- Define a number:
\pgfmathparse{90} \let\Angle\pgfmathresult;
\pgfmathparse{cos(\Angle)} \let\LCos\pgfmathresult;
- Input:
\input{path/to/file}
- Foreach:
\foreach \n in {1,2,3,4,5,6,7}
{
\draw (0,\n) node[left] {\n};
}
- If (numerical test):
\pgfmathparse{3*pi/4} \let\LIMIT\pgfmathresult;
\ifthenelse{\lengthtest{ \Angle pt < \LIMIT pt}}
{
\pgfmathparse{3} \let\Case\pgfmathresult;
\def\CaseText{II.b};;
}