我有这个代码
\documentclass{article}
\usepackage{amsmath,amssymb,geometry}
\geometry{
paper=a4paper,
left=2cm,
right=2cm,
vmargin=2cm,
includeheadfoot=true,
headheight=35pt
}
\begin{document}
\begin{align}
D_x &= \mathbb{R}, &D_y &= \mathbb{R} \symbol{92} \{0\} \notag\\
\implies D_f &= \mathbb{R} \symbol{92} \{0\}\notag\\
dx &= 8tdt, &dy &= \left(3t^2 - \frac{14}{t}\right)dt,\label{eq3}\\
\implies\frac{dy}{dx} &= \frac{3t^3-14}{8t^2}
\implies d\left(\frac{dy}{dx}\right)
= \left(\frac{3}{8} + \frac{7}{2t^3}\right)dt \label{eqf''}\\
\lim_{t \to 0} x &= -3, &\lim_{t \to 0} y &= +\infty,\label{eq2}\\
\end{align}
\end{document}
答案1
创建第三列并使用mathtools 包中的\mathclap
(或)\mathmakebox[2in][c]
\begin{align}
D_x &= \mathbb{R}, &&&D_y &= \mathbb{R} \symbol{92} \{0\} \notag\\
&&\mathmakebox[2in][c]{
\implies D_f = \mathbb{R} \symbol{92} \{0\}
}\notag\\
dx &= 8tdt, &&&dy &= \left(3t^2 - \frac{14}{t}\right)dt,\label{eq3}\\
&&\mathmakebox[2in][c]{
\implies\frac{dy}{dx} = \frac{3t^3-14}{8t^2}
\implies d\left(\frac{dy}{dx}\right)
= \left(\frac{3}{8} + \frac{7}{2t^3}\right)dt
}\\
\lim_{t \to 0} x &= -3, &&&\lim_{t \to 0} y &= +\infty,\label{eq2}
\end{align}
该命令
\mathclap
将其参数放在零宽度框中并将其居中。[2,3.1.1]
该\mathmakebox[width][alignment]{content}
命令会创建一个框并将content
其放入其中。它接受一个可选参数width
和另一个(附加)可选参数alignment
,该参数可以是l
、r
或c
。
另请参阅:\shoveright
和\shoveleft
。
答案2
丑陋的黑客:
\documentclass{article}
\usepackage{mathtools}
\usepackage{amsfonts}
\begin{document}
\begin{align}
D_x &= \mathbb{R}, &D_y &= \mathbb{R} \symbol{92} \{0\} \notag\\
\intertext{\centerline{$\displaystyle\implies D_f = \mathbb{R} \symbol{92} \{0\}$}}
dx &= 8tdt, &dy &= \left(3t^2 - \frac{14}{t}\right)dt,\label{eq3}\\
\intertext{\centerline{$\displaystyle\implies\frac{dy}{dx} = \frac{3t^3-14}{8t^2}
\implies d\left(\frac{dy}{dx}\right)
= \left(\frac{3}{8} + \frac{7}{2t^3}\right)dt$}} \notag\\[-43pt]\label{eqf''}\\[14pt]
\lim_{t \to 0} x &= -3, &\lim_{t \to 0} y &= +\infty,\label{eq2}
\end{align}
\end{document}
答案3
我建议您采用彻底的视觉简化并采用单列、左对齐的“外观”。
\documentclass{article}
\usepackage{amsmath,amssymb,geometry}
\geometry{a4paper, margin=2cm, includeheadfoot, headheight=35pt}
\counterwithin{equation}{section} % just for this example
\begin{document}
\setcounter{section}{1} % just for this example
\stepcounter{equation}
\begin{align}
& D_x = \mathbb{R}, \quad D_y = \mathbb{R} \setminus \{0\} \notag\\[2\jot]
\implies & D_f = \mathbb{R} \setminus \{0\}\notag\\
& dx = 8t\,dt, \quad dy = \Bigl(3t^2 - \frac{14}{t} \Bigr)dt,\label{eq3}\\
\implies & \frac{dy}{dx} = \frac{3t^3-14}{8t^2}
\implies d\biggl(\frac{dy}{dx}\biggr)
= \biggl(\frac{3}{8} + \frac{7}{2t^3}\biggr)dt \label{eqf''} \\[\jot]
& \lim_{t \to 0} x = -3, \quad \lim_{t \to 0} y = +\infty,\label{eq2}
\end{align}
\end{document}