[pstricks] Simulating Lined paper

Herbert Voss Herbert.Voss at FU-Berlin.DE
Tue May 5 17:51:13 CEST 2009


Chapman, Geoff schrieb:

> I am trying to simulate lined paper in a Powerdot slide.  I have
> generated the code below which spaces the lines OK but they are all
> shifted relative to the text. How do I adjust the code so any text rests
> on the lines? 
> 
>  
> 
> \multido{\n=1+1}{19}{\psline[linecolor=blue!30,linewidth=.3pt]%
> 
> (-.01\slidewidth,\n\baselineskip)(1.01\slidewidth,\n\baselineskip)

\documentclass[style=simple]{powerdot}
\usepackage{multido}
\SpecialCoor
\pagestyle{empty}
\begin{document}

\begin{wideslide}{}
\multido{\n=0+-1}{16}{%
  \psline[linecolor=blue!30,linewidth=.3pt](-1cm,\n\baselineskip)%
  (\slidewidth,\n\baselineskip)}
\end{wideslide}

\end{document}


Herbert


More information about the PSTricks mailing list