Re: various fonts in math equations
On 2012-12-04, Leslaw Bieniasz wrote: > Hi, > I have checked my MikTeX files, and I see that the isomath package is > probably already there (there are directories \source, \doc]latex, > \tex\latex, tmp\packages, doc\latex\isomath, all in c:\Program > Files\MikTeX 2.0 ). I also have the access to the \mathbf fonts from > the level of LyX. However, I cannot get the italic+bold effect on my > computer. Choosing the \mathbf function produces upright bold > characters. The same happens when I choose \boldsymbol. But, I have > also installed seemingly the same MikTeX and LyX versions on my laptop, > and on the laptop I am able to obtain italic+bold, by choosing > \boldsymbol, if I remember. I regret I am not really literatate in > LaTeX to be able to verify what I actually have installed and what not. > So, my question is, what should I do, step by step, to have italic+bold > on both computers, under LyX? As I already told: * Document>Settings>LaTeX preamble: insert line \usepackage{isomath} * In the LyX editor window, in a math inset: \mathbfit{a} Günter
Re: various fonts in math equations
Hi, I have checked my MikTeX files, and I see that the isomath package is probably already there (there are directories \source, \doc]latex, \tex\latex, tmp\packages, doc\latex\isomath, all in c:\Program Files\MikTeX 2.0 ). I also have the access to the \mathbf fonts from the level of LyX. However, I cannot get the italic+bold effect on my computer. Choosing the \mathbf function produces upright bold characters. The same happens when I choose \boldsymbol. But, I have also installed seemingly the same MikTeX and LyX versions on my laptop, and on the laptop I am able to obtain italic+bold, by choosing \boldsymbol, if I remember. I regret I am not really literatate in LaTeX to be able to verify what I actually have installed and what not. So, my question is, what should I do, step by step, to have italic+bold on both computers, under LyX? Leslaw
Re: various fonts in math equations
On 2012-11-30, Leslaw Bieniasz wrote: > Guenter Milde users.sf.net> writes: >> I recommend using the LaTeX package "isomath" >> (http://www.ctan.org/pkg/isomath): > Will this work with MikTeX and LyX? Yes. > I do not see a version for MikTeX there. There are no special versions for MikTeX/TeXLive, ... You can either try to install it via the MikTeX package manager or "by hand" visiting the CTAN directory http://www.ctan.org/tex-archive/macros/latex/contrib/isomath and following the instructions there. For "LyX-feedback" I defined a math-macro with LyX-code: \begin_inset FormulaMacro \newcommand{\vec}[1]{\vectorsym{#1}} {\boldsymbol{#1}} \end_inset which gives bold-italic vectors in both, LyX and print. If you use Computer Modern or Latin Modern fonts, you can also use the fixmath package for bold italic math fonts. \usepackage{fixmath} and in the formulas: \mathbold{x} Günter
Re: various fonts in math equations
Guenter Milde users.sf.net> writes: I recommend using the LaTeX package "isomath" (http://www.ctan.org/pkg/isomath): Will this work with MikTeX and LyX? I do not see a version for MikTeX there. Leslaw I use miktex 2.9 in mswindows and this work for me eq_wihbold.lyx Description: application/lyx
Re: various fonts in math equations
Guenter Milde users.sf.net> writes: > I recommend using the LaTeX package "isomath" > (http://www.ctan.org/pkg/isomath): Will this work with MikTeX and LyX? I do not see a version for MikTeX there. Leslaw
Re: various fonts in math equations
Alex Vergara Gil cphr.edu.cu> writes: > > of MS Word/Windows, I need the following combinations: > > > > 1) Italic > > 2) Bold > > 3) Italic+Bold > > > attached you have an example of an equation with several tipographies in it Well, your example is exactly what I have been able to do, it does not contain the combination Bold + Italic. How to make your letter "D" to be not only Bold but also Italic? Leslaw
Re: various fonts in math equations
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
Re: various fonts in math equations
Hi, I am using LyX on a PC operating under Windows XP, with MikTeX. I need to have math equations containing symbols written with various fonts. 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. Leslaw attached you have an example of an equation with several tipographies in it eq_wihbold.lyx Description: application/lyx
various fonts in math equations
Hi, I am using LyX on a PC operating under Windows XP, with MikTeX. I need to have math equations containing symbols written with various fonts. 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. Leslaw