答案1
我们可以使用及其MnSymbol
、、、\lwavy
可\rwavy
扩展\lWavy
分隔\rWavy
符,以及empheq
:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{MnSymbol}
\usepackage{empheq}
\DeclareLeftDelimiter{\lwavy}
\DeclareRightDelimiter{\rwavy}
\begin{document}
\begin{empheq}[left =\boldsymbol\empheqlwavy\quad]{align*}
(a+b)^2 & = a^2 + 2ab + b^2; \\
(a-b)^2 & = a^2 - 2ab + b^2; \\
(a+b)(a-b) & = a^2 - b^2; \\
(a + b + c)^2 & = a^2 + b^2 + c^2 + 2(ab + bc + ca)
\end{empheq}
\end{document}
答案2
您可以尝试使用以下东西tikz
。
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{decorations.pathmorphing}
\begin{document}
\begin{tikzpicture}[thick]
\draw [decorate,
decoration={snake, segment length=10mm, amplitude=2mm}
] (0,.5) -- (0,4.5);
\node [anchor=west] at (1, 4) {$(a+b)^2 = a^2 + 2ab + b^2$};
\node [anchor=west] at (1, 3) {$(a-b)^2 = a^2 - 2ab + b^2$};
\node [anchor=west] at (1, 2) {$(a+b)(a-b) = a^2 - b^2$};
\node [anchor=west] at (1, 1) {$(a + b + c)^2 = a^2 + b^2 + c^2 + 2(ab + bc + ca)$};
\end{tikzpicture}
\end{document}
输出:
注意:您可以根据需要调整segment length=10mm
和amplitude=2mm
调整曲线。