* Re: solved-how to make "\getmarking[title]" show using default font size? (Wolfgang Schuster)
[not found] <mailman.2330.1311669372.4231.ntg-context@ntg.nl>
@ 2011-07-28 0:32 ` Jeong Dalyoung
2011-07-28 8:05 ` Wolfgang Schuster
0 siblings, 1 reply; 2+ messages in thread
From: Jeong Dalyoung @ 2011-07-28 0:32 UTC (permalink / raw)
To: ntg-context
Dear Wolfgang,
Thank you for your help.
> Don?t set the font style with the argument of the \title command, use \setuphead.
I'll keep in mind.
> \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
>
Why is the number of arguments 2? What is #1 for?
One more question about \startfiguretext.
\startitemize
\item first item
\startfiguretext[right][]{}
{\externalfigure[cow][width=.3\makeupwidth]}
\startitemize
\item 11111
\item 22222
\item 33333
\stopitemize
\stopfiguretext
\item second item
\stopitemize
gives no error, but 11111, 22222 starts from the very beginning of the the text line. It ignores the indentation affected by \item first item. Is it normal? Then, how to keep the indentation caused by \startitemize?
Thank you again.
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] 2+ messages in thread
* Re: solved-how to make "\getmarking[title]" show using default font size? (Wolfgang Schuster)
2011-07-28 0:32 ` solved-how to make "\getmarking[title]" show using default font size? (Wolfgang Schuster) Jeong Dalyoung
@ 2011-07-28 8:05 ` Wolfgang Schuster
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2011-07-28 8:05 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 28.07.2011 um 02:32 schrieb Jeong Dalyoung:
> Dear Wolfgang,
>
> Thank you for your help.
>
>> Don?t set the font style with the argument of the \title command, use \setuphead.
>
> I'll keep in mind.
>
>> \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
>>
>
> Why is the number of arguments 2? What is #1 for?
#1 : Number (not necessary in your case)
#2 : Text
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] 2+ messages in thread
end of thread, other threads:[~2011-07-28 8:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <mailman.2330.1311669372.4231.ntg-context@ntg.nl>
2011-07-28 0:32 ` solved-how to make "\getmarking[title]" show using default font size? (Wolfgang Schuster) Jeong Dalyoung
2011-07-28 8:05 ` 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).