Re: How to make formatted cross-reference capitalized in Lyx 2.0?
On 06/28/2011 10:30 AM, PG wrote: Thanks! I think I'll just do it by the ugly way for now, using ERT or manually type "Section". Looking forward to the release of Lyx 21! One way to do things like this -- not officially sanctioned, of course, but worth a try, is to make one such change manually, then examine the Lyx files in an editor (pre and post change) to see what the replacement text is, and do a global search and replace (or, if you are good at this, you can write a perl script or some such) on the file. Things like this may or may not be possible to do within LyX, but may work in an external editor. -- David L. Johnson It is a scientifically proven fact that a mid life crisis can only be cured by something racy and Italian. Bianchis and Colnagos are a lot cheaper than Maserattis and Ferraris. -- Glenn Davies
Re: How to make formatted cross-reference capitalized in Lyx 2.0?
Richard Heck comcast.net> writes: > > Unfortunately, LyX 2.0 does not support this option. LyX 2.1 will. Until > then, you can either (a) do it in ERT, exactly as you suggest, or (b) > use prettyref instead of refstyle, which will uppercase everything. (So > with refstyle, you are in the opposite case as with prettyref.) > > Richard > > Thanks! I think I'll just do it by the ugly way for now, using ERT or manually type "Section". Looking forward to the release of Lyx 21! PG
Re: How to make formatted cross-reference capitalized in Lyx 2.0?
On 06/27/2011 11:53 PM, PG wrote: > Hi all, > > Is there a way to make formatted reference in Lyx 2.0 capitalized? > Currently when I cross-reference to a subsection, it will produce Latex code > "\subref{xxx}", and the result will be "section X.Y". I'd like to make the > "section" capitalized, but I can't find the option or settings to. I think I > can > do it by replacing the "\subref" with "\Subref" in Latex code, but does Lyx > has > this option? > Unfortunately, LyX 2.0 does not support this option. LyX 2.1 will. Until then, you can either (a) do it in ERT, exactly as you suggest, or (b) use prettyref instead of refstyle, which will uppercase everything. (So with refstyle, you are in the opposite case as with prettyref.) Richard
How to make formatted cross-reference capitalized in Lyx 2.0?
Hi all, Is there a way to make formatted reference in Lyx 2.0 capitalized? Currently when I cross-reference to a subsection, it will produce Latex code "\subref{xxx}", and the result will be "section X.Y". I'd like to make the "section" capitalized, but I can't find the option or settings to. I think I can do it by replacing the "\subref" with "\Subref" in Latex code, but does Lyx has this option? Thank in advance.