Thanks.
a) kern?
or
b) choose a font with a longer em dash?
ok. Let's try a). As:
{\rtf1\ansi{\fonttbl\f0\fswiss Times;}\f0\pard\fs20
This is a dash - .\line
This is an endash \endash .\line
This is an emdash \emdash .\line
This is two emdashes \emdash\emdash .\line
This is a 2-emdash {\expnd-5 \emdash\emdash} .\line
This is three emdashes \emdash\emdash\emdash .\line
This is a 3-emdash {\expnd-5 \emdash\emdash\emdash} .\line
}
With a point size of 10 above, is there a better way to
pick the number in \expnd-5 other than the trial and
error I used?
Thanks.
Have you considered just drawing a line and then duplicating that line and
positioning the duplicates as needed?
_______________________________________________________________________________
http://www.lulu.com/billsey
If the emdash has straight ends cant you just use \charscalex200 ?
Jukka
> Just concatenating \emdash\emdash\emdash
> puts spaces between the emdashes.
No, it doesn't. That's just three em-dashes in sequence.
Whether these em-dashes connect, depends on the font only.
em-dash and en-dash are different in different fonts.
Some have a small white space on both sides, and some haven't.
--
Solipsists of the world - unite!
I really meant leaves space between...
> No, it doesn't. That's just three em-dashes in sequence.
> Whether these em-dashes connect, depends on the font only.
> em-dash and en-dash are different in different fonts.
> Some have a small white space on both sides, and some haven't.
Indeed.
I briefly tried drawing a line, but for some reason my rtf didn't
display anything. This is my first time trying to write rtf.
I learn best from complete examples that work.
Sounds good from the manual:
\charscalexN Character scaling value. The N argument is a value
representing a percentage (the default is 100).
but if I code it like:
{\rtf1\ansi{\fonttbl\f0\fswiss Times;}\f0\pard\fs20
This is a dash - .\line
This is an endash \endash .\line
This is an emdash \emdash .\line
This is two emdashes \emdash\emdash .\line
This is a 2-emdash {\expnd-5 \emdash\emdash} .\line
This is a 2-emdash {\charscalex200\emdash} .\line
This is three emdashes \emdash\emdash\emdash .\line
This is a 3-emdash {\expnd-5 \emdash\emdash\emdash} .\line
This is a 3-emdash {\charscalex300\emdash} .\line
}
The lines using \charscalex both only display a single length
\emdash . Am I missing some code to make \charscalex work?
Thanks.
Just looking at the code snippet you have above, and not looking at a
manual, it seems to me you might need a space before the "\emdash" as
you have with the expnd command.
The above sample is what I tried after the one with the spaces
failed. It was met with the same failure. :-(
Wouldn't life be a whole heck of a lot easier if you just used
OpenOffice.org and drew the line, then duplicated it like I suggested
instead of trying to "write RTF" in the raw?
_______________________________________________________________________________
http://www.lulu.com/billsey