* Makeup layout @ 2013-05-15 3:01 Andrew Bernard 2013-05-15 6:56 ` Wolfgang Schuster 0 siblings, 1 reply; 3+ messages in thread From: Andrew Bernard @ 2013-05-15 3:01 UTC (permalink / raw) To: ntg-context Greetings list, A newbie question: how does one adjust the vertical position of text in a makeup block for a title page? It seems to go on the centre no matter what. The voffset and hoffset parameters appear to have no effect. I have heard that layers can be used. But there is no section on layers in the current reference manual. Where does one find information on this aspect of ConTeXt? Andrew ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Makeup layout 2013-05-15 3:01 Makeup layout Andrew Bernard @ 2013-05-15 6:56 ` Wolfgang Schuster 2013-05-15 11:57 ` Sietse Brouwer 0 siblings, 1 reply; 3+ messages in thread From: Wolfgang Schuster @ 2013-05-15 6:56 UTC (permalink / raw) To: mailing list for ConTeXt users Am 15.05.2013 um 05:01 schrieb Andrew Bernard <andrew.bernard@gmail.com>: > Greetings list, > > A newbie question: how does one adjust the vertical position of text in a makeup block for a title page? It seems to go on the centre no matter what. The voffset and hoffset parameters appear to have no effect. You have to use the \vfill command to push the content up/down. \showframe[text][text] \starttext \startmakeup[standard][bottom=\vfill] Top aligned \stopmakeup \startmakeup[standard][top=\vfill] Bottom aligned \stopmakeup \startmakeup[standard][top=\vfill,bottom=\vfill\vfill] High aligned \stopmakeup \startmakeup[standard][top=\vfill\vfill,bottom=\vfill] Low aligned \stopmakeup \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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Makeup layout 2013-05-15 6:56 ` Wolfgang Schuster @ 2013-05-15 11:57 ` Sietse Brouwer 0 siblings, 0 replies; 3+ messages in thread From: Sietse Brouwer @ 2013-05-15 11:57 UTC (permalink / raw) To: mailing list for ConTeXt users Hi Andrew, Andrew wrote: > I have heard that layers can be used. But there > is no section on layers in the current reference > manual. Where does one find information on this > aspect of ConTeXt? You are right that there is no complete, from-the-ground-up, description and explanation of the layers mechanism. A reasonably good text, however, is in the MetaFun manual [1,2]: section 5.3 (Positional graphics > More layers). The "Pseudo columns" (pdfpages 11-13) section of the "It's in the details" manual [13 is shorter and covers only a few specific use cases, but it's a nice little start and has some information that the MetaFun manual does not have. The MWE below is based mainly on that text. NB: I rarely use layers, so the MWE may not reflect best practices. [1] print version: http://www.pragma-ade.com/general/manuals/metafun-p.pdf [2] screen version: http://www.pragma-ade.com/general/manuals/metafun-s.pdf [3] http://www.pragma-ade.com/general/manuals/details.pdf I hope this will help you on your way a bit! Best wishes, Sietse \setuppapersize[A6] \setuplayout [columns=3, % add a horizontal grid, 3 equal columns columndistance=12pt,]% 12 pt(?) distance between them % The layer `textlayer` will be the background % of the `text` typesetting area. \definelayer[textlayer] \setupbackgrounds [text] [background=textlayer] \showgrid % make the mechanism visible \starttext % Start the title page, sans page number etc. \startstandardmakeup % Using column and line positions the left end of the box's % baseline \setlayer [textlayer] [column=3,line=10,location=grid] {\ruledvtop {\hsize\layoutcolumnwidth \definedfont[Regular sa 2]nitty-\par gritty}} % Using x and y offsets the top left of the box from the top % left corner \setlayer [textlayer] [x=1cm, y=1cm] {\blackrule[width=1cm, height=1cm]} \setlayer [textlayer] [x=1cm, line=10] {\ruledvtop {\hsize\layoutcolumnwidth \definedfont[Regular sa 2]This \par is}} \stopstandardmakeup \stoptext ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-05-15 11:57 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2013-05-15 3:01 Makeup layout Andrew Bernard 2013-05-15 6:56 ` Wolfgang Schuster 2013-05-15 11:57 ` Sietse Brouwer
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).