On Sat, 3 Nov 2001 12:41:24 -0600 wrote Christopher M. Jones <[EMAIL PROTECTED]>:

> On Saturday 03 November 2001 10:46 am, you wrote:
> > On Sat, Nov 03, 2001 at 11:36:12AM -0500, Laurent Duperval wrote:
> > > After reading the User Guide, it seems to me that you can only have
> > > three character styles defined at any given time: Emphasized, Noun and
> > > UserDefined. There seems to be only one user-defined character allowed
> > > at any given time. Am I misunderstanding something? Specifically, in my
> > > document I want to use a teletype style and a coloured style. I'm under
> > > the impression that I'll always need to go back to my character layout
> > > and modify it to fit my purpose. Am I not understanding something? Can't
> > > I create a character style (like InlineCode) and save it and reuse it in
> > > other documents?
> >
> > you are right. Proper support for logical styles is on the long-term wish
> > list.

> But isn't it also right that he could make a 
> \newcommand\mytextstyle{...} to apply latex character commands to suit his 
> purposes, without having to go to the character menu?

In my opinion, ERT is not a proper solution but a workaround...

Another workaround:

You can have a many many character styles in your document, but
only three are easy accessible by the workbar buttons. (And only one of
these is user settable.)

But, if you don't need the Noun style at all in your document, you can use
this button for teletype by either

Inserting \renewcommand{\noun}[1]{\texttt{#1}} in your LaTeX Preamble 

or after finishing the editing replace in your .lyx file (with a "normal"
editor or a script)

  \noun on       with   \family typewriter  and
  \noun default  with   \family default 
 

Hope this helps (although it does not replace the wish for a better support
of character style changes)

GM


--
[EMAIL PROTECTED]

Reply via email to