On Fri, Jun 28, 2013 at 10:29 PM, Andrew Parsloe <apars...@clear.net.nz>wrote:
> > > On 29/06/2013 9:58 a.m., stefano franchi wrote: > >> I'd like to shorten the size of the onscreen label for various insets >> ("Label" "Index" and so on), as I find them very distracting when >> writing. I vaguely remember a discussion about this, but I cannot find >> any trace of it in the lists, or on Google, or in the customization >> manual. Perhaps I am not searching for the right terms. >> >> Memory aides appreciated >> >> >> Cheers, >> >> Stefano >> >> > Open LyX 2.0.6/Resources/layouts/**stdinsets.inc in a text editor and > change the LabelString value for the relevant inset(s). I also find (having > just tested it) that if I save the modified stdinsets.inc under that name > to my personal LyX2.0/Layouts folder, so that it isn't overwritten when LyX > is updated, then next time I start LyX the revised LabelString values are > used. > Andrew, Liviu, I may a bit thick, but I can't see how to reduce the size of a Label inset. 2 problems: 1. I cannot find an InsetLayout for labels. 2. Even if I could find it what would I change the LabelString to? Currently I see the full label name on screen . Say I have a long label: "chap:This is the first chapter" And I want the inset to show only 2-3 chars max. What would LabelString be set to? The description in the Customization manual is "terse" to say the least: "LabelString What will be displayed on the button or elsewhere as the inset label. Some inset types (TeX code and Branch) modify this label on the fly." Good. And is it possible to somehow influence that modification "on the fly"? Cheers, Stefano > Andrew > -- __________________________________________________ Stefano Franchi Associate Research Professor Department of Hispanic Studies Ph: +1 (979) 845-2125 Texas A&M University Fax: +1 (979) 845-6421 College Station, Texas, USA stef...@tamu.edu http://stefano.cleinias.org