On 4-10-2010 6:13, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
Hello,
let's have the following example:
--- \starttext
\tt \input tufte
\hairline
\tfx \input tufte
\hairline
\tfxx \input tufte
\stoptext ---
When I look at the result, I see the smaller font the bigger "gap" between lines (or this may be taken as "line height" relative to letter height).
\starttext \start \tt \input tufte \par \stop \hairline \start \ttx \input tufte \par \stop \hairline \start \ttxx \setupinterlinespace \input tufte \par \stop \hairline \start \switchtobodyfont[6pt,tt] \input tufte \par \stop \stoptext
As I would need to type many datafiles, it's important for me to reduce line height, even if readability of the text becomes a bit worse.
Is it possible to achieve this anyhow?
Another question:
How to force new line and new page to start?
- LaTeX provides \newline, \newpage\ linebreak and \pagebreak commands - see e.g. http://www.personal.ceu.hu/tex/breaking.htm.
\crlf (forced newline with strut, no whitespace) \par (regular par break) \page (pagebreak) \break (linebreak)
Does ConTeXt provide similar commands? Or how to achieve this?
Regards,
Lukas
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------