ERT expression for dimensions of boxes, images etc.

Tobias Hilbricht hilbricht at linopus.de
Wed Jul 7 11:09:34 UTC 2021


Am Sonntag, den 04.07.2021, 12:12 -0400 schrieb Paul A. Rubin:
> On 7/4/21 9:33 AM, Tobias Hilbricht wrote:
> > Am Sonntag, den 27.06.2021, 11:58 -0400 schrieb Paul A. Rubin:
> > > On 6/27/21 7:36 AM, Tobias Hilbricht wrote:
> > > > Dear readers of this list,
> > > > 
> > > > is it possible in LyX to enter dimensions in terms of ERT
> > > > expressions
> > > > such as \linewidth+\marginparsep+\marginparwidth into the
> > > > dialogs
> > > > for
> > > > boxes, images (Insert -> Box, Insert -> Image) ?
> > > > 
> > > > If I have defined a length in Document -> Settings -> LaTeX-
> > > > preamble,
> > > > what is the LyX way of sizing boxes and images with that
> > > > length?
> > > > 
> > > > Thanks for helpful hints in advance,
> > > > yours sincerly
> > > > Tobias Hilbricht
> > > > 
> > > With Insert > Graphics, you can click on the "LaTeX and LyX
> > > options"
> > > tab
> > > and insert ERT in the "LaTeX options:" box. For instance, I
> > > entered
> > > "width=\linewidth+\marginparsep+\marginparwidth" for an image and
> > > the
> > > test document compiled with what I think was the intended graphic
> > > size.
> > > 
> > > Unfortunately, I don't see any way to insert ERT in the standard
> > > box
> > > creation dialog.
> > > 
> > > Paul
> > > 
> > Paul,
> > 
> > thank you for your help, this works indeed for images very well. A
> > similar possibility to enter LaTeX-length expressions for boxes
> > would
> > be a nice enhancement.
> > 
> > Yours
> > Tobias
> > 
> Tobias,
> 
> Gern geschehen. Regarding a similar dialog for boxes, you might want
> to 
> enter a feature request ticket in the bug tracker 
> (https://www.lyx.org/trac/wiki/BugTrackerHome 
> <https://www.lyx.org/trac/wiki/BugTrackerHome>;) or else send an
> email to 
> the developer list (lyx-devel at lists.lyx.org).
> 
> Paul
> 

I entered an enhancement request for an option to enter LaTeX-
expressions into the box-dialog.

Yours
Tobias 



More information about the lyx-users mailing list