📌 تراز کردن سه نقطه زیر هم زیر و وسط مساوی
📍 مثال اول، سه نقطه در خط سوم زیر مساویها تراز نشده. زدن فاصله دستی در LaTeX جالب نیست. (عکس اول)
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align*}
x &= 14 \\
& = 12 + 2 \\
&\vdots \\
&= 11 + 1 + 2
\end{align*}
\end{document}
📍 روش اول دستور widthof بسته calc (عکس دوم)
\documentclass{article}
\usepackage{amsmath,calc}
\begin{document}
\begin{align*}
x &= 14 \\
& = 12 + 2 \\
&\mathrel{\makebox[\widthof{=}]{\vdots}} \\
&= 11 + 1 + 2
\end{align*}
\end{document}
دستور
\mathrel{\makebox[\widthof{=}]{\vdots}}
یکی از امکانات خوب بسته calc هست.
📍 روش دوم با دستور
\vdotswithin{=}
از بسته mathtools (عکس ۳)
\documentclass{article}
\usepackage{amsmath,mathtools}
\begin{document}
\begin{align*}
x &= 14 \\
& = 12 + 2 \\
&\vdotswithin{=} \\
&= 11 + 1 + 2
\end{align*}
\end{document}
📌کانال و گروه لاتک زیپرشین
t.me/TeXnician t.me/TeXnicianGroup
#calc #widthof #align #mathtools #vdotswithin #vdots
📍 مثال اول، سه نقطه در خط سوم زیر مساویها تراز نشده. زدن فاصله دستی در LaTeX جالب نیست. (عکس اول)
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align*}
x &= 14 \\
& = 12 + 2 \\
&\vdots \\
&= 11 + 1 + 2
\end{align*}
\end{document}
📍 روش اول دستور widthof بسته calc (عکس دوم)
\documentclass{article}
\usepackage{amsmath,calc}
\begin{document}
\begin{align*}
x &= 14 \\
& = 12 + 2 \\
&\mathrel{\makebox[\widthof{=}]{\vdots}} \\
&= 11 + 1 + 2
\end{align*}
\end{document}
دستور
\mathrel{\makebox[\widthof{=}]{\vdots}}
یکی از امکانات خوب بسته calc هست.
📍 روش دوم با دستور
\vdotswithin{=}
از بسته mathtools (عکس ۳)
\documentclass{article}
\usepackage{amsmath,mathtools}
\begin{document}
\begin{align*}
x &= 14 \\
& = 12 + 2 \\
&\vdotswithin{=} \\
&= 11 + 1 + 2
\end{align*}
\end{document}
📌کانال و گروه لاتک زیپرشین
t.me/TeXnician t.me/TeXnicianGroup
#calc #widthof #align #mathtools #vdotswithin #vdots