作者shuya (If Only)
看板LaTeX
标题[请益] 有关cancel package颜色问题
时间Wed Jun 11 21:30:38 2008
在数学中时常用到消去记号
Latex里面也有cancel package可供使用
cancel package中 作者有写
可以将cancellation mark上色
% If you use the color package, then you can declare
%
\renewcommand{\CancelColor}{<color_command>}
% and the cancellation marks will be printed in that color (e.g., \blue).
% However, if you are using color, I recommend lightly shaded blocks rather
% than diagonal arrows for cancelling.
但不知道为什麽我仿照他的形式写
还是没有办法正确的帮marks上色
反而变成奇怪的重叠字 囧rz
不知道有没有高手可以帮忙看出我的错误到底在哪边
谢谢!!
\documentclass[12pt]{report}
\usepackage{graphicx}
\usepackage{amsmath,amssymb, undertilde, mathtools}
\usepackage{array,cancel}
\usepackage[dvips]{color}
\usepackage[margin=25mm]{geometry}
\usepackage{colortbl}
\renewcommand{\CancelColor}{red}
\begin{eqnarray*}
40 &=& 10 \cancel{+ 30} \cancel{-30} +30
\end{eqnarray*}
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 59.115.180.60
※ 编辑: shuya 来自: 59.115.180.60 (06/11 21:31)