On 04/25/2012 05:35 PM, Uwe Stöhr wrote:
Am 23.04.2012 02:10, schrieb Richard Heck:
Why is it easier to do this than to highlight the text and hit
"Insert>Formatting>Subscript", which
is my case is just Alt-I, O, B?
Because the script has to be changed in most cases too. For example in
my report I have to switch for subscripts also to sansserif for
readability reasons. Having it in the text style dialog I'm free to do
what ever I want. For examples some subscripts are important in the
text so that I highlighted them by making them bold.
There's also a reason not to do it via the Text Style dialog:
Everything else in that dialog is represented as a range, whereas
scripts are insets. That will make
using the dialog for this much more complicated than it might seem at
first.
But the coloring and e.g. the strike-outs are simple LaTeX commands too.
> Indeed. IMO, if the scripts are handled by the dialog, they should
be ranges
> as well.
What do you mean with ranges? The command \Huge acts until another
size command is executed, but most of our text style dialog commands
are normal LaTeX commands like \textcolor{}. So why is it a problem to
support there the command \textsubscript too?
This is a LyX matter, not a LaTeX matter. A range is just a portion of
text that's marked a special way, as opposed to an inset, which is in a
sense out of the flow of that text.
Richard