I'm writing the next formula:
Code: Select all
\[ \left\{ \left[ \frac{ab}{b} \right] , \left[ \frac{aa}{a} \right] \right\} \]
How can I make the second pair of brackets be as high as the first pair?
Thank you very much!
Code: Select all
\[ \left\{ \left[ \frac{ab}{b} \right] , \left[ \frac{aa}{a} \right] \right\} \]
NEW: TikZ book now 40% off at Amazon.com for a short time.
Code: Select all
\documentclass[11pt,a4paper]{article}
\begin{document}
\[ \left\{ \left[ \frac{ab}{b} \right] , \left[ \frac{aa}{a} \right] \right\} \]
\end{document}
Code: Select all
\[
\left\{\left[\frac{ab}{b}\right] ,\left[\frac{aa\vphantom{b}}{a\vphantom{b}}\right]\right\}
\]
\[
\left\{\left[\frac{\smash{ab}}{\smash{b}}\right] ,\left[\frac{aa}{a}\right]\right\}
\]
Here's an example where it's not working.php1ic wrote:[...] This produces equal size brackets for me. [...]
Code: Select all
\documentclass[11pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\begin{document}
\[
\left\{\left[\frac{ab}{b}\right],\left[\frac{aa}{a}\right]\right\}
\]
\end{document}
Very interesting. I've done a bit of research, but was unable to find out why this happens. Initializing the math fonts before loading amsmath prevents this, but I'm not sure what exactly happens here.localghost wrote: Here's an example where it's not working.Code: Select all
\documentclass[11pt,a4paper]{article} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \usepackage{amsmath} \begin{document} \[ \left\{\left[\frac{ab}{b}\right],\left[\frac{aa}{a}\right]\right\} \] \end{document}
Code: Select all
\documentclass[11pt]{article}
\makeatletter
\csname S@10.95\endcsname
% {\escapechar\m@ne\mv@normal}% Uncomment this line
\makeatother
\usepackage{amsmath}
\begin{document}
$\displaystyle\left[\frac ba\right]\left[\frac aa\right]$
\end{document}
Code: Select all
\documentclass[11pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\begin{document}
\[\delimiterfactor=1020
\left\{\left[\frac{ab}{b}\right],\left[\frac{aa}{a}\right]\right\}
\]
\end{document}
NEW: TikZ book now 40% off at Amazon.com for a short time.