2007/4/25, Patrick Gundlach
Hello Thomas,
[...]
Try: \definetypeface [chaparral] [ss][sans] [myriad] [default] [encoding=texnansi]
great! This works. Thanks (also to Wolfgang). Now another question: I'd like to set the interlinespace for \rm only.
My attempt:
\definebodyfontenvironment [chaparral][14pt][interlinespace=20pt]
changes the interlinespace for all fonts and
\definebodyfontenvironment [Serif][14pt][interlinespace=20pt]
does 'nothing' (no changed interlinespace at all)
This is my setup: -------------------------------------------------- \definetypeface [foo] [rm][serif] [chaparral][default][encoding=texnansi] \definetypeface [foo] [ss][sans] [myriad][default][encoding=texnansi] \definetypeface [foo] [tt][mono] [modern][computer-modern] [encoding=texnansi]
\definebodyfontenvironment [foo][14pt][interlinespace=20pt] \setupbodyfont[foo,14pt] --------------------------------------------------
Any idea how to setup interlinespace for rm, ss and tt differently?
My application: I have normal text (\rm) and some code samples and I'd like to have fewer interlinespace in the code samples. Of course I could put some code in the setup for the code samples (\setupinterlinespace[line=xxxpt]??) and this would be the fallback solution. Thinking of it, this might even be the best solution...
Patrick
Hi Patrick, can you try the following setup \definebodyfontenvironment[chaparral][14pt][interlinespace=20pt] Wolfgang