File: multido-test.tex

package info (click to toggle)
tetex-src 3.0.dfsg.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 122,292 kB
  • ctags: 2,709
  • sloc: makefile: 2,323; perl: 1,820; sh: 1,378; lisp: 448; python: 335; xml: 175; sed: 138; ansic: 138; yacc: 52
file content (27 lines) | stat: -rw-r--r-- 495 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

\listfiles\errorcontextlines=100
\documentclass{article}

%\usepackage{fp}
%\input{multido}
\usepackage{multido}[2004/05/15]
\usepackage{fp}

\begin{document}

\typeout{\meaning\FPadd}
\typeout{\meaning\FPsub}
\typeout{\meaning\fpAdd}
\typeout{\meaning\fpSub}

\setlength{\unitlength}{1cm}

\begin{picture}(8,1)(0,-.5)
  \small
  \put(0,0){\vector(1,0){8}}
  \multido{\i=0+1,\n=0+0.25}{8}{%
    \put(\i,-.1){\line(0,1){.2}}
    \put(\i,-.2){\makebox(0,0)[t]{\n}}}
\end{picture}

\end{document}