Re: leftside superscript

2016-07-18 Thread Guillaume Munch

Le 18/07/2016 16:25, Richard Heck a écrit :

On 07/18/2016 07:32 AM, Kiuhnm wrote:

On 18/07/2016 13:25, Kiuhnm wrote:

Hello,

what's the best way to write leftside superscripts in Lyx (latest
version) with /correct spacing/?


\prescript from mathtools seems to work well. It'd be great if
leftside prescripts were supported directly by Lyx.


I'd suggest you file an enhancement request for this at lyx.org/trac/.
It may not be too difficult.



What about using a LyX macro to encapsulate \prescript?



Re: leftside superscript

2016-07-18 Thread Richard Heck
On 07/18/2016 07:32 AM, Kiuhnm wrote:
> On 18/07/2016 13:25, Kiuhnm wrote:
>> Hello,
>>
>> what's the best way to write leftside superscripts in Lyx (latest
>> version) with /correct spacing/?
>
> \prescript from mathtools seems to work well. It'd be great if
> leftside prescripts were supported directly by Lyx.

I'd suggest you file an enhancement request for this at lyx.org/trac/.
It may not be too difficult.

Richard



Re: What happened to "print"?

2016-07-18 Thread Richard Heck
On 07/17/2016 04:39 PM, David L. Johnson wrote:
> On 07/17/2016 04:26 PM, David L. Johnson wrote:
>> When I upgraded to lyx 2.2.0 (which was when debian testing went to
>> it) I lost the print menu.  I thought at first it was because my home
>> computer uses an old printer, but the same thing is true on my office
>> machine.  I could not find out anything about printing on the
>> http://wiki.lyx.org/LyX/NewInLyX22 site, or anywhere else I looked.
>>
>> Was there a decision to relegate printing (maybe just in linux) to
>> programs handling the output files?  I can print fine viewing the
>> output (using evince) and then printing from there, but lyx used to
>> support printing directly.  Or, perhaps, something happened with the
>> configuration, but I did not see anything about printing in the
>> menus, or any mention of it.
>>
>
> Never mind, I guess.  I see it now in the release notes.  But it does
> seem odd to dump it entirely.

The problem was that print support was becoming increasingly complicated
to maintain. We decided we just couldn't really do it properly, so
better not to pretend we can.

> The argument that most people would want to preview the output first
> is not the way I work with it.  I often have a viewing window open,
> but in the past have opted to print directly from lyx.  In fact, on an
> earlier computer lyx was one of the few programs that would work with
> my legacy printer.
>
> Oh well.  I will adapt, but I'd rather have the option.

The release notes explain how to restore printing if you want to do
that. You can even put it back on the menus and toolbars if you want,
though that is another step.

Richard



Re: leftside superscript

2016-07-18 Thread Kiuhnm

On 18/07/2016 15:06, Steve Burnham wrote:



On Mon, Jul 18, 2016 at 7:33 AM Kiuhnm mailto:kiuhnm2...@gmail.com>> wrote:

On 18/07/2016 13:25, Kiuhnm wrote:
> Hello,
>
> what's the best way to write leftside superscripts in Lyx (latest
> version) with /correct spacing/?

\prescript from mathtools seems to work well. It'd be great if leftside
prescripts were supported directly by Lyx.

Kiuhnm



Just type them the same way you would super scripts in LyX. If you
wanted 5 to the power of two it would be 5^2 if you wanted a 2 as a
prescript then ^2 5 or use the underscore for subscripts.That's what
works for me.


That's not a good solution because the spacing is wrong. Compare:

\begin_body

\begin_layout Standard
\begin_inset Formula
\[
f\times^{5}g^{4}\neq f\times\prescript{5}{} g^{4}
\]

\end_inset


\end_layout

\end_body




Re: leftside superscript

2016-07-18 Thread Steve Burnham
On Mon, Jul 18, 2016 at 7:33 AM Kiuhnm  wrote:

> On 18/07/2016 13:25, Kiuhnm wrote:
> > Hello,
> >
> > what's the best way to write leftside superscripts in Lyx (latest
> > version) with /correct spacing/?
>
> \prescript from mathtools seems to work well. It'd be great if leftside
> prescripts were supported directly by Lyx.
>
> Kiuhnm
>
>

Just type them the same way you would super scripts in LyX. If you wanted 5
to the power of two it would be 5^2 if you wanted a 2 as a prescript then
^2 5 or use the underscore for subscripts.That's what works for me.

-Steve


Re: leftside superscript

2016-07-18 Thread Kiuhnm

On 18/07/2016 13:25, Kiuhnm wrote:

Hello,

what's the best way to write leftside superscripts in Lyx (latest
version) with /correct spacing/?


\prescript from mathtools seems to work well. It'd be great if leftside 
prescripts were supported directly by Lyx.


Kiuhnm



leftside superscript

2016-07-18 Thread Kiuhnm

Hello,

what's the best way to write leftside superscripts in Lyx (latest 
version) with /correct spacing/?


Kiuhnm