答案1
可能有点小题大做,但可以让你相当轻松地调整距离、线宽等:
\documentclass{article}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{decorations.pathreplacing}
\newcommand{\tikznode}[2]{\tikz[remember picture,baseline=(#1.base)]{\node(#1)[inner sep=0pt]{#2};}}
\begin{document}
\begin{align*}
\tikznode{1}{\strut}x+y&=7\\
\tikznode{2}{\strut}x-y&=3\\[2pt]
\tikznode{3}{\strut}2x&=10\tikznode{4}{\strut}
\end{align*}
\begin{tikzpicture}[remember picture,overlay]
\draw[thick,decorate,decoration={brace},transform canvas={xshift=-2pt}] (2.south)-- (1.north);
\draw[,transform canvas={yshift=1pt}](4.north)--(3.north)--++(-1cm,0);
\end{tikzpicture}
\end{document}