修改\hrulefill的厚度的方法
(2011-10-24 13:34:48)
标签:
杂谈 |
分类: soft-latex-pdflatex |
\documentclass{article}
% \hrulefill的定义:
% \def\hrulefill{\leavevmode\leaders\hrule\hfill\kern\z@}
% 在\hrule后面加上选项,如height 2pt,就可以变粗了。
% 把内部命令\z@改成0pt
\def\hrulefill{\leavevmode\leaders\hrule height 2pt\hfill\kern0pt}
\makeatletter
\def\rulefill{\leavevmode\leaders\hrule depth -3pt height 6pt\hfill\kern0pt}
\makeatother
\begin{document}
\rulefill
new GOOD
\rulefill
\end{document}
% \hrulefill的定义:
% \def\hrulefill{\leavevmode\leaders\hrule\hfill\kern\z@}
% 在\hrule后面加上选项,如height 2pt,就可以变粗了。
% 把内部命令\z@改成0pt
\def\hrulefill{\leavevmode\leaders\hrule height 2pt\hfill\kern0pt}
\makeatletter
\def\rulefill{\leavevmode\leaders\hrule depth -3pt height 6pt\hfill\kern0pt}
\makeatother
\begin{document}
\rulefill
new GOOD
\rulefill
\end{document}