|
f*******l 发帖数: 8811 | 2 \pagestyle{fancy}
\lhead{\textcolor{gray}{\it Name}}
\chead{\textcolor{gray}{\it Letter}}
\rhead{\textcolor{gray}{\thepage}}
%%\raggeleft{\rhead{\textcolor{gray}{\thepage}}}
%\rhead{\thepage}
\signature{Name} % name for signature
\longindentation=0pt % needed to get closing flush
left
\let\raggedleft\raggedright % needed to get date flush left
\begin{letter}{Mr. \\ |
|
k****y 发帖数: 781 | 3 void Textbox :: operator = (TextBox &source) {
if (this==&source) return;
Rect:: operator = (source );
textColor = source.textcolor;
}
Rect:: operator = (source );这句的含义,难道不要写成 a=b的形式? |
|
G********t 发帖数: 334 | 4 With the slides style, one can make
very good slides in Latex.
sample file
\documentclass[clock]{slides}
\usepackage{float}
\usepackage[dvips]{color, graphicx}
\begin{document}
\begin{center}\Large\bfseries
Sample Viewgraphs
\end{center}
\begin{slide}
\begin{center}\large Advantages of \texttt{slides}\end{center}
\begin{itemize}
\item \textcolor{cyan}{Uses special fonts}
\item \textcolor{red}{Forces key words instead of long text}
\invisible
\item Supports color layers
\item How about some math |
|
|
t**i 发帖数: 688 | 6 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 发帖数: 688 | 7 FIXED!
\usepackage{eso-pic}
\usepackage{color}
\AddToShipoutPicture{%
\AtTextCenter{%
\makebox(0,0)[c]{\resizebox{\textwidth}{!}{%
\rotatebox{45}{\textsf{\textbf{\textcolor[gray]{0.90}{DRAFT}}}}}}%
}
} |
|
c****d 发帖数: 116 | 8 \usepackage{color}
\textcolor{red}{Whatever...}
? |
|
j******a 发帖数: 1599 | 9 umm, that's weird,
actaully, I used this template last time and everything was fine,
this time it is just weird, on my Acer LCD, I can't even seen anything,
totally white. But on my x61, I can see the white on white characters,
Also, I was not able to use pdflatex since eps files are used.
Anyway, thanks for help! adding \textcolor is not that bad. |
|
g*********r 发帖数: 124 | 10 在导言区定义新命令 \colorsout
\usepackage{ulem,color}
\newcommand\colorsout{\bgroup
\markoverwith{\kern-.1em \textcolor{red}{-}\kern-.1em}% 划线为红色
\ULon}
可根据需要设置别的颜色 |
|
i********w 发帖数: 2223 | 11 thanks a lot!
在导言区定义新命令 \colorsout
\usepackage{ulem,color}
\newcommand\colorsout{\bgroup
\markoverwith{\kern-.1em \textcolor{red}{-}\kern-.1em}% 划线为红色
\ULon}
可根据需要设置别的颜色 |
|
b*******t 发帖数: 33714 | 12 暴力笨办法。。
\rhead{\textcolor{gray}{\hfill\thepage}}
lol |
|
A*****o 发帖数: 222 | 13 in your home directory .Xdefaults (if u don't have one, create one)
append
gnuplot*background: white
gnuplot*textColor: black
gnuplot*borderColor: black
gnuplot*axisColor: black
gnuplot*line1Color: red
gnuplot*line2Color: green
gnuplot*line3Color: yellow
gnuplot*line4Color: magenta
gnuplot*line5Color: cyan
gnuplot*line6Color: sienna
gnuplot*line7Color: orange
gnuplot*line8Color: coral
then, log out and re-login
or, xrdb -merge .Xdefaults |
|