Steve Litt wrote:
> Well, I could RTFM, but I bet a lot of people want to know the same thing,
> so I'll just be lazy and ask. How does one create a character style in
> 1.4.1, and how does one invoke that character style on some highlighted
> text?

There's no UI for it yet, so you have to define them manually in the layout 
file. An example definition is this:

CharStyle Versal
        LatexType             Command
        LatexName             versal
        LabelFont
          Family              Roman
          Color               blue
        EndFont
        Preamble
                [EMAIL PROTECTED]
                        \usepackage{soul}
                }{}
                [EMAIL PROTECTED]
                        \DeclareRobustCommand*\versal[1]{%
                        \MakeUppercase{\scalefont{.92}\null{\caps{#1}}}%
                        }
                }{}
        EndPreamble
End

This can be copied into any *.layout file, or better make a mycharstyles.inc, 
and include them in the layout files with
Input mycharstyles.inc

The character styles will then be selectable from the menu.

HTH,
Jürgen

Reply via email to