
삭제를 제안한 대로 전체 섹션(여러 페이지에 걸쳐 있는 모든 하위 섹션과 각주 포함)을 마크업하고 싶습니다. 이상적으로는 색상과 취소선을 사용하지만 둘 중 하나만 사용해도 충분합니다. 저는 pdflatex와 TeXLive 2013을 사용하고 있습니다.
지금까지 시도한 색상 변경 명령은 여러 그룹, 여러 페이지 또는 각주에서 실패했기 때문에 행운을 얻지 못했습니다. changes
패키지와 \color{}
명령도 각주를 처리할 수 없습니다.
내가 찾을 수 있는 가장 유망한 명령은 이었지만 or 를 사용 pdfcolorstack
하면 중단되는 것 같습니다 . 예를 들어 아래 예(문서에서 복사)에서 가 있으면 텍스트가 검은색입니다.hyperref
pdfpages
\usepackage{pdfpages}
"still green"
\documentclass{article}
\usepackage{pdfpages} % This breaks things
\begin{document}
Hello world!
\chardef\Color=\pdfcolorstackinit page direct{0 g}
default color,
\pdfcolorstack\Color set{1 1 0 0 k}
some new default
\pdfcolorstack\Color push{0 1 1 0 k}
red,
\pdfcolorstack\Color push{1 0 1 0 k}
green, and some footnote\footnote{here!!} and some more text.
\newpage
still green (BUT NOT WHEN PDFPAGES IS USED!!),
\pdfcolorstack\Color pop
red again,
\pdfcolorstack\Color pop
default again,
\pdfcolorstack\Color set{0 g}
back to black.
\end{document}
hyperref
초안 목적으로 는 없이도 지나갈 수 있지만 pdfpages
매우 중요합니다. :(
답변1
\documentclass{article}
\usepackage{pdfpages} % This breaks things
\usepackage{xcolor}
\RequirePackage[normalem]{ulem}
\begin{document}
Hello world!
default color,
{\color{blue!60!black}
some new default
{\color{red!80!black}
red, \sout{red struck-out}
{\color{green!60!black}
green, and some footnote\footnote{here!!} and some more text.
\newpage
still green (BUT NOT WHEN PDFPAGES IS USED!!),}
red again,}
default again,}
back to black.
\end{document}
생산하다
이는 2페이지의 주장을 거짓으로 만드는 것입니다...