f*******l 发帖数: 8811 | 1 \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. \\ |
|
g*********r 发帖数: 124 | 2 用 fancyhdr 作两种不同的页面风格,下面是一个例子:
\documentclass{article}
\usepackage{fancyhdr,graphicx}
\fancypagestyle{first}{%
\fancyhf{}
\lhead{}
\chead{header \includegraphics[width=1cm]{pic.eps}}
% 此处引用 eps 格式的图片,需要先把 jpg 图片转化为 eps 格式
\rhead{}
\lfoot{}
\cfoot{\thepage}
\rfoot{}
\renewcommand{\headrulewidth}{0pt}
}
\fancypagestyle{reminder}{%
\fancyhf{}
\lfoot{}
\cfoot{\thepage}
\rfoot{}
\renewcommand{\headrulewidth}{0pt}
}
\begin{document}
\title{Title}
\author{Author
\maketitle |
|
m******1 发帖数: 19713 | 3 Obama: Judicial Resolution of DOMA the Best Option
In round table session, Obama predicts a Latino will win presidency before
he dies, reaffirms administration's goal to work towards comprehensive
immigration reform.
On immigration policy, Obama says rise in deportations somewhat misleading.
Illegals turned around at borders count as "deportations."
On Jobs Act, President admits "there isn't one single silver bullet," and/
but says American Jobs Act would give thousands of Latino constructions
w... 阅读全帖 |
|
|
|
|
a**e 发帖数: 5794 | 7 \usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead[LE,RO]{$\S\:$\leftmark} %双页左、单页右页眉设为章节
\fancyhead[LO,RE]{Alpha's MathNote} %单页左、双页右页眉
\fancyfoot[LE,RO]{\thepage} %双页左、单叶右页脚设为页码
\cfoot{} %中间页脚设为空
. |
|
T*******n 发帖数: 493 | 8 Try \usepackage{fancyhdr}, and take a look at the
examples given in the user manual.
If you don't want to use fancyhdr (fancyhdr has a
few minor problems with line spacing calculations
which could clash with your font size change), you
will have to define a new page style or redefine
\ps@plain or \ps@headings. Try fancyhdr first.
Whatever you do, do not redefine the \thepage macro
to include any font information, especially if you
use hyperref. |
|
J*******r 发帖数: 379 | 9 ☆─────────────────────────────────────☆
realguy (爱我所爱) 于 (Fri Jul 29 03:49:05 2005) 提到:
一直在想如何在论文的上方加上"to appear in the...."(比如在preprint的论文),好象
fancyheader的package可以做这个事情,但好象挺复杂(至少用起来不方便),所以一直没
有figure out出来。哪位兄弟帮忙贴一些sample code. 谢谢。
☆─────────────────────────────────────☆
xyct (洋葱头) 于 (Tue Aug 9 22:44:53 2005) 提到:
我是这么用的:
\documentclass{article}
\usepackage{fancyhdr}
\pagestyle{fancy}
\begin{document}
\fancyhf{}
\lhead{to appear in the....}
\rhead{My Name}
\rfoot{Page \thepage}
text. |
|
S********y 发帖数: 182 | 10 这儿是定义chappage的code,有什么不对的么。
% Definition of 'chapter header' page style
%
% Moves the page number to the lower center of the page, instead of
% the usual upper-right.
%
\def\ps@chappage{\let\@mkboth\@gobbletwo
\def\@oddhead{}\def\@oddfoot{\rm\hfil\thepage\hfil}
\def\@evenhead{}\let\@evenfoot\@oddfoot
} |
|
g*********r 发帖数: 124 | 11 \usepackage{fancyhdr}
\pagestyle{fancy}
\fancyfoot[C]{\thepage} |
|
c*******h 发帖数: 1096 | 12 在prosper.cls里找到\newpagestyle那一段,将
p.~\thepage\ifallPages/\realpageref{last@page}
删去 |
|
b*******t 发帖数: 33714 | 13 暴力笨办法。。
\rhead{\textcolor{gray}{\hfill\thepage}}
lol |
|
z***i 发帖数: 8285 | 14 \documentclass[a4paper,11pt]{article}
\usepackage[latin1]{inputenc}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage[colorlinks=true]{hyperref}
\usepackage{colortbl}
\usepackage{hyperref}
\usepackage{extramarks}
\usepackage{fancyhdr}
\usepackage{color}
\usepackage{eso-pic}
\usepackage{ifpdf}
\usepackage{svgcolor}
\usepackage{booktabs}
\usepackage{amssymb}
\pagenumbering{arabic}
\hypersetup{urlcolor=blue}
\definecolor{light-gray}{gray}{0.86}
\setlength{\paperwidth}{597pt}
\setlength{\paperh... 阅读全帖 |
|
d******8 发帖数: 1972 | 15 来自主题: _Stockcafeteria版 - 8.3% Unemployment holds steady as employers add 227,000 jobs in February,
exceeding expectations.
AP: "U.S. employers added 227,000 jobs in January to complete three of the
best months of hiring since the recession began."
Reuters: " Employment grew solidly for a third straight month in February, a
sign the economic recovery was broadening and in less need of further
monetary stimulus from the Federal Reserve."
Bloomberg: "Employers in the U.S. boosted payrolls more than forecast in
February, indicat... 阅读全帖 |
|