[NTG-context] default parameter in \definefont

Wolfgang Schuster wolfgang.schuster at gmail.com
Wed Feb 27 12:19:40 CET 2013


Am 26.02.2013 um 16:04 schrieb john Culleton <John at wexfordpress.com>:

> I hesitate to trouble you with a string of questions,
> one by one. Right now the two critical files are:
> \input formatting.tex
> -----------------------------------------------
> 
> \usemodule [simplefonts]
> \definefont [titlefont][MyriadPro-Bold*default at 70bp]
> \definefont [subtitle][MyriadPro-Bold*default at 25bp]
> \definefont [gauthor][MinionPro-Regular*default at 25bp]
> -----------------------------------------------

\startenvironment[formatting]

\usemodule [simplefonts]
\definefont [titlefont][MyriadPro-Bold*default at 70bp]
\definefont [subtitle][MyriadPro-Bold*default at 25bp]
\definefont [gauthor][MinionPro-Regular*default at 25bp]

\stopenvironment

> followed by:
> \input title.tex

\component[title]

> ---------------------------------------------
> \startstandardmakeup[align=middle]
> 
> \startstyle[titlefont]
>  Classic COBOL
> \stopstyle
> 
> \vfil
> 
> \style[subtitle]{A Concise Guide}
> 
> \vfil
> \null
> \vfil
> \style[gauthor]{John Culleton}
> \vfil
> \style[subtitle]{Wexford Press}
> \stopstandardmakeup
> --------------------------------


\environment[formatting]

\startcomponent[title]

\startstandardmakeup[align=middle]

…

\stopstandardmakeup

\stopcomponent

When you use \startcomponent etc. you can compile individual parts of your
document whig is faster when you want to check the content of them.

Wolfgang

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20130227/1f9b7250/attachment.html>


More information about the ntg-context mailing list