Hi Hans, can you add a \vspace command which behaves like \hspace but for vertical mode, there are some cases where \blank is not so well suited (i know the \??vs namespace is already used by \blank) \def\definevspace {\dotripleempty\dodefinevspace} \def\dodefinevspace[#1][#2][#3]% {\ifthirdargument \setvalue{\??vs#1:#2}{#3}% \else \setvalue{\??vs:#1}{#2}% \fi} \unexpanded\def\vspace {\dodoubleempty\dohspace} \def\dovspace[#1][#2]% {\ifsecondargument \dodovspace[#1][#2]% \else\iffirstargument \vspace[][#1]% \else \vspace[][\s!default]% \fi\fi} \def\dodovspace[#1][#2]% {\vskip\vspaceamount{#1}{#2}} \def\vspaceamount#1#2% {\executeifdefined{\??vs#1:#2}{\executeifdefined{\??vs:#2}\zeropoint}} Wolfgang
Wolfgang Schuster wrote:
Hi Hans,
can you add a \vspace command which behaves like \hspace but for vertical mode, there are some cases where \blank is not so well suited (i know the \??vs namespace is already used by \blank)
\def\definevspace {\dotripleempty\dodefinevspace}
\def\dodefinevspace[#1][#2][#3]% {\ifthirdargument \setvalue{\??vs#1:#2}{#3}% \else \setvalue{\??vs:#1}{#2}% \fi}
\unexpanded\def\vspace {\dodoubleempty\dohspace}
hm, untested ... ^^^^^^^^^
\def\dovspace[#1][#2]% {\ifsecondargument \dodovspace[#1][#2]% \else\iffirstargument \vspace[][#1]% \else \vspace[][\s!default]% \fi\fi}
\def\dodovspace[#1][#2]% {\vskip\vspaceamount{#1}{#2}}
\def\vspaceamount#1#2% {\executeifdefined{\??vs#1:#2}{\executeifdefined{\??vs:#2}\zeropoint}}
i'm always a bit relucate to let users mess with vertical spacing ... anyhow, in \hspace we clean up preceding space so vspace should behave the same i.e. there should be a \removelastskip before the vskip \def\dodovspace[#1][#2]% {\par \ifvmode \removelastskip \vskip\vspaceamount{#1}{#2}\relax \fi} i'll add it but we should not encourage too much in using it, that is, i'm *not* going to look into spacing related bug reports that use this command 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 23.11.2009 um 11:21 schrieb Hans Hagen:
\unexpanded\def\vspace {\dodoubleempty\dohspace}
hm, untested ... ^^^^^^^^^
D’oh
i'm always a bit relucate to let users mess with vertical spacing ... anyhow, in \hspace we clean up preceding space so vspace should behave the same i.e. there should be a \removelastskip before the vskip
\def\dodovspace[#1][#2]% {\par \ifvmode \removelastskip \vskip\vspaceamount{#1}{#2}\relax \fi}
i'll add it but we should not encourage too much in using it, that is, i'm *not* going to look into spacing related bug reports that use this command
add a note to source nobody else than me should use it :) Wolfgang
Wolfgang Schuster wrote:
add a note to source nobody else than me should use it :)
actually i wanted to say something like that but noticed that you'd posted to the list, probably in order to create a larger momentum -) 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 -----------------------------------------------------------------
On Monday 23 November 2009 11:52:14 Hans Hagen wrote:
Wolfgang Schuster wrote:
add a note to source nobody else than me should use it :)
actually i wanted to say something like that but noticed that you'd posted to the list, probably in order to create a larger momentum -)
Yes, the cat is out of the box now! Alan
Am 2009-11-23 um 13:18 schrieb Alan BRASLAU:
On Monday 23 November 2009 11:52:14 Hans Hagen wrote:
Wolfgang Schuster wrote:
add a note to source nobody else than me should use it :)
actually i wanted to say something like that but noticed that you'd posted to the list, probably in order to create a larger momentum -)
Yes, the cat is out of the box now!
Whee! \vspace! finally! I'll use it everywhere! (Ponies, ponies, ponies!) Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)
Henning Hraban Ramm wrote:
Am 2009-11-23 um 13:18 schrieb Alan BRASLAU:
On Monday 23 November 2009 11:52:14 Hans Hagen wrote:
Wolfgang Schuster wrote:
add a note to source nobody else than me should use it :)
actually i wanted to say something like that but noticed that you'd posted to the list, probably in order to create a larger momentum -)
Yes, the cat is out of the box now!
Whee! \vspace! finally! I'll use it everywhere! (Ponies, ponies, ponies!)
but at your own risk as it can mess up vertical spacing pretty well 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 -----------------------------------------------------------------
Hello all, i have finally made my first typescript. Since i use Adobe Opticals i was happy to find a description on the wiki how to make a typescript for proper use. However i have one little problem (i don´t know if i make something wrong or it is a bug): when i switch to an bodyfont smaller than 13pt my rm typeface don´t work anymore (above all is ok, even opticals). The ss typeface works normally. I´ve attached the typescripts, .tex file, log and the pdf output with some \showbodyfont commands (12pt, 13pt, 14pt) which shows what i mean. Honestly i have to say that i´m understanding typescripts not completely. Please help. best regards Bernhard
Bernhard Rosensteiner wrote:
Hello all,
i have finally made my first typescript. Since i use Adobe Opticals i was happy to find a description on the wiki how to make a typescript for proper use. However i have one little problem (i don´t know if i make something wrong or it is a bug): when i switch to an bodyfont smaller than 13pt my rm typeface don´t work anymore (above all is ok, even opticals). The ss typeface works normally. I´ve attached the typescripts, .tex file, log and the pdf output with some \showbodyfont commands (12pt, 13pt, 14pt) which shows what i mean. Honestly i have to say that i´m understanding typescripts not completely. Please help.
can you try do define the undefined bodyfontenvironments (your extra sizes) using \definebodyfontenvironment[..pt] ----------------------------------------------------------------- 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 -----------------------------------------------------------------
participants (5)
-
Alan BRASLAU
-
Bernhard Rosensteiner
-
Hans Hagen
-
Henning Hraban Ramm
-
Wolfgang Schuster