On 2012-11-29, Leslaw Bieniasz wrote:
> By using the terminology of MS Word/Windows, I need the following > combinations: > 1) Italic > 2) Bold > 3) Italic+Bold > I have been able to have 1 in Lyx (this in fact appears by default > while typing the formulae). I have also been able to have 2, which > can be done if I change the font to /mathbf in the equation editor. > But I have not been able to achieve 3. Is there any way to do this? > The point is that I'd like to see these effects not only in LyX itself, > but also (or maybe in the first place) in the pdf file generated by LyX. I recommend using the LaTeX package "isomath" (http://www.ctan.org/pkg/isomath): Insert "\usepackage{isomath}" in Document>Settings>LaTeX Preamble, then you can use the macros: > 1) Italic $ a - \omega$ $ % italic is the default in math-mode > 2) Bold $ \mathbf{a} - \mathbf{\omega}} $ % upright bold > 3) Italic+Bold $ \mathbfit{a} - \mathbfit{\omega}} or use semantic markup: The following commands set the argument in an ISO-conforming math alphabet: \vectorsym, \matrixsym bold italic for Greek and Latin letters, bold upright for numbers See also the full documentation at http://mirror.ctan.org/macros/latex/contrib/isomath/isomath.html Optionally redefine the standard vector macro \vec: \renewcommand{\vec}{\vectorsym} You can also make this a math-macro, to have a matching look in LyX. Günter
