Do you use the command \pagestyle{...} anywhere in your file, or does
\pagestyle{...} appear anywhere in the jthesis-v1.cls file?
My guess: There is a \pagestyle{empty} somewhere in the input files
that is setting the default page formatting to be without page numbers.
However, hidden inside the \chapter and \chapter* commands are calls
to \thispagestyle{plain}. So by default, most of your pages have no
page number (the "empty" page style), and the pages where \chapter
and \chapter* are execut
problem solved!!!!
In this template, "\pagestyle{myheading}" appears twice and "\pagestyle{
plain}" appears once.
After I change all of them to "\pagestyle{plain}", then page numbers are
bottom center.
I'm writing a technical report, the instuction says the margin should
be top=1.75cm, left=right=bottom=2.54cm, no header or footer should be
used. So I set like this:
\documentclass[11pt,letterpaper]{article}
\usepackage{times}
\usepackage[dvips]{graphicx,color,psfrag}
\usepackage[left=2.54cm, right=2.54cm, top=1.75cm, bottom=2.54cm]{geometry}
\pagestyle{empty}
However, after the pdf was generated, the bottom margin is almost 5cm
(the other margin looks correct), anyone has some idea about what'
各位,
我正用学校的.cls模版写thesis,但是最近发现一个问题,我的各章题目都回被默认做为
每叶的header,比如, CHAPTER 1. THIS IS THE FIRST CHAPTER, 但我某一章的title比
较长,会顶出叶面一点.
我查了一下,可以用\pagestyle{plain}把整个header拿掉,但是我不太愿意那样.
我希望能做下面两种改动:或者把header上的CHAPTER X去掉,只显示THIS IS THE FIRST
CHAPTER, 或者把header的字体该小一点, 不知道该怎么做? 那为有经验的指点一下.
P.S.论文模版load的class是report
谢谢
Here is the simplified version:
\documentclass[titlepage,landscape]{slides}
\usepackage{amsmath}
\usepackage[dvips]{graphicx}
\usepackage{psfig}
\hfuzz5pt
\vfuzz5pt
\pagestyle{plain}
\begin{document}
\input{inc.tex}
\end{document}
Thank you for the help.
First set the default page style (you can do this before \begin{document}).
\pagestyle{default-page-style-for-other-pages}
Then somewhere on the first page issue this command:
\thispagestyle{page-style-for-first-page}
% abstract
\renewcommand{\abstract}[1]{
\setboolean{chapteronrhs}{false}
\chapter*{\abstractname}
\setboolean{chapteronrhs}{true}
\thispagestyle{empty}
#1
}
这个是对地
然后
% roman numbering until \startchapters issued
\pagenumbering{roman}
% user defined headings
\pagestyle{fancy}
这个是chapter之前的
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
% command to ensure on a right hand page but use blank left page
% rather than one with he
你可以看看如下:
\documentclass[10pt,conference,letterpaper,twocolumn]{IEEEtran}
\usepackage{amsfonts}
\pagestyle{plain}
\pagenumbering{arabic}
\usepackage{amsmath,multirow} % for subequations
\usepackage{subfigure,graphics,psfig,epsfig,wrapfig}
\newtheorem{Theorem}{Theorem}
\newtheorem{Definition}{Definition}
\newtheorem{Assumption}{Assumption}
\newtheorem{Corollary}{Corollary}
显示的是斜体、非粗;
奇怪的是,但我在\documentclass[a4paper, 12pt]{article}下面,就能够显示正常的
粗体、正体定理、定义。
我不会change the definition of the class
file -> export in openoffice.org, I am using 3.0 beta.
This exports some crappy .tex files, it defines a pagestyle and apply it. I
think it is better to read that definition and rewrite it in your .tex files
.
我用的是fancyhdr package: Extensive control of page headers and footers
in LaTeX2e. http://www.ctan.org/tex-archive/macros/latex/contrib/fancyhdr/
如果你把第一句\pagestyle{fancy} 改成\thispagestyle{fancy}
可以手工把每页的headers 和footers做得都不一样,但是写语句的位置
要算好,要在新一页的开始。所以最好是先试下怎么用,然后先忽略这个,
等到把论文全改完了确定分页了再加。。
\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. \\