R Martinez | 17 Aug 23:49

Size of braces and parentheses in split environment

All,

The following display equation using a split environment produces  
curly braces and parentheses of different sizes in each line of the  
expression. I would like both lines to have braces and parentheses  
that have the same size as those in the first line.

Your help is appreciated.

  \begin{equation}
\begin{split}
	K_z  &= \frac{1}{\left( \sigma_{x}^{2} + \sigma_{y}^{2}\right)^{2}}  
\: \left(\mathcal{E} \left\{\left( X- \eta_x \right)^4 \right\} +  
\mathcal{E} \left\{\left( Y- \eta_y \right)^4 \right\} \right. \\
	& \quad \quad +\left. 2\,\mathcal{E} \left\{\left( X- \eta_x  
\right)^2 \left( Y- \eta_y \right)^2 \right\}  \right)
\end{split}
  \end{equation}

Thanks in advance,

Raul Martinez

----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
List Archive: http://tug.org/pipermail/macostex-archives/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
(Continue reading)

Axel E. Retif | 18 Aug 09:15

Re: Size of braces and parentheses in split environment

On  17 Aug, 2008, at 16:49, R Martinez wrote:

> All,
>
> The following display equation using a split environment produces  
> curly braces and parentheses of different sizes in each line of the  
> expression. I would like both lines to have braces and parentheses  
> that have the same size as those in the first line.
>
> Your help is appreciated.
>
> \begin{equation}
> \begin{split}
> 	K_z  &= \frac{1}{\left( \sigma_{x}^{2} + \sigma_{y}^{2}\right)^{2}}  
> \: \left(\mathcal{E} \left\{\left( X- \eta_x \right)^4 \right\} +  
> \mathcal{E} \left\{\left( Y- \eta_y \right)^4 \right\} \right. \\
> 	& \quad \quad +\left. 2\,\mathcal{E} \left\{\left( X- \eta_x  
> \right)^2 \left( Y- \eta_y \right)^2 \right\}  \right)
> \end{split}
> \end{equation}

I see them equal in both lines, but you will have to tell us which  
class, size and font package you're using, as there is a huge  
difference, for example, in the relative size of delimiters between  
article class at 12pt or 10pt:

\documentclass[12pt]{article} % <- change this to 10pt and see the  
difference
\usepackage{amsmath}
\usepackage[T1]{fontenc}
(Continue reading)

R Martinez | 18 Aug 20:43

Re: Size of braces and parentheses in split environment

Axel,

Many thanks for your reply.

After reading your comments I experimented with my file and discovered  
that the delimiter size discrepancy occurs when I use the command  
\usepackage{exscale,relsize}. The delimiter size discrepancy does not  
occur when I comment out this command.

Since I need to use these packages,  I will follow your advice and set  
the delimiter size myself.

I welcome your comments.

Regards,

Raul Martinez

Here's the test file
  --------------------
\documentclass[12pt]{article}

%-------Packages----------------------------------------

\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage{amsmath,amssymb,bm}
\usepackage{exscale,relsize}

(Continue reading)

Iraj Kalantari | 18 Aug 22:46
Favicon

Re: Size of braces and parentheses in split environment

Dear Experts,

Having experienced something like this which I did not record at the  
time, I experimented with Raul's test file.

Oddly (to my inexpert disposition), what causes the discrepancy in the  
size of the braces are the exponents in the two lines.  An exponent of  
'4' or a '7' in either line will make the size of the braces larger.

Is it the font that causes it?   When should one watch out for this  
kind of behavior?

Iraj Kalantari

On Aug 18, 2008, at 1:43 PM, R Martinez wrote:

> Axel,
>
> Many thanks for your reply.
>
> After reading your comments I experimented with my file and  
> discovered that the delimiter size discrepancy occurs when I use the  
> command \usepackage{exscale,relsize}. The delimiter size discrepancy  
> does not occur when I comment out this command.
>
> Since I need to use these packages,  I will follow your advice and  
> set the delimiter size myself.
>
> I welcome your comments.
>
(Continue reading)

Axel E. Retif | 19 Aug 03:22

Re: Size of braces and parentheses in split environment

On  18 Aug, 2008, at 15:46, Iraj Kalantari wrote:

> Dear Experts,
>
> Having experienced something like this which I did not record at the  
> time, I experimented with Raul's test file.
>
> Oddly (to my inexpert disposition), what causes the discrepancy in  
> the size of the braces are the exponents in the two lines.  An  
> exponent of '4' or a '7' in either line will make the size of the  
> braces larger.

Pending the experts opinion...

Curiously, I get the same sizes in both lines; what changes for me is  
the relative sizes of delimiters when changing from 12pt to 10pt:

Whithout lmodern (that is, with cm-super), I see the change with or  
without \usepackage{exscale,relsize}. With just lmodern the relative  
size of delimiters is the same in 10pt and 12pt; but with  
\usepackage{exscale,relsize} even lmodern makes the change.

Now try other fonts, for example, mathptmx and txfonts (for the  
latter, you have to load it after the AMS packages).

> Is it the font that causes it?

I guess a combinations of the fonts and packages that manage them.

> When should one watch out for this kind of behavior?
(Continue reading)

Alain Schremmer | 19 Aug 05:03

Re: Size of braces and parentheses in split environment


On Aug 18, 2008, at 9:22 PM, Axel E. Retif wrote:

> I think it profits to read and re-read Voss' Mathmode:
>
> http://www.ctan.org/get/info/math/voss/mathmode/Mathmode.pdf
>
> Also, I think one should load always fixltx2e and Morten Høgholm's  
> mathtools:
>
> http://www.ctan.org/tex-archive/macros/latex/contrib/mh/
> See the mathtools PDF.

They certainly look crucial. Why were they hiding all this time? I am  
going to study the manuals seriously.

Grateful regards
--schremmer

----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
List Archive: http://tug.org/pipermail/macostex-archives/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex

Peter Dyballa | 19 Aug 08:45

Re: Size of braces and parentheses in split environment


Am 19.08.2008 um 05:03 schrieb Alain Schremmer:

> Why were they hiding all this time?

Mathmode is available since TeX Live 2007.

--
Greetings

   Pete

Mac OS X is like a wigwam: no fences, no gates, but an apache inside.

----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
List Archive: http://tug.org/pipermail/macostex-archives/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex


Gmane