* creating writing paper
@ 2002-07-18 3:42 Matthew Huggett
2002-07-18 4:56 ` AW: " Lutz Haseloff
2002-07-18 9:16 ` Hans Hagen
0 siblings, 2 replies; 3+ messages in thread
From: Matthew Huggett @ 2002-07-18 3:42 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 762 bytes --]
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
[-- Attachment #2: Days1-2WS.pdf --]
[-- Type: application/pdf, Size: 17333 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* AW: creating writing paper
2002-07-18 3:42 creating writing paper Matthew Huggett
@ 2002-07-18 4:56 ` Lutz Haseloff
2002-07-18 9:16 ` Hans Hagen
1 sibling, 0 replies; 3+ messages in thread
From: Lutz Haseloff @ 2002-07-18 4:56 UTC (permalink / raw)
Cc: ntg-context
> -----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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: creating writing paper
2002-07-18 3:42 creating writing paper Matthew Huggett
2002-07-18 4:56 ` AW: " Lutz Haseloff
@ 2002-07-18 9:16 ` Hans Hagen
1 sibling, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2002-07-18 9:16 UTC (permalink / raw)
Cc: ntg-context
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
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-07-18 9:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-18 3:42 creating writing paper Matthew Huggett
2002-07-18 4:56 ` AW: " Lutz Haseloff
2002-07-18 9:16 ` Hans Hagen
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).