[texhax] texhax Digest, Vol 2009, Issue 463

hh hh-brasil at bol.com.br
Sat Nov 21 12:38:47 CET 2009


In my experience there exist commands like \bigg\{ or \biggl\{ which 
do not complain about the missing right part (\left demands an 
\right!).
hh

From:           	texhax-request at tug.org
Subject:        	texhax Digest, Vol 2009, Issue 463
To:             	texhax at tug.org
Send reply to:  	texhax at tug.org
Date sent:      	Sat, 21 Nov 2009 12:00:02 +0100


> Date: Fri, 20 Nov 2009 11:17:12 +0000 (GMT)
> From: Dan <vi5u0-texhax at yahoo.co.uk>
> To: TeXhax <texhax at tug.org>
> Subject: [texhax] Measuring height of displayed maths
> Message-ID:
> 	<alpine.LNX.2.00.0911191741500.992 at hydrographer.hatton.btinternet.co.uk>
> 	
> Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII
> 
> 
> Dear All,
> 
> I'm trying to measure the height of some displayed maths as part of an
> attempt to get the size of parentheses right in a multi-line
> equation.  This represents the sort of effect I want:
> 
> \documentclass{minimal}
> \usepackage{amsmath}
> \newcommand{\pnc}[1]{\textrm{#1}}
> \begin{document}
> \newlength{\funnyname}
> \settoheight{\funnyname}{\[\frac{1}{P^2}\left(\frac{\left(P+1\right)\left(P+E\right)+1}{P\left(E+1\right)\left(P+E\right)}+\frac{1}{E^2\left(E-1\right)}\right)O-\frac{1}{E^3}-\frac{1}{2E^4\left(E+1\right)}-\frac{1}{E^4\left(E-1\right)f_0}\]}
> \begin{equation}
> \begin{split}
> e_{1,0,s} =
> \left(\frac{1}{729\left(E-1\right)}\left(\rule{0pt}{\funnyname}\right.\right.&\left.\left.\frac{1}{P^2}\left(\frac{\left(P+1\right)\left(P+E\right)+1}{P\left(E+1\right)\left(P+E\right)}+\frac{1}{E^2\left(E-1\right)}\right)O-\frac{1}{E^3}-\frac{1}{2E^4\left(E+1\right)}\right.\right.\\{}
> &\left.\left.\rule{0pt}{\funnyname}-\frac{1}{E^4\left(E-1\right)f_0}\right)\frac{1}{f_0^6}+\frac{\left(1+3PJ\right)f_0}{27E^2\left(E-1\right)^2f_0^2}-\frac{\left(3E-2\right)e_{1,0,s,l}}{3E\left(E-1\right)}\right)\frac{1}{f_0}\pnc{;}
> \end{split}
> \end{equation}
> \end{document}
> 
> but unfortunately, it refuses to compile with a "missing $" error.  Any ideas, please?
> 
> -- 
> 
> Thanks,
> 
> Dan
> 



More information about the texhax mailing list