ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Lutz Haseloff" <Lutz.Haseloff@lbapdm.brandenburg.de>
Cc: <ntg-context@ntg.nl>
Subject: AW: creating writing paper
Date: Thu, 18 Jul 2002 06:56:57 +0200	[thread overview]
Message-ID: <000301c22e17$8b7807a0$6c65d50a@nthaselofl> (raw)
In-Reply-To: <001001c22e0d$468e2b10$e8d74ca5@MATTHEW>

> -----Ursprüngliche Nachricht-----
> Von: owner-ntg-context@let.uu.nl 
> [mailto:owner-ntg-context@let.uu.nl] Im Auftrag von Matthew Huggett
> Gesendet: Donnerstag, 18. Juli 2002 05:43
> An: ntg-context@ntg.nl
> Betreff: creating writing paper
> 
> 
> 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.
> 
> 
> Any suggestions would be appreciated.
> Thanks.
> 
> Matthew Huggett
> Hiratsuka, Japan
> 
> 

You can try:

\def\dashfill{\leaders\hbox{-}\hfill}

\line{\strut\dashfill\strut}

I found it in the TeXbook (p. 223)

Greetings

Lutz


  reply	other threads:[~2002-07-18  4:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-18  3:42 Matthew Huggett
2002-07-18  4:56 ` Lutz Haseloff [this message]
2002-07-18  9:16 ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000301c22e17$8b7807a0$6c65d50a@nthaselofl' \
    --to=lutz.haseloff@lbapdm.brandenburg.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).