由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
TeX版 - How to write text into the background?
相关主题
如何嵌入一段文字,让文字的背景是灰色的How to Shade A Piece of Text in Latex
兄弟们latex里面怎样把一个致富放在最右面Shaded Box Around Text
Table 的黑粗线是怎么弄出来的?不用figure env图片确实不会乱串
格式问题求教怎么改变reference 的字体
求大虾帮忙,关于citation的括号问题how to convert latex to txt?
tex问题请问:怎样在=号上面放文字?
Footnote in latex[合集] 请问:怎样在=号上面放文字?
如何将附录的封面页垂直居中?如何自定义INDEX的列数?
相关话题的讨论汇总
话题: text话题: draft话题: write话题: background话题: gray
进入TeX版参与讨论
1 (共1页)
t**i
发帖数: 688
1
I want to write text "DRAFT" on every page of my draft, usually very big and
gray colored and run cross one whole page from the left bottom to upper
right.
Can someone enlighten me with sample code? Thanks.
i***k
发帖数: 15
2
Try package draftcopy. Never try it myself, but according to the description
, it should work.
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=watermark
t**i
发帖数: 688
3
Now I have been able to define a new command \BackgroundText so that I can
put teh desired text in gray into the background. However, how to have it
automatically written once for every page? Currently, I have to call the
command every time I need it.
\usepackage{color, fancybox}
\definecolor{LightGray}{gray}{0.85}
\newcommand{\BackgroundText}{%
\boxput{\rotatebox{45}{\scalebox{5.5}{%
\textcolor{LightGray}{DRAFT}}}}
}

and

【在 t**i 的大作中提到】
: I want to write text "DRAFT" on every page of my draft, usually very big and
: gray colored and run cross one whole page from the left bottom to upper
: right.
: Can someone enlighten me with sample code? Thanks.

t**i
发帖数: 688
4
FIXED!
\usepackage{eso-pic}
\usepackage{color}
\AddToShipoutPicture{%
\AtTextCenter{%
\makebox(0,0)[c]{\resizebox{\textwidth}{!}{%
\rotatebox{45}{\textsf{\textbf{\textcolor[gray]{0.90}{DRAFT}}}}}}%
}
}

【在 t**i 的大作中提到】
: Now I have been able to define a new command \BackgroundText so that I can
: put teh desired text in gray into the background. However, how to have it
: automatically written once for every page? Currently, I have to call the
: command every time I need it.
: \usepackage{color, fancybox}
: \definecolor{LightGray}{gray}{0.85}
: \newcommand{\BackgroundText}{%
: \boxput{\rotatebox{45}{\scalebox{5.5}{%
: \textcolor{LightGray}{DRAFT}}}}
: }

1 (共1页)
进入TeX版参与讨论
相关主题
如何自定义INDEX的列数?求大虾帮忙,关于citation的括号问题
how to make a newcommand for verbatimtex问题
请教公式Footnote in latex
关于report中header设置问题:如何将附录的封面页垂直居中?
如何嵌入一段文字,让文字的背景是灰色的How to Shade A Piece of Text in Latex
兄弟们latex里面怎样把一个致富放在最右面Shaded Box Around Text
Table 的黑粗线是怎么弄出来的?不用figure env图片确实不会乱串
格式问题求教怎么改变reference 的字体
相关话题的讨论汇总
话题: text话题: draft话题: write话题: background话题: gray