We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cancel 宏包. mathmode 定义 \newcommand\hcancel[2][black]{\setbox0=\hbox{#2}\rlap{\raisebox{.45\ht0}{\textcolor{#1}{\rule{\wd0}{1pt}}}}#2} 例如: $f(x)=\dfrac{\left(x^2+1\right)\cancel{(x-1)}}{\cancel{(x-1)}(x+1)}$\[0.5cm] $\bcancel{3}\qquad\bcancel{1234567}$\[0.5cm] $\xcancel{3}\qquad\xcancel{1234567}$\[0.5cm] $\hcancel{3}\qquad\hcancel[red]{1234567}$
也可以用tikz画(Miscellaneous Shapes)p735 \usetikzlibrary{shapes.misc} \tikz[baseline]\node[strike out,draw,anchor=text]{me}; \tikz[baseline] \node [cross out,draw,anchor=text] {me}; \tikz \node [cross out,draw=red] at (1.5,1) {cross out};
The text was updated successfully, but these errors were encountered:
No branches or pull requests
cancel 宏包. mathmode 定义
$f(x)=\dfrac{\left(x^2+1\right)\cancel{(x-1)}}{\cancel{(x-1)}(x+1)}$ \[0.5cm]
$\bcancel{3}\qquad\bcancel{1234567}$ \[0.5cm]
$\xcancel{3}\qquad\xcancel{1234567}$ \[0.5cm]
$\hcancel{3}\qquad\hcancel[red]{1234567}$
\newcommand\hcancel[2][black]{\setbox0=\hbox{#2}\rlap{\raisebox{.45\ht0}{\textcolor{#1}{\rule{\wd0}{1pt}}}}#2}
例如:
也可以用tikz画(Miscellaneous Shapes)p735
\usetikzlibrary{shapes.misc}
\tikz[baseline]\node[strike out,draw,anchor=text]{me};
\tikz[baseline] \node [cross out,draw,anchor=text] {me};
\tikz \node [cross out,draw=red] at (1.5,1) {cross out};
The text was updated successfully, but these errors were encountered: