[請益] 有關cancel package顏色問題

看板LaTeX (論文排版)作者 (If Only)時間17年前 (2008/06/11 21:30), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
在數學中時常用到消去記號 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)
文章代碼(AID): #18JzD_bi (LaTeX)
文章代碼(AID): #18JzD_bi (LaTeX)