Re: Option for displaying equation labels less obstrusively?
Le 03/10/2018 à 23:35, Klaus-Dieter Bauer a écrit : Hello! As it is currently implemented, equation labels are displayed as part of the equation number in LyX's editor. Sadly, for longer, semantically meaningful label names (e.g. "eq:maxwell-equations-in-vacuum"), this throws off the formatting in the editor buffer: Instead of centering the equation, the combination of label and equation is centered. A similar problem occurs, when left-aligned equations with left-aligned numbering I have plans to improve this, but not the required free time right now. See e.g. https://www.lyx.org/trac/ticket/10668 JMarc
Re: Option for displaying equation labels less obstrusively?
Sorry I was hopeful but I never use a numbered equation so I was just guessing. The module is handy in other places. On Thu, 4 Oct 2018 at 05:39, Klaus-Dieter Bauer < bauer.klaus.die...@gmail.com> wrote: > Insets cannot be used inside LyX equations sadly. > > On Thu, Oct 4, 2018 at 2:31 AM John Kane wrote: > >> Try the ShortInsetNames module. I have never used it with equations but >> it works well with Chapter and Section names, tables and figures. >> >> Insert the Short label from Custom Inserts and then insert the label. >> Repeat procedure with Short Ref + label to have a short label in the text >> or wherever >> >> Thanks Andrew. >> >> On Wed, 3 Oct 2018 at 17:58, Joel Kulesza wrote: >> >>> On Wed, Oct 3, 2018 at 3:36 PM Klaus-Dieter Bauer < >>> bauer.klaus.die...@gmail.com> wrote: >>> Hello! As it is currently implemented, equation labels are displayed as part of the equation number in LyX's editor. Sadly, for longer, semantically meaningful label names (e.g. "eq:maxwell-equations-in-vacuum"), this throws off the formatting in the editor buffer: Instead of centering the equation, the combination of label and equation is centered. A similar problem occurs, when left-aligned equations with left-aligned numbering are used. Is there some setting in LyX, that allows getting better alignment, without sacrifizing the ability to use long label names? - Klaus >>> >>> I do not know of such a method, but would be thrilled if such were >>> created (or explained). I wonder if mouseover tooltips could be used >>> here... >>> >>> - Joel >>> >>> >> >> >> -- >> John Kane >> Kingston ON Canada >> > -- John Kane Kingston ON Canada
Re: Option for displaying equation labels less obstrusively?
Insets cannot be used inside LyX equations sadly. On Thu, Oct 4, 2018 at 2:31 AM John Kane wrote: > Try the ShortInsetNames module. I have never used it with equations but it > works well with Chapter and Section names, tables and figures. > > Insert the Short label from Custom Inserts and then insert the label. > Repeat procedure with Short Ref + label to have a short label in the text > or wherever > > Thanks Andrew. > > On Wed, 3 Oct 2018 at 17:58, Joel Kulesza wrote: > >> On Wed, Oct 3, 2018 at 3:36 PM Klaus-Dieter Bauer < >> bauer.klaus.die...@gmail.com> wrote: >> >>> Hello! >>> >>> As it is currently implemented, equation labels are displayed as part of >>> the equation number in LyX's editor. Sadly, for longer, semantically >>> meaningful label names (e.g. "eq:maxwell-equations-in-vacuum"), this throws >>> off the formatting in the editor buffer: Instead of centering the equation, >>> the combination of label and equation is centered. A similar problem >>> occurs, when left-aligned equations with left-aligned numbering are used. >>> >>> Is there some setting in LyX, that allows getting better alignment, >>> without sacrifizing the ability to use long label names? >>> >>> - Klaus >>> >> >> I do not know of such a method, but would be thrilled if such were >> created (or explained). I wonder if mouseover tooltips could be used >> here... >> >> - Joel >> >> > > > -- > John Kane > Kingston ON Canada >
Re: Option for displaying equation labels less obstrusively?
Try the ShortInsetNames module. I have never used it with equations but it works well with Chapter and Section names, tables and figures. Insert the Short label from Custom Inserts and then insert the label. Repeat procedure with Short Ref + label to have a short label in the text or wherever Thanks Andrew. On Wed, 3 Oct 2018 at 17:58, Joel Kulesza wrote: > On Wed, Oct 3, 2018 at 3:36 PM Klaus-Dieter Bauer < > bauer.klaus.die...@gmail.com> wrote: > >> Hello! >> >> As it is currently implemented, equation labels are displayed as part of >> the equation number in LyX's editor. Sadly, for longer, semantically >> meaningful label names (e.g. "eq:maxwell-equations-in-vacuum"), this throws >> off the formatting in the editor buffer: Instead of centering the equation, >> the combination of label and equation is centered. A similar problem >> occurs, when left-aligned equations with left-aligned numbering are used. >> >> Is there some setting in LyX, that allows getting better alignment, >> without sacrifizing the ability to use long label names? >> >> - Klaus >> > > I do not know of such a method, but would be thrilled if such were created > (or explained). I wonder if mouseover tooltips could be used here... > > - Joel > > -- John Kane Kingston ON Canada
Re: Option for displaying equation labels less obstrusively?
On Wed, Oct 3, 2018 at 3:36 PM Klaus-Dieter Bauer < bauer.klaus.die...@gmail.com> wrote: > Hello! > > As it is currently implemented, equation labels are displayed as part of > the equation number in LyX's editor. Sadly, for longer, semantically > meaningful label names (e.g. "eq:maxwell-equations-in-vacuum"), this throws > off the formatting in the editor buffer: Instead of centering the equation, > the combination of label and equation is centered. A similar problem > occurs, when left-aligned equations with left-aligned numbering are used. > > Is there some setting in LyX, that allows getting better alignment, > without sacrifizing the ability to use long label names? > > - Klaus > I do not know of such a method, but would be thrilled if such were created (or explained). I wonder if mouseover tooltips could be used here... - Joel