ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Cap problem
@ 2002-07-17  7:15 Nagy Bence
  0 siblings, 0 replies; only message in thread
From: Nagy Bence @ 2002-07-17  7:15 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 764 bytes --]

Hi all,

I have some trouble with capitalized section titles. I need the
titles in the same size as the main text, but all characters should be small
caps.

I attached an example (a PDF file too), the standard solutino doesn't
work. The second title in the example shows what I want.

% output=pdftex

\starttext

...text...

...text...

\setupcapitals[sc=yes]
\setuphead[section][number=no,style=,textstyle=cap]

\section{First title}

...text...

...text...

\define[1]\Sc{\bgroup\sc\lowercase{#1}\egroup}
\define[2]\Section{\Sc{#2}}
\setuphead[section][style=,command=\Section]

\section{Second title}

...text...

...text...

\stoptext

I use the fpTeX distribution downloaded on 04.06.2002, the context.zip
package has date: 05.28.2002.

Greetings

Bence Nagy

[-- Attachment #2: head1.pdf --]
[-- Type: application/pdf, Size: 8464 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-17  7:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-17  7:15 Cap problem Nagy Bence

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).