花括号的大小

花括号的大小

我有以下 MWE

\documentclass{article}
\usepackage{amsmath}
\newcommand{\overbar}[1]{\mkern 1.5mu\overline{\mkern-1.5mu#1\mkern-1.5mu}\mkern 1.5mu}
\begin{document}
\begin{align}
\frac{\frac{\partial\pi\left( z \right)}{\partial CAF_{ij}}}{GLOB_{j}} =&\left( \theta_{10} + \theta_{11} + \omega_{1j} \right)\{\xi\left\lbrack\theta_{00} + \eta_{1}\overbar{AF}_{j} + (\theta_{10} + \theta_{11} + \omega_{1j})CAF_{ij} + \theta_{01} + \omega_{0j}\right\rbrack \times \notag \\
&\left\lbrack 1 - \xi\left\lbrack \theta_{00} + \eta_{1}\overbar{AF}_{j}+ \left( \theta_{10} + \theta_{11} + \omega_{1j} \right)CAF_{ij} + \theta_{01} + \omega_{0j} \right\rbrack\right\rbrack\} - \notag \\
&\left( \theta_{10} + \omega_{1j} \right)\{\xi\left\lbrack\theta_{00} + \eta_{1}\overbar{AF}_{j} + (\theta_{10} + \omega_{1j})CAF_{ij} + \omega_{0j}\right\rbrack \times \notag \\
&\left\lbrack 1 - \xi\left\lbrack \theta_{00} + \eta_{1}\overbar{AF}_{j} + \left( \theta_{10} + \omega_{1j} \right)CAF_{ij} + \omega_{0j} \right\rbrack\right\rbrack\}\label{mi}
\end{align}
\end{document}

我无法适应花括号的大小,我希望花括号更大一些,以便将内容嵌入其中。有什么帮助吗?

在此处输入图片描述

答案1

我建议您首先删除 11 个 和 实例\left\right接下来,分别将\{和实例替换\]}\bigl\{\bigr\}

假设AFCAFGLOB是变量名,它们应该用直立字母而不是数学斜体字母排版。

在此处输入图片描述

\documentclass{article}
\usepackage{geometry}
\usepackage{amsmath} % for 'aligned' env.
\newcommand{\overbar}[1]{\mkern 1.5mu\overline{\mkern-1.5mu#1\mkern-1.5mu}\mkern 1.5mu}
\newcommand\vn[1]{\mathrm{#1}} % how to display variable names
\newcommand\AF{\overbar{\vn{AF}}}
\begin{document}
\begin{equation} \label{mi}
\begin{aligned}[b]
\smash[b]{\frac{\frac{\partial\pi( z )}{\partial \vn{CAF}_{ij}}}{\vn{GLOB}_{j}}}
&=( \theta_{10} + \theta_{11} + \omega_{1j} )
   \bigl\{ \xi[\theta_{00} + \eta_{1}\AF _{j} + (\theta_{10} + \theta_{11} 
   + \omega_{1j})\vn{CAF}_{ij} + \theta_{01} + \omega_{0j}]   \\
&\qquad\times[ 1 - \xi[ \theta_{00} + \eta_{1}\AF _{j}+ ( \theta_{10} 
   + \theta_{11} + \omega_{1j} )\vn{CAF}_{ij} + \theta_{01} + \omega_{0j} ]] \bigr\}   \\
&\quad-( \theta_{10} + \omega_{1j} )  
   \bigl\{ \xi[\theta_{00} + \eta_{1}\AF _{j} + (\theta_{10} + 
   \omega_{1j})\vn{CAF}_{ij} + \omega_{0j}]   \\
&\qquad\times[ 1 - \xi[ \theta_{00} + \eta_{1}\AF _{j} 
   + ( \theta_{10} + \omega_{1j} )\vn{CAF}_{ij} + \omega_{0j} ]] \bigr\}
\end{aligned} 
\end{equation}
\end{document}

答案2

这里最简单的是在相关位置添加\bigl和:\bigr

\documentclass{article}
\usepackage{amsmath}
\newcommand{\overbar}[1]{\mkern 1.5mu\overline{\mkern-1.5mu#1\mkern-1.5mu}\mkern 1.5mu}

\begin{document}

\begin{align}
\frac{\frac{\partial\pi\left( z \right)}{\partial CAF_{ij}}}{GLOB_{j}} =&\left( \theta_{10} + \theta_{11} + \omega_{1j} \right)\bigl\{\xi\left\lbrack\theta_{00} + \eta_{1}\overbar{AF}_{j} + (\theta_{10} + \theta_{11} + \omega_{1j})CAF_{ij} + \theta_{01} + \omega_{0j}\right\rbrack \times \notag \\
&\left\lbrack 1 - \xi\left\lbrack \theta_{00} + \eta_{1}\overbar{AF}_{j}+ \left( \theta_{10} + \theta_{11} + \omega_{1j} \right)CAF_{ij} + \theta_{01} + \omega_{0j} \right\rbrack\right\rbrack\bigr\} - \notag \\
&\left( \theta_{10} + \omega_{1j} \right)\bigl\{\xi\left\lbrack\theta_{00} + \eta_{1}\overbar{AF}_{j} + (\theta_{10} + \omega_{1j})CAF_{ij} + \omega_{0j}\right\rbrack \times \notag \\
&\left\lbrack 1 - \xi\left\lbrack \theta_{00} + \eta_{1}\overbar{AF}_{j} + \left( \theta_{10} + \omega_{1j} \right)CAF_{ij} + \omega_{0j} \right\rbrack\right\rbrack\bigr\}\label{mi}
\end{align}

\end{document} 

在此处输入图片描述

答案3

您不能\left在一行中有一个,而\right在另一行中有一个对应的。您需要使用手动调整大小。无论如何,您的大部分\left操作都\right无济于事。

我不会尝试在每一行中塞入尽可能多的内容:

\documentclass{article}
\usepackage{amsmath}
\usepackage{showframe} % remove from the production version

\newcommand{\overbar}[1]{\mkern 1.5mu\overline{\mkern-1.5mu#1\mkern-1.5mu}\mkern 1.5mu}

\begin{document}
\begin{equation}
\label{mi}
\begin{split}
\lefteqn{
  \frac{1}{\mathit{GLOB}_{j}} 
  \frac{\partial\pi(z)}{\partial \mathit{CAF}_{ij}}
}\quad& \\
&=(\theta_{10} + \theta_{11} + \omega_{1j}) \\
&\qquad\cdot
  \begin{aligned}[t]
  \bigl\{&
    \xi\bigl[
      \theta_{00} + \eta_{1}\overbar{\mathit{AF}}_{j} +
      (\theta_{10} + \theta_{11} + \omega_{1j})\mathit{CAF}_{ij} +
      \theta_{01} + \omega_{0j}
    \bigl]\\
  & \cdot\bigl[
      1 - \xi[\theta_{00} + \eta_{1}\overbar{\mathit{AF}}_{j} +
      (\theta_{10} + \theta_{11} + \omega_{1j})\mathit{CAF}_{ij} +
      \theta_{01} + \omega_{0j}]
     \bigr]
   \bigr\}
   \end{aligned} \\
&\quad-
   ( \theta_{10} + \omega_{1j} ) \\
&\qquad\cdot
   \begin{aligned}[t]
   \bigl\{&
     \xi\bigl[
       \theta_{00} + \eta_{1}\overbar{\mathit{AF}}_{j} +
       (\theta_{10} + \omega_{1j})\mathit{CAF}_{ij} +
       \omega_{0j}
     \bigr] \\
   &\cdot
     \bigl[
       1 - \xi[ \theta_{00} + \eta_{1}\overbar{\mathit{AF}}_{j} +
       ( \theta_{10} + \omega_{1j} )\mathit{CAF}_{ij} + \omega_{0j} ]
     \bigr]
   \bigr\}
   \end{aligned}
\end{split}
\end{equation}

\end{document}

在此处输入图片描述

相关内容