
有沒有辦法延遲設定框內容的文字顏色和背景顏色,直到使用該框為止?
有沒有辦法延遲設定盒子內容的文字顏色和背景顏色,直到該盒子被運送到 .pdf 檔案或 .dvi 檔案?
S.th。喜歡:
\documentclass{article}
\usepackage{xcolor}
\newbox\mytempbox
\begin{document}
\savebox\mytempbox{%
\vbox{%
<Some special with placeholders for values of textcolor and backgroudcolor>
\hbox{One}\hbox{Two}%
}%
}
<Some directive for assigning values to placeholders for values of textcolor and backgroudcolor>
\usebox\mytempbox
<Some directive for assigning values to placeholders for values of textcolor and backgroudcolor>
\usebox\mytemphbox
<Some directive for assigning values to placeholders for values of textcolor and backgroudcolor>
\usebox\mytemphbox
\end{document}