Re: The persistent problem with svmono class and \boldsymbol font
2014-05-09 11:36 GMT+02:00 Guenter Milde: > There are better solutions: there are a number of alternative font > packages for Times-compatible maths. > > I recommend http://www.ctan.org/pkg/newtx (although I don't like its > integral sign). > > A (German) survey can be found at > http://milde.users.sourceforge.net/Matheschriften/matheschriften.html > > > In LyX these packages could be specified in the user preamble. LyX 2.1 also has GUI support (Document > Settings > Fonts > Math). Jürgen
Re: The persistent problem with svmono class and \boldsymbol font
On 2014-05-08, Bieniasz wrote: > Richard Heck lyx.org> writes: >> Do you know if the problem arises simply using LaTeX? > I have wasted a whole day trying to figure out the origin > of the problem, and here are my conclusions: > I think now that this is not a problem with svmono, but a general > problem with LaTeX fonts. The svmono class assumes as default the > Serif / Times Roman fonts. The \boldsymbol command does not work > for this font. Yes, no bold math is a known (and documented) limitation of the standard LaTeX package for Times fonts. > Although the bold+italic combination is properly visible > under Lyx in the math equations, it does not appear in pdf files, > supposedly because there are no suitable fonts. > All other fonts do not exhibit this deficiency, and \boldsymbol > works OK for them. There are other font packages with the same limitation. > I have a feeling that this problem should be widely known, > so that I am surprised that noone has been able to respond > constructively to my messages. This may be due to the type of question. I never used the svmono class and have no idea what it is or which packages it (in turn) requires. Also, as this is a LaTeX limitation, the LyX list is less likely to bring an adequate answer. I know that this is not you fault, but maybe it can explain you the nonresponsiveness. > Or, maybe there are better solutions? There are better solutions: there are a number of alternative font packages for Times-compatible maths. I recommend http://www.ctan.org/pkg/newtx (although I don't like its integral sign). A (German) survey can be found at http://milde.users.sourceforge.net/Matheschriften/matheschriften.html In LyX these packages could be specified in the user preamble. I don't know if there may be problems in use combined with svmono, if yes, please post a minimal example. > Someone suggested to use the isomath package, but this gives > a worse result, in my opinion, than the above solution, as for the > Serif / Times Roman fonts the bold form does not appear in pdf. Whiel isomath cannot solve the font problem if there is no font, I still recommend it for reasons obvious to any reader of the documentation ;-) Günter
Re: The persistent problem with svmono class and \boldsymbol font
On 05/08/2014 04:43 AM, Bieniasz wrote: Richard Heck lyx.org> writes: Do you know if the problem arises simply using LaTeX? Sometimes particular classes, especially for journals, do redefine LaTeX commands, such as \boldsymbol. Rihcard I have wasted a whole day trying to figure out the origin of the problem, and here are my conclusions: I think now that this is not a problem with svmono, but a general problem with LaTeX fonts. The svmono class assumes as default the Serif / Times Roman fonts. The \boldsymbol command does not work for this font. Although the bold+italic combination is properly visible under Lyx in the math equations, it does not appear in pdf files, supposedly because there are no suitable fonts. All other fonts do not exhibit this deficiency, and \boldsymbol works OK for them. I have found a workaround that may be acceptable, although not ideal. The idea is to insert the following command into the equation: \textbf{\textit{XX}} where XX is the symbol to be displayed in the bold+italic form. This produces the desired effect in the pdf file, although the letters are somewhat bigger than other letters. I have a feeling that this problem should be widely known, so that I am surprised that noone has been able to respond constructively to my messages. Or, maybe there are better solutions? If there are, I would be happy to know. Someone suggested to use the isomath package, but this gives a worse result, in my opinion, than the above solution, as for the Serif / Times Roman fonts the bold form does not appear in pdf. As you say, this is a (La)TeX problem, not a LyX problem, and while there are people here who know a fair bit about TeX, we're not generally TeXperts. You might try asking about this on one of the LaTeX forums, or (better) comp.text.tex. Richard
Re: The persistent problem with svmono class and \boldsymbol font
Richard Heck lyx.org> writes: > Do you know if the problem arises simply using LaTeX? Sometimes > particular classes, > especially for journals, do redefine LaTeX commands, such as \boldsymbol. > > Rihcard I have wasted a whole day trying to figure out the origin of the problem, and here are my conclusions: I think now that this is not a problem with svmono, but a general problem with LaTeX fonts. The svmono class assumes as default the Serif / Times Roman fonts. The \boldsymbol command does not work for this font. Although the bold+italic combination is properly visible under Lyx in the math equations, it does not appear in pdf files, supposedly because there are no suitable fonts. All other fonts do not exhibit this deficiency, and \boldsymbol works OK for them. I have found a workaround that may be acceptable, although not ideal. The idea is to insert the following command into the equation: \textbf{\textit{XX}} where XX is the symbol to be displayed in the bold+italic form. This produces the desired effect in the pdf file, although the letters are somewhat bigger than other letters. I have a feeling that this problem should be widely known, so that I am surprised that noone has been able to respond constructively to my messages. Or, maybe there are better solutions? If there are, I would be happy to know. Someone suggested to use the isomath package, but this gives a worse result, in my opinion, than the above solution, as for the Serif / Times Roman fonts the bold form does not appear in pdf. Leslaw
Re: The persistent problem with svmono class and \boldsymbol font
On 05/05/2014 06:27 AM, Bieniasz wrote: Hello, About a year ago I asked about the problem that I have while using the svmono class. I have done some additional tests and it seems to me that there must be some bug in the LyX template for svmono. So, if the author of this template reads my message, I would appreciate some help. The problem is as follows: I need to use the font \boldsymbol in the equation editor. This font is properly visible under LyX, but when I generate a pdf file, then the font looks identical as the standard equation editor font (that is the letters are not thicker). I suspect that this is a bug in the svmono LyX template, because the problem does not occur in the default document template of LyX, that is when the svmono class is not used. In the latter case the font looks properly in pdf files. I hope there is some way to fix this problem ? Do you know if the problem arises simply using LaTeX? Sometimes particular classes, especially for journals, do redefine LaTeX commands, such as \boldsymbol. Rihcard
The persistent problem with svmono class and \boldsymbol font
Hello, About a year ago I asked about the problem that I have while using the svmono class. I have done some additional tests and it seems to me that there must be some bug in the LyX template for svmono. So, if the author of this template reads my message, I would appreciate some help. The problem is as follows: I need to use the font \boldsymbol in the equation editor. This font is properly visible under LyX, but when I generate a pdf file, then the font looks identical as the standard equation editor font (that is the letters are not thicker). I suspect that this is a bug in the svmono LyX template, because the problem does not occur in the default document template of LyX, that is when the svmono class is not used. In the latter case the font looks properly in pdf files. I hope there is some way to fix this problem ? Leslaw