I don't see my error

Steve Litt slitt at troubleshooters.com
Sun Sep 11 12:26:52 UTC 2022


On Thu, 2022-09-08 at 17:19 -0400, Paul A. Rubin wrote:
> 
> What is the error? All three work for me with pdflatex. For \degree, I 
> need to load the gensymb package in the preamble and put it in ERT.

If one prefers not to put it in ERT, a character style can be made that inserts
\degree, but ignores the actual text typed in. I did this with the book title for my
"Mental Model Construction Best Practices" book, because until the book was
completed I kept changing the working title and didn't know what the title would
ultimately be. Everywhere the ultimate title should appear, I typed zzzz and applied
the ChartitleInBody character style I'd defined. Every time I changed the book
title, I just changed the LaTeX for that char style, and every reference to the
title in the book changed. The same can be done with \degree, if this is prefereable
to ERT.

SteveT



More information about the lyx-users mailing list