On Mon, Nov 03, 2003 at 07:22:23PM +0100, Andre' Poenitz wrote:
> On Mon, Nov 03, 2003 at 07:02:35PM +0100, Lars Gullik Bjønnes wrote:
> > The difference implementation wise might not be huge.
> 
> If there is a difference at all.
> 
> > Just to have a short recap on character styles:
> > 
> > in latex we'd like to have
> > 
> >    "This \firstname{Lars Gullik} is my firstname."
> > 
> > And in docbook (xml):
> > 
> >     "This <firstname>Lars Gullik</firstname> is my firstname."
> > 
> > to work.
> >
> > First we need something to hold the firstname in LyX. f.ex. an inset.
> > Could also be done by dynamic "font properties".
> 
> 
> > We also want the user to be able to set how this firstname should be
> > rendered, bold, smallcaps, italics, red etc., both on screen
> > and on typeset material.
> 
> 
> CharacterStyle FirstName
>       Format LaTeX
>               Header "\firstname{"
>               Footer "}"
>               Font
>                       Series  xxx
>                       Size    yyy
>               EndFont
>       End

Is is probably better:

        Format LaTeX
                Preamble "\newcommand{\firstname}[1]{\emph{\small #1}}"
                Header "\firstname{"
                Footer "}"
        End

but you get the idea...

Reply via email to