newbie question (\crlf)
Hello, Sorry for a dumb TeX newbie question:: why 'version' does NOT begin from a new line? \define[2]\maketitlepage{\centeredbox{{\bfd #1}\crlf {Version #2}}} \starttext \maketitlepage{My Manual}{1.0} \stoptext Regards, Vyatcheslav
Vyatcheslav Yatskovsky wrote:
Hello,
Sorry for a dumb TeX newbie question:: why 'version' does NOT begin from a new line?
\define[2]\maketitlepage{\centeredbox{{\bfd #1}\crlf {Version #2}}}
\starttext
\maketitlepage{My Manual}{1.0}
\stoptext
is an hbox ... maybe use: \define[2]\maketitlepage {\midaligned{\bfd #1} \blank \midaligned{Version #2}} ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Am 26.05.2009 um 18:31 schrieb Hans Hagen:
Vyatcheslav Yatskovsky wrote:
Hello, Sorry for a dumb TeX newbie question:: why 'version' does NOT begin from a new line? \define[2]\maketitlepage{\centeredbox{{\bfd #1}\crlf {Version #2}}} \starttext \maketitlepage{My Manual}{1.0} \stoptext
is an hbox ...
maybe use:
\define[2]\maketitlepage {\midaligned{\bfd #1} \blank \midaligned{Version #2}}
I think it's more: \define[2]\maketitlepage {\starttextmakeup[align=middle] {\bfd#1} \blank Version #2 \stoptextmakeup} Wolfgang
Wolfgang Schuster wrote:
Am 26.05.2009 um 18:31 schrieb Hans Hagen:
Vyatcheslav Yatskovsky wrote:
Hello, Sorry for a dumb TeX newbie question:: why 'version' does NOT begin from a new line? \define[2]\maketitlepage{\centeredbox{{\bfd #1}\crlf {Version #2}}} \starttext \maketitlepage{My Manual}{1.0} \stoptext
is an hbox ...
maybe use:
\define[2]\maketitlepage {\midaligned{\bfd #1} \blank \midaligned{Version #2}}
I think it's more:
\define[2]\maketitlepage {\starttextmakeup[align=middle] {\bfd#1} \blank Version #2 \stoptextmakeup}
sure, although in the case of a real titlepage i nowadays always tend to set up a layer in combination with a makeup Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Am 26.05.2009 um 19:22 schrieb Hans Hagen:
sure, although in the case of a real titlepage i nowadays always tend to set up a layer in combination with a makeup
me too, it gives more control about the placement of the texts but for the beginning a simple markup env with centered text is enough and faster to write, a more fancy layout can be done later Wolfgang
participants (3)
-
Hans Hagen
-
Vyatcheslav Yatskovsky
-
Wolfgang Schuster