ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jeong Dalyoung <haksan@me.com>
To: ntg-context@ntg.nl
Subject: solved-how to make "\getmarking[title]" show using default font size?
Date: Tue, 26 Jul 2011 13:04:00 +0900	[thread overview]
Message-ID: <10F40120-D3C5-40E0-A822-B0E4B6DEA28D@me.com> (raw)
In-Reply-To: <mailman.1.1311588002.31726.ntg-context@ntg.nl>

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
___________________________________________________________________________________


  parent reply	other threads:[~2011-07-26  4:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1.1311588002.31726.ntg-context@ntg.nl>
2011-07-25 22:37 ` how " Jeong Dalyoung
2011-07-26  4:04 ` Jeong Dalyoung [this message]
2011-07-26  8:36   ` solved-how " Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=10F40120-D3C5-40E0-A822-B0E4B6DEA28D@me.com \
    --to=haksan@me.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).