Oscar Lopez wrote:
Dear all

It seems that pdf output of boldsymbol math does not show properly when the
command \boldsymbol is used. I am using lyx-1.5.4 (compiled version using
kubuntu and texlive)

Open a new document (article) enter a math inset with \boldsymbol* an enter a
letter \boldsymbol{a} \boldsymbol{\alpha}. Then, View->PDF (pdflatex) the math
fonts are not bold faced. The culprit seems to be the \usepackage{mathptmx}
included by lyx at preamble. Adding \usepackage{bm} creates a quasi bold face
math both by shifting slightly the font (the looking using a zoom is poor)
However, if the package mathptmx is not loaded and only the bm package is
loaded, the Computer Modern where the bold symbols are present will be used,
which is the correct way to go. Is there anybody experiencing something similar? Is there any work around to avoid the automatic insertion by lyx of the mathptmx
package? What is the recommended way to produce math boldsymbols using the
current version of lyx?

Sorry if I missed something evident I have checked through the archives and I
didn't find anything related to this problem.

Thank you very much for your help
Best regards

* By the way when \boldsymbold{ is typed a box is created and left and right
braces are also created which imho is confussing.



Apparently, as of a recent version, LyX loads mathptmx automatically if you select Times Roman as your Roman font. Since mathptmx has no bold symbols, I can see this being a problem, and I'm surprised it was done. In the short term, the workarounds are either to switch your font to something else or to export to LaTeX, manually edit out the \usepackage{mathptmx} line and then manually compile the document.

Perhaps a developer can address why the change was made?

As far as the braces are concerned, LyX is interpreting your typing of '\boldsymbol{' as requesting both a bold symbol and a set of braces. Try '\boldsymbol ' (note the space at the end).

/Paul

Reply via email to