Re: [NTG-context] Bolding the words "Figure 2-1"

2007-02-14 Thread Wolfgang Schuster
On Wed, 14 Feb 2007 08:11:37 -0500
"John R. Culleton" <[EMAIL PROTECTED]> wrote:

> I too am stuck in specification hell. The specifier is ovenamored of 
> stretching text and the like. I worked through that with the TeX/LaTeX macro 
> soul.sty. 
> 
>  My immediate problem is with putting the 
> caption of a table in a different font.  Currently I have:
> 
> \setupcaptions[location=top,headstyle=bold,style=bold]
> 
> \placefigure[here][tab:comp]{Comparison of Corporate and
> Government Bond Portfolios} {
> etc.
> ---
> Currently I get the caption in bold but the string "Figure 2-1" is not in 
> bold. 

Hi John,

the floattext is written by default in bold style, please look if you
changed it somewhere in your document by \setupcation[style=...] or
\setupcaption[figure][style=...]

> 
> A second problem:
> The designer asks for
> 
> Figure 2-1
> Comparison of Corporate etc.
> 
> but I get:
> ---
> Figure 2-1 Comparison of Corporate etc.
> 
> 
> I can avoid \placefigure and hand code each caption of course but that 
> deprives me of the ability to float the figures.

\setupcaptions
  [location=top,
   spaceinbetween=0pt, % <-- your friend 
   style=bold,
   width=max] % maybe fit?

Wolfgang

>  
> Unfortunately they brought in the designer after I had already started work 
> (and cashed the deposit check.)
> 
> The first difficulty (typeface) is IMO the most critical. 
> -- 
> John Culleton
> Able Indexing and Typesetting
> Precision typesetting (tm) at reasonable cost.
> Satisfaction guaranteed. 
> http://wexfordpress.com
> 
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Bolding the words "Figure 2-1"

2007-02-14 Thread Mojca Miklavec
On 2/14/07, John R. Culleton <[EMAIL PROTECTED]> wrote:
> I too am stuck in specification hell. The specifier is ovenamored of
> stretching text and the like. I worked through that with the TeX/LaTeX macro
> soul.sty.
>
>  My immediate problem is with putting the
> caption of a table in a different font.  Currently I have:
> 
> \setupcaptions[location=top,headstyle=bold,style=bold]
>
> \placefigure[here][tab:comp]{Comparison of Corporate and
> Government Bond Portfolios} {
> etc.
> ---
> Currently I get the caption in bold but the string "Figure 2-1" is not in
> bold.

On the garden it works OK.

Also if you want to use a really different font, there should be no
problem saying
   \setupcaptions[headstyle={\definedfont[your-special-font]}]

Mojca
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Bolding the words "Figure 2-1"

2007-02-14 Thread John R. Culleton
I too am stuck in specification hell. The specifier is ovenamored of 
stretching text and the like. I worked through that with the TeX/LaTeX macro 
soul.sty. 

 My immediate problem is with putting the 
caption of a table in a different font.  Currently I have:

\setupcaptions[location=top,headstyle=bold,style=bold]

\placefigure[here][tab:comp]{Comparison of Corporate and
Government Bond Portfolios} {
etc.
---
Currently I get the caption in bold but the string "Figure 2-1" is not in 
bold. 

A second problem:
The designer asks for

Figure 2-1
Comparison of Corporate etc.

but I get:
---
Figure 2-1 Comparison of Corporate etc.


I can avoid \placefigure and hand code each caption of course but that 
deprives me of the ability to float the figures.
 
Unfortunately they brought in the designer after I had already started work 
(and cashed the deposit check.)

The first difficulty (typeface) is IMO the most critical. 
-- 
John Culleton
Able Indexing and Typesetting
Precision typesetting (tm) at reasonable cost.
Satisfaction guaranteed. 
http://wexfordpress.com

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context