On 2011-10-04, Laura Werner wrote:

> I would like to thank you very much for inventing, improving and taking
> care of LyX! My colleagues and I use it mostly to write mathematical
> texts and there are slight things we would like to propose.

> We would like to use something like
> \ess sup
> and
> \ess inf
> like \sup or \limsup, that means in mathcode but without "\textrm{ess
> sup}" .

I did not catch that. What should this look like? What does the \ess command
produce and where is it defined?

Maybe defining a math-macro can help? (See Help>Math for details.)

> Furthermore I'am searching for well-looking symbol for the
> indicatiorfunction like
> \mathds{1} or \mathbb{1} (that's the TeX-Code),

I.e. a double-stroke (blackboard bold) digit one?

These commands are provided by "non-standard" TeX packages "bbold",
"fourier" or "fouriernc", respectively "mathds" which you would need to
load in the user preamble.

> that would be useful, but it does not work in LyX. Unfortunately
> there seems to be a problem to use the package "mathds" in LyX. I am
> afraid you can not use it together with a standard package, which I
> don't want to miss.

Which?

Does using \mathbb{1} and loading the "mathbb" package in the preamble
solve your problem?

You could create a math-macro for a better looking representation in the
editor window.

LyX's Unicode character replacement definitions in "unicodesymbols" can
auto-load packages defining required commands/symbols. This becomes a
problem when there are alternatives (\mathbb vs. \mathds, say) -- only
one of the alternatives is supported by LyX. Also, non-standard packages
that do more than just providing the required symbol (like "fourier",
changing the default text and math fonts) must not be auto-loaded.

Fortunately, you can copy the file "unicodesymbols" from the system LYXDIR
to your user LYXDIR and edit it to match your local preferences.

> Maybe you add \mathbb{1} to the next version of Lyx?

Unfortunately, if it does not work as LaTeX command or requires a
non-standard package, it's not easy to add to LyX.

To the developers: maybe we need to make the unicodesymbols file also
dependent on the local configuration (available packages).

Günter


Reply via email to