MiKTeX and proTeXtSymbols not printing correctly

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
Post Reply
JStringer
Posts: 6
Joined: Tue Sep 09, 2008 2:33 am

Symbols not printing correctly

Post by JStringer »

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

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Symbols not printing correctly

Post by Stefan Kottwitz »

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:

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}
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
LaTeX.org admin
User avatar
Juanjo
Posts: 657
Joined: Sat Jan 27, 2007 12:46 am

Symbols not printing correctly

Post by Juanjo »

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

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}
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

\newcommand*\alphabold{\boldsymbol{\alpha}}
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
JStringer
Posts: 6
Joined: Tue Sep 09, 2008 2:33 am

Re: Symbols not printing correctly

Post by JStringer »

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.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Re: Symbols not printing correctly

Post by Stefan Kottwitz »

Hi,

how did you define \alphabold?
For instance \Sigma can be made bold also by \boldsymbol{\Sigma}.

Stefan
LaTeX.org admin
Post Reply