* how to make "\getmarking[title]" show using default font size? [not found] <mailman.1.1311588002.31726.ntg-context@ntg.nl> @ 2011-07-25 22:37 ` Jeong Dalyoung 2011-07-26 4:04 ` solved-how " Jeong Dalyoung 1 sibling, 0 replies; 3+ messages in thread From: Jeong Dalyoung @ 2011-07-25 22:37 UTC (permalink / raw) To: ntg-context Dear all, For the header text, I used \getmarking as follows: \setupheadertexts[][{\getmarking[{\v!title}]}] Then it showed title in the header as shown in the text which is bigger than default bodyfont size. It is rather big for the header text. How to make it using the default font size or smaller one? Thank you. Best regards, Dalyoung ___________________________________________________________________________________ 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
* solved-how to make "\getmarking[title]" show using default font size? [not found] <mailman.1.1311588002.31726.ntg-context@ntg.nl> 2011-07-25 22:37 ` how to make "\getmarking[title]" show using default font size? Jeong Dalyoung @ 2011-07-26 4:04 ` Jeong Dalyoung 2011-07-26 8:36 ` Wolfgang Schuster 1 sibling, 1 reply; 3+ messages in thread From: Jeong Dalyoung @ 2011-07-26 4:04 UTC (permalink / raw) To: ntg-context Dear all, For the header text, I used \getmarking as follows: \setupheadertexts[][{\getmarking[{\v!title}]}] ***** This problem comes from my setting which is as follows: \title{\ss\bf\tfb Title} I changed it by using the definition as follows: \def\Mytitle#1{% \framedtext [width=\overlaywidth, height=5\bodyfontsize, background=color, backgroundcolor=lightgray, offset=2pt, strut=no, frame=off, align=middle, top=\vss, bottom=\vss]{ \sans #1} } \setuphead[title][textcommand=\Mytitle] This makes everything fine. Thank you for reading. Best regards, Dalyoung ___________________________________________________________________________________ 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: solved-how to make "\getmarking[title]" show using default font size? 2011-07-26 4:04 ` solved-how " Jeong Dalyoung @ 2011-07-26 8:36 ` Wolfgang Schuster 0 siblings, 0 replies; 3+ messages in thread From: Wolfgang Schuster @ 2011-07-26 8:36 UTC (permalink / raw) To: mailing list for ConTeXt users Am 26.07.2011 um 06:04 schrieb Jeong Dalyoung: > Dear all, > > For the header text, I used \getmarking as follows: > > \setupheadertexts[][{\getmarking[{\v!title}]}] > > ***** > This problem comes from my setting which is as follows: > > \title{\ss\bf\tfb Title} > > I changed it by using the definition as follows: > > \def\Mytitle#1{% > \framedtext > [width=\overlaywidth, > height=5\bodyfontsize, > background=color, > backgroundcolor=lightgray, > offset=2pt, > strut=no, > frame=off, > align=middle, > top=\vss, > bottom=\vss]{ > \sans #1} } > > \setuphead[title][textcommand=\Mytitle] > > This makes everything fine. Don’t set the font style with the argument of the \title command, use \setuphead. \setupheadertexts[][title] \define[2]\Mytitle {\framedtext [width=broad, height=5\bodyfontsize, background=color, backgroundcolor=lightgray, offset=2pt, strut=no, frame=off, align={middle,middle}] {#2}} \setuphead [title] [command=\Mytitle, style=\ssbfb] % \ss\bfb \setupheader[style=\ssb] % \ss\tfb \starttext \title{Title} \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
end of thread, other threads:[~2011-07-26 8:36 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <mailman.1.1311588002.31726.ntg-context@ntg.nl> 2011-07-25 22:37 ` how to make "\getmarking[title]" show using default font size? Jeong Dalyoung 2011-07-26 4:04 ` solved-how " Jeong Dalyoung 2011-07-26 8:36 ` Wolfgang Schuster
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).