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