패키지xcolor문서가 다음과 같은 옵션이 있습니다 xcdraw
.
Option xcdraw uses PostScript commands to draw frames and color boxes in case
of the dvips driver and PDF code to draw frames in case of the pdftex and
dvipdfm drivers. This is still experimental code that may confuse .dvi viewers.
그리고 실제로 이를 사용하면 xdvi
뷰어가 혼란스러워집니다(당연히 ps 파일은 dvips
괜찮습니다).
\documentclass{article}
\usepackage[xcdraw]{xcolor}
\begin{document}
\fcolorbox{red}{white}{\phantom{\rule{\linewidth}{1cm}}}
\end{document}
파일을 컴파일 latex
하고 보는 경우는 다음과 같습니다 dvi
.
다양한 엔진의 그래픽x 드라이버(xetex, pdftex)가 활발하게 유지 관리되고 있는데 xcdraw
요즘에도 옵션을 사용하는 것이 좋은가요?
답변1
아니요, 몇 년 전에는 특별한 경우에만 해당되었습니다. 그러나 패키지 작성자인 Uwe Kern도 수년 동안 더 이상 활동하지 않으며 이 옵션은 아무도 유지 관리 권한을 맡지 않을 때까지 그대로 유지됩니다.