* Heading Font Size and Figures in Headings
@ 2011-07-06 10:13 H. Hodges
2011-07-06 10:18 ` luigi scarso
0 siblings, 1 reply; 4+ messages in thread
From: H. Hodges @ 2011-07-06 10:13 UTC (permalink / raw)
To: ntg-context
What is the \setuphead option to set font size?
I have some small icons that I would like to place on the same line as some of
my section titles. I would also like these icons to appear in the table of
contents.The code I'm using:
\section{\placefigure[force]{none}{\externalfigure[timers]}Timers}.
I cannot get the placement correct. Instead of being aligned with and to the
left of the section title, the figure appears centered on the page a couple of
lines above it, in both the text body and the table of contents. I've tried
other options besides [force]: [left], [here], [line], the result is always the
same.
___________________________________________________________________________________
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] 4+ messages in thread
* Re: Heading Font Size and Figures in Headings
2011-07-06 10:13 Heading Font Size and Figures in Headings H. Hodges
@ 2011-07-06 10:18 ` luigi scarso
2011-07-06 10:27 ` H. Hodges
0 siblings, 1 reply; 4+ messages in thread
From: luigi scarso @ 2011-07-06 10:18 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Wed, Jul 6, 2011 at 12:13 PM, H. Hodges <freelancer.hodges@gmail.com> wrote:
> What is the \setuphead option to set font size?
textstyles
http://wiki.contextgarden.net/Titles
>
> I have some small icons that I would like to place on the same line as some of
> my section titles. I would also like these icons to appear in the table of
> contents.The code I'm using:
>
> \section{\placefigure[force]{none}{\externalfigure[timers]}Timers}.
>
> I cannot get the placement correct. Instead of being aligned with and to the
> left of the section title, the figure appears centered on the page a couple of
> lines above it, in both the text body and the table of contents. I've tried
> other options besides [force]: [left], [here], [line], the result is always the
> same.
what about
\section{\hbox{\externalfigure[timers]}Timers}}.
?
--
luigi
___________________________________________________________________________________
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] 4+ messages in thread
* Re: Heading Font Size and Figures in Headings
2011-07-06 10:18 ` luigi scarso
@ 2011-07-06 10:27 ` H. Hodges
2011-07-06 10:34 ` luigi scarso
0 siblings, 1 reply; 4+ messages in thread
From: H. Hodges @ 2011-07-06 10:27 UTC (permalink / raw)
To: ntg-context
Thanks. That worked great.
luigi scarso <luigi.scarso <at> gmail.com> writes:
> On Wed, Jul 6, 2011 at 12:13 PM, H. Hodges <freelancer.hodges <at> gmail.com>
wrote:
> > What is the \setuphead option to set font size?
> textstyles
> http://wiki.contextgarden.net/Titles
>
> what about
> \section{\hbox{\externalfigure[timers]}Timers}}.
___________________________________________________________________________________
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] 4+ messages in thread
* Re: Heading Font Size and Figures in Headings
2011-07-06 10:27 ` H. Hodges
@ 2011-07-06 10:34 ` luigi scarso
0 siblings, 0 replies; 4+ messages in thread
From: luigi scarso @ 2011-07-06 10:34 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Wed, Jul 6, 2011 at 12:27 PM, H. Hodges <freelancer.hodges@gmail.com> wrote:
> Thanks. That worked great.
See also "Aligned boxes" in ConTeXt the manual
--
luigi
___________________________________________________________________________________
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] 4+ messages in thread
end of thread, other threads:[~2011-07-06 10:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-06 10:13 Heading Font Size and Figures in Headings H. Hodges
2011-07-06 10:18 ` luigi scarso
2011-07-06 10:27 ` H. Hodges
2011-07-06 10:34 ` luigi scarso
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).