Hi, When using the \startstandardmakeup ... \stopstandardmakeup the text gets vertically centered on the page. Normally \setupmakeup[standard][top=,bottom=] would produce the text vertically aligned normally. However in the beta of today \setupmakeup[standard][top=,bottom=] has no effect and the text is aligned vertically centered. - Do I miss something? Willi
On 19-10-2011 17:05, Willi Egger wrote:
Hi,
When using the \startstandardmakeup ... \stopstandardmakeup the text gets vertically centered on the page. Normally \setupmakeup[standard][top=,bottom=] would produce the text vertically aligned normally. However in the beta of today \setupmakeup[standard][top=,bottom=] has no effect and the text is aligned vertically centered. - Do I miss something?
afaik nothing has been changes in that code for a while ----------------------------------------------------------------- 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 -----------------------------------------------------------------
Am 19.10.2011 um 17:05 schrieb Willi Egger:
Hi,
When using the \startstandardmakeup ... \stopstandardmakeup the text gets vertically centered on the page. Normally \setupmakeup[standard][top=,bottom=] would produce the text vertically aligned normally. However in the beta of today \setupmakeup[standard][top=,bottom=] has no effect and the text is aligned vertically centered. - Do I miss something?
Make a example, I can’t reproduce your mentioned results. Wolfgang
On 19-10-2011 19:54, Wolfgang Schuster wrote:
Am 19.10.2011 um 17:05 schrieb Willi Egger:
Hi,
When using the \startstandardmakeup ... \stopstandardmakeup the text gets vertically centered on the page. Normally \setupmakeup[standard][top=,bottom=] would produce the text vertically aligned normally. However in the beta of today \setupmakeup[standard][top=,bottom=] has no effect and the text is aligned vertically centered. - Do I miss something?
Make a example, I can’t reproduce your mentioned results.
FYI (and setups project): I just mkvi'd the code so we have chaining. Also it wil use a defined layout with the same name if defined. Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
Hi, Hans told me, that one needs to set before and after for the lines to nil. Indeed that solves the problem as long as you do not want to insert extra white space between the lines. The effect of moving down the lines occurs also with inserting an empty line. \setupmakeup[standard][top=,bottom=] \setuplines[before=,after=] \starttext \startstandardmakeup[doublesided=no,page=yes] \strut \godown[.25\textheight] \startalignment[middle] \startlines {\bfd Der Titel} \blank[line] {\bf De Untertitel} \stoplines \stopalignment \stopstandardmakeup \stoptext Willi On 19 Oct 2011, at 19:54, Wolfgang Schuster wrote:
Am 19.10.2011 um 17:05 schrieb Willi Egger:
Hi,
When using the \startstandardmakeup ... \stopstandardmakeup the text gets vertically centered on the page. Normally \setupmakeup[standard][top=,bottom=] would produce the text vertically aligned normally. However in the beta of today \setupmakeup[standard][top=,bottom=] has no effect and the text is aligned vertically centered. - Do I miss something?
Make a example, I can’t reproduce your mentioned results.
Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________
Am 19.10.2011 um 22:03 schrieb Willi Egger:
Hi,
Hans told me, that one needs to set before and after for the lines to nil. Indeed that solves the problem as long as you do not want to insert extra white space between the lines. The effect of moving down the lines occurs also with inserting an empty line.
Add \vfill before \stopstandardmakeup.
\setupmakeup[standard][top=,bottom=] \setuplines[before=,after=]
\starttext \startstandardmakeup[doublesided=no,page=yes] \strut \godown[.25\textheight] \startalignment[middle] \startlines {\bfd Der Titel} \blank[line] {\bf De Untertitel} \stoplines \stopalignment \stopstandardmakeup \stoptext
You don’t need the lines environment because with the blank you get two separate lines and the \strut is a bad idea because you get at the top a extra line with the command. \startstandardmakeup[doublesided=no,align=middle,page=yes] \godown[.25\textheight] {\bfd Der Titel} \blank[line] {\bf De Untertitel} \vfill \stopstandardmakeup Wolfgang
Thank you Wolfgang. I do not remember but there was a time where \godown would not work without the strut. So I have mistaken this. And indeed the result is ok whithout the start- stoplines. Thanks! Willi On 20 Oct 2011, at 15:42, Wolfgang Schuster wrote:
Am 19.10.2011 um 22:03 schrieb Willi Egger:
Hi,
Hans told me, that one needs to set before and after for the lines to nil. Indeed that solves the problem as long as you do not want to insert extra white space between the lines. The effect of moving down the lines occurs also with inserting an empty line.
Add \vfill before \stopstandardmakeup.
\setupmakeup[standard][top=,bottom=] \setuplines[before=,after=]
\starttext \startstandardmakeup[doublesided=no,page=yes] \strut \godown[.25\textheight] \startalignment[middle] \startlines {\bfd Der Titel} \blank[line] {\bf De Untertitel} \stoplines \stopalignment \stopstandardmakeup \stoptext
You don’t need the lines environment because with the blank you get two separate lines and the \strut is a bad idea because you get at the top a extra line with the command.
\startstandardmakeup[doublesided=no,align=middle,page=yes] \godown[.25\textheight] {\bfd Der Titel} \blank[line] {\bf De Untertitel} \vfill \stopstandardmakeup
Wolfgang
___________________________________________________________________________________ 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 ___________________________________________________________________________________
Am 21.10.2011 um 21:01 schrieb Willi Egger:
Thank you Wolfgang.
I do not remember but there was a time where \godown would not work without the strut. So I have mistaken this.
The makeup environments put the content in a \vbox and at the begin of a \vbox a vertical skip isn’t discarded as it would happen when you have it at the begin of a new page but in such a case you can use “\blank[force,…]”. Wolfgang
participants (3)
-
Hans Hagen
-
Willi Egger
-
Wolfgang Schuster