Am 14.09.2014 um 21:34 schrieb Pablo Rodriguez <oi...@gmx.es>: > On 09/14/2014 07:57 PM, Wolfgang Schuster wrote: >> Am 14.09.2014 um 17:38 schrieb Pablo Rodriguez <oi...@gmx.es>: >>> [...] >>> How can I center the makeup in the page? >> >> You have to change the layout for the page with your makeup environments >> and set both margins to the same value. Changing the layout for a makeup >> environment is very easy because when you create a new environment >> with \definemakup context creates also a new page layout with the same >> name which can be changed with the \setuplayout command. >> >> \definemakeup >> [custom] >> [width=.5\textwidth] >> >> \setuplayout >> [custom] >> [width=middle] >> >> \showframe >> >> \starttext >> >> \startmakeup [custom] >> \input ward >> \stopmakeup >> >> \input ward >> >> \stoptext > > Many thanks for your reply, Wolfgang. > > I’m afraid that it doesn’t work using latest beta from 2014.09.06 20:59. > > Is this a bug?
I didn’t notice your width setting for the makeup environment. What you try to achieve doesn’t work this way, when you want a narrow and centered are for the text you have to set wide margins in the layout, e.g. \definemakeup[custom] \setuplayout [custom] [backspace=6cm, width=middle] \showframe \starttext \startmakeup [custom] \input ward \stopmakeup \input ward \stoptext or you put the text in a centered framed text environment (your still need \setuplayout to get equal margins for the page), e.g. \definemakeup[custom] \setuplayout [custom] [width=middle] \showframe \starttext \startmakeup [custom] \startframedtext[middle][frame=off,width=.5\textwidth] \input ward \stopframedtext \stopmakeup \input ward \stoptext 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 ___________________________________________________________________________________