[請益] 有關cancel package顏色問題
在數學中時常用到消去記號
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)
討論串 (同標題文章)
完整討論串 (本文為第 1 之 2 篇):
LaTeX 近期熱門文章
PTT數位生活區 即時熱門文章