From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/8703 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: creating writing paper Date: Thu, 18 Jul 2002 11:16:22 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020718111605.031d6748@server-1> References: <001001c22e0d$468e2b10$e8d74ca5@MATTHEW> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035399092 29889 80.91.224.250 (23 Oct 2002 18:51:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:51:32 +0000 (UTC) Cc: Original-To: "Matthew Huggett" In-Reply-To: <001001c22e0d$468e2b10$e8d74ca5@MATTHEW> Xref: main.gmane.org gmane.comp.tex.context:8703 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:8703 At 12:42 PM 7/18/2002 +0900, Matthew Huggett wrote: >Hi: > >I'm teaching English to some young Japanese kids and I need to make some >writing paper for worksheets. >I need the type of paper with a broken (dashed) line between two solid >lines. I have managed to create this with the following TeX code: > >\define\BigWritingLines{% writing lines for young kids >\thinrule >\vskip 7pt >\type{---------------------------------------------------------------------- >-----------} >\vskip 3pt >\thinrule >} > >This works for me, but there must be a more elegant way of making the dashed >line. I'd like to make it so that I don't have to guess how many dashes I >need to fill the line but not break it. > >I've attached a PDF so you can see what I'm after. \starttext \showframe \def\dashfill {\hskip-.25em \cleaders \hbox to .5em {\hss \vrule depth .5pt height.5pt width .25em} \hfill} \hbox to \hsize{\strut \dashfill} \hbox to \hsize{\strut \inleftmargin{monday}\dashfill} \stoptext ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------