Hi! When I use captial sigma in the following equation it does not print out properly - comes out as a square blob!
Can someone suggest why?
\begin{eqnarray*}
{\rm var}\left[ {\alphabold \zeta } \right]= \sigma^2\left(\alphabold\Sigma_{c}\otimes \alphabold\Sigma_{r}\right)
\end{eqnarray*}
My definitions at the beginning of my file are:
\documentclass[12pt,twoside]{article}
\usepackage{amsmath,epsfig}
\usepackage{jabes_modify}
\usepackage[hang]{subfigure}
\usepackage{verbatim}
\usepackage{lineno}
\usepackage{latexsym}
\usepackage{times}
\usepackage{bm}
Thanks
Jo
MiKTeX and proTeXt ⇒ Symbols not printing correctly
NEW: TikZ book now 40% off at Amazon.com for a short time.
- Stefan Kottwitz
- Site Admin
- Posts: 10321
- Joined: Mon Mar 10, 2008 9:44 pm
Symbols not printing correctly
Hi,
do you get errors or warnings?
After I've built a compilable example from your code snippets, the \Sigma was printed fine. I've used this code, because I don't have jabes_modify.sty and no \alphabold symbol:
It works with latex and pdflatex fine for me. Does this changed example work for you? If not, please post your .log-file as attachment here, perhaps we would find the cause by examining that.
By the way: don't use eqnarray, it's outdated and produces inconsistent spacing, use the align environment instead, see eqnarray vs. align for more information. \rm is deprecated too.
The code above doesn't even need eqnarray*, equation* would be enough.
Stefan
do you get errors or warnings?
After I've built a compilable example from your code snippets, the \Sigma was printed fine. I've used this code, because I don't have jabes_modify.sty and no \alphabold symbol:
Code: Select all
\documentclass[12pt,twoside]{article}
\usepackage{amsmath,epsfig}
%\usepackage{jabes_modify}
\usepackage[hang]{subfigure}
\usepackage{verbatim}
\usepackage{lineno}
\usepackage{latexsym}
\usepackage{times}
\usepackage{bm}
\begin{document}
\begin{eqnarray*}
{\rm var}\left[ {\alpha \zeta } \right]= \sigma^2\left(\alpha \Sigma_{c}\otimes \alpha \Sigma_{r}\right)
\end{eqnarray*}
\end{document}
By the way: don't use eqnarray, it's outdated and produces inconsistent spacing, use the align environment instead, see eqnarray vs. align for more information. \rm is deprecated too.
The code above doesn't even need eqnarray*, equation* would be enough.
Stefan
LaTeX.org admin
Symbols not printing correctly
In addition to Stefan's remarks, I would add that you are also using outdated packages: replace epsfig by graphicx, times by mathptmx, and subfigure by subfig. Your preamble could become
The \epsfig command now becomes \includegraphics, perhaps needing some additional changes. Likewise, instead of the verbatim package, you may be interested in fancyvrb or listings. You may also want to replace the packages mathptmx and bm by txfonts, since this package provides Times and already includes bold symbols. If this were the case, the definition of \alphabold could be
Code: Select all
\documentclass[12pt,twoside]{article}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{jabes_modify}
\usepackage[format=hang]{subfig}
\usepackage{verbatim}
\usepackage{lineno}
\usepackage{latexsym}
\usepackage{mathptmx}
\usepackage{bm}
Code: Select all
\newcommand*\alphabold{\boldsymbol{\alpha}}
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
Re: Symbols not printing correctly
Thank you for your replies. All my other symbols work with \alphabold but no \alphabold\Sigma. If I change to \alpha then they don't come out as bold which is what I need for vectors and matrices.
- Stefan Kottwitz
- Site Admin
- Posts: 10321
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Symbols not printing correctly
Hi,
how did you define \alphabold?
For instance \Sigma can be made bold also by \boldsymbol{\Sigma}.
Stefan
how did you define \alphabold?
For instance \Sigma can be made bold also by \boldsymbol{\Sigma}.
Stefan
LaTeX.org admin