问题 1
我想增加分号(;)前后的空格。
问题2
我想改变 y->\infty 在下方的位置(与 y->0 相同)
梅威瑟:
\documentclass[12pt]{article}
\usepackage[a4paper,top=0.8 in,bottom=0.8 in,left=0.6 in,right=0.5 in]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[misc]{ifsym}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{delarray}
\usepackage[dvipsnames]{xcolor}
\usepackage{tikz}
\usetikzlibrary{calc,shapes}
\usepackage{parskip}
\usepackage{cellspace}
\setlength\cellspacetoplimit{4pt}
\setlength\cellspacebottomlimit{4pt}
\begin{document}
\large
The associated boundary conditions are
\(\begin{array}[t].{l}\}
u = U_{0} \\[8pt]
v = V_{w} \\ [8pt]
N = 0 \\ [8pt]
T = T_{w} \\ [8pt]
C = C_{w}
\end{array}_{at\; y \,\to \,0}
\begin{array}[t]{@{}c@{}}\\{}; {}\\{}\end{array}
\begin{array}[t].{l}\}
u \,\to\, 0\\[8pt]
N \,\to\, 0\\[8pt]
T \,\to\, T_{\infty}\\[8pt]
C \,\to\, C_{\infty}
\end{array}\)_{as\; y \,\to \,\infty}
\end{document}
答案1
您有一个数学模式之外的下标。
我认为最好使用显示器并以不同的方式对齐内容。我建议同时使用顶部对齐和居中对齐(我更喜欢这种方式)。
\documentclass[12pt]{article}
\usepackage[a4paper,top=0.8 in,bottom=0.8 in,left=0.6 in,right=0.5 in]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[misc]{ifsym}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{delarray}
\usepackage[dvipsnames]{xcolor}
\usepackage{tikz}
\usetikzlibrary{calc,shapes}
\usepackage{parskip}
\usepackage{cellspace}
\setlength\cellspacetoplimit{4pt}
\setlength\cellspacebottomlimit{4pt}
\begin{document}
The associated boundary conditions are
\[
\renewcommand{\arraystretch}{1.2}
\begin{array}[t].{@{}r@{}>{{}}c<{{}}@{}l@{}}\}
u &=& U_{0} \\
v &=& V_{w} \\
N &=& 0 \\
T &=& T_{w} \\
C &=& C_{w}
\end{array}_{\text{as $y \to 0$}}
\quad ; \quad
\begin{array}[t].{@{}r@{}>{{}}c<{{}}@{}l@{}}\}
u &\to& 0\\
N &\to& 0\\
T &\to& T_{\infty}\\
C &\to& C_{\infty}
\end{array}_{\text{as $y \to \infty$}}
\]
The associated boundary conditions are
\[
\renewcommand{\arraystretch}{1.2}
\left.
\begin{array}{@{}r@{}>{{}}c<{{}}@{}l@{}}
u &=& U_{0} \\
v &=& V_{w} \\
N &=& 0 \\
T &=& T_{w} \\
C &=& C_{w}
\end{array}
\right\}_{\text{as $y \to 0$}}
\quad ; \quad
\left.
\begin{array}{@{}r@{}>{{}}c<{{}}@{}l@{}}
u &\to& 0\\
N &\to& 0\\
T &\to& T_{\infty}\\
C &\to& C_{\infty}
\end{array}
\right\}_{\text{as $y \to \infty$}}
\]
\end{document}
这是第三种可能性:
\documentclass[12pt]{article}
\usepackage[a4paper,top=0.8 in,bottom=0.8 in,left=0.6 in,right=0.5 in]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[misc]{ifsym}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{delarray}
\usepackage[dvipsnames]{xcolor}
\usepackage{tikz}
\usetikzlibrary{calc,shapes}
\usepackage{parskip}
\usepackage{cellspace}
\setlength\cellspacetoplimit{4pt}
\setlength\cellspacebottomlimit{4pt}
\begin{document}
The associated boundary conditions are
\[
\left.
\begin{aligned}
u &= U_{0} \\
v &= V_{w} \\
N &= 0 \\
T &= T_{w} \\
C &= C_{w}
\end{aligned}
\right\}\text{as $y \to 0$};\quad
\left.
\begin{aligned}
u &\to 0\\
N &\to 0\\
T &\to T_{\infty}\\
C &\to C_{\infty}
\end{aligned}
\right\}\text{as $y \to \infty$}
\]
\end{document}
答案2
在 Plain TeX 中,我们可以将其用作\eqalign{...}
数学公式的一部分。
$$
\left.\eqalign{u &= U_0\cr w &= V_w\cr N &= 0\cr T &= T_w\cr C &= C_w}\right\}
_{{\rm as}\ y\,\to\,\infty}
\quad ; \quad
\left.\eqalign{u &\to 0\cr N &\to 0\cr T &\to T_\infty\cr C &\to C_\infty}\right\}
_{{\rm as}\ y\,\to\,\infty}
$$
\bye