
나는 작은 작업 예를 가지고 있습니다.
\documentclass{article}
\usepackage{amsmath}
\usepackage[version=4]{mhchem}
\begin{document}
\begin{gather*}
\ce{
S + E_1 <=> SE_1 -> P + E_1 \\ S + E_2 <=> SE_2 -> P + E_2 %Ask how to do this on Stackxchange
}
\end{gather*}
\end{document}
이는 결국 2개의 방정식을 제공하지만 이 2개의 방정식을 1개로 병합하고 싶습니다.
S + E_1 <=> SE_1
나는 와 가 S + E_2 <=> SE_2
서로 같은 줄에 있는 것을 찾고 있지만 (단지 1 S
) 양방향으로 수평에서 45도 각도를 이루고 있습니다.
내가 의미하는 바를 설명하기가 정말 어렵습니다. 하지만 제가 말한 내용이 이해가 되기를 바랍니다.
편집:내 말은 이것이다https://gyazo.com/25902d106e90a628820075df6c023523
답변1
\ArrowBetweenLines
다음 명령을 사용하여 mathtools
:
\documentclass{article}
\usepackage{mathtools}
\usepackage[version=4]{mhchem}
\begin{document}
\begin{alignat*}{2}
\thickspace & \ce{E_1 <=> SE_1 -> P + E_1}\\
\ArrowBetweenLines[\ce{S}\enspace\renewcommand{\arraystretch}{0.9}\begin{matrix} + \\\\+\end{matrix}\!\!]& \ce{ E_2 <=> SE_2 -> P + E_2}
\end{alignat*}
\end{document}
답변2
사용하는 tikz
것은 과잉일 수 있지만 여기에 있습니다.
\documentclass[]{article}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}[inner sep = 0pt]
\node[] (S) {$S$};
\node[above right = 1pt and 3pt of S] {$+ E_1 \rightleftharpoons S E_1 \to P + E_1$};
\node[below right = 1pt and 3pt of S] {$+ E_2 \rightleftharpoons S E_2 \to P + E_2$};
\end{tikzpicture}
\end{document}