灌水专用回复贴(技术版,显得灌水者有技术)
灌水吧
全部回复
仅看楼主
level 5
% a4paper - A4纸   11pt -字体 twoside -双面 openany -新章节可在偶数页开始
\documentclass[a4paper,11pt,twoside,openany]
\usepackage
% a4paper - A4纸   11pt -字体 twoside -双面 openany -新章节可在偶数页开始
\documentclass[a4paper,11pt,twoside,openany]
\usepackage
\usepackage
\usepackage
\usepackage
%------------------------------纸张大小----------------------------------
% 定义转换成pdf文档的纸张大小,应与\paperwidth \paperheight一致
%\special{pdf: pagesize width 20cm height 30cm}
% true的含义是保持尺寸不会随一些参数的变化而变化,具体可见Knuth的TeXbook
%\paperwidth 20 true cm                   % 纸张宽
%\paperheight 30 true cm                  % 纸张高
%------------------------------页面布局----------------------------------
%\textwidth 10 true cm                    % 正文宽
%\textheight 20 true cm                   % 正文高
%\headheight   14pt                        % 页眉高
%\headsep     16pt                         % 页眉距离
%\footskip    27pt                         % 页脚距离
%\marginparsep 10pt                       % 边注区距离
%\marginparwidth   100pt                   % 边注区宽
%----------------------------页边空白调整-------------------------------
\def\marginset
#1#
2{                       % 页边设置 \marginset
\setlength{#1}          % 左边(书内侧)装订预留空白距离
\iffalse                    % 如果考虑左侧(书内侧)的边注区则改为\iftrue
\reversemarginpar
\addtolength
\addtolength
\fi
   \setlength        % 置0
\iffalse                    % 如果考虑右侧(书外侧)的边注区则改为\iftrue
\addtolength
\addtolength
\fi
   % \paperwidth = h + \oddsidemargin+\textwidth+\evensidemargin + h

2010年01月19日 03点01分 1
level 5
\setlength
\addtolength
\addtolength
\addtolength
\setlength
\addtolength            % h = \hoffset + 1in
   \setlength              % 0 = \voffset + 1in
\setlength
\addtolength
\addtolength
\addtolength
\addtolength
\addtolength{#2}            % 上边预留装订空白距离
\setlength
}
% 调整页边空白使内容居中,两参数分别为纸的左边和上边预留装订空白距离
\marginset
%-----------------------------字体支持-----------------------------------
\usepackage                        % 使用 Times New Roman 字体
\usepackage{CJK,CJKnumb,CJKulem}          % 中文支持宏包
%\usepackage                       % 使pdfLatex生成的文件支持复制等
%\usepackage[mtbold,mtpluscal,mtplusscr]%数学环境用Times New Roman
%-----------------------------页眉页脚-----------------------------------
\usepackage                     % 页眉页脚相关宏包
\pagestyle                         % 页眉页脚风格
%-----------------------------段落字体格式-------------------------------
\usepackage                        % 支持彩色
\usepackage                  % 首行缩进宏包
%\setlength              % 段落缩进
\setlength{0.7ex plus0.3ex minus0.3ex} % 段落间距
\linespread                         % 行距倍数
\renewcommand      % 行距倍数(同上)
%\renewcommand{\hskip 0pt plus 0.08\baselineskip} % 汉字字距
%\newcommand              % 自定义文字块例子
\newcommand}      % 宋体
\newcommand}        % 黑体
\newcommand}          % 仿宋
\newcommand}        % 楷体
\newcommand}          % 隶书
\newcommand}        % 幼圆
\newcommand}                           % 三号字体

2010年01月19日 03点01分 2
level 5
\newcommand\selectfont}       % 五号字体
\newcommand\selectfont}          % 小四字体
\newcommand\selectfont} % 四号字体
%\marginparpush                           %
%-----------------------------超链接和标签-------------------------------
\iffalse % 将这里改为\iftrue即可使用
\ifx\pdfoutput\undefined % Not run pdftex
%   \ifx
%     \usepackage[dvips]
%   \else
\usepackage[dvipdfm]
%   \fi
\AtBeginDvi{\special{pdf:tounicode GBK-EUC-UCS2}} % GBK -> Unicode
\else
\usepackage[pdftex]
\fi
\hypersetup{CJKbookmarks,%
bookmarksnumbered,%
colorlinks,%
linkcolor=blue,%
citecolor=blue,%
hyperindex,%
plainpages=false,%
pdfstartview=FitH}
\fi
%--------------------------------注释------------------------------------
\iffalse % 将这里改为\iftrue即可使用
%注释掉一段内容
\usepackage
\begin
This is a comment example.
\end
\fi
%\makeatletter % @ is now a normal "letter" for Tex
%\makeatother   % @ is restored as a "non-letter" for Tex
%--------------------------------其他宏包--------------------------------
%\usepackage{amsmath,amsthm,amsfonts,amssymb,bm} % 数学宏包
%\usepackage{graphicx,psfrag}                     % 图形宏包
%\usepackage                             % 建立索引宏包
%\usepackage                            % 源代码宏包
%---------------------------------正文-----------------------------------
\begin % 开始正文
% song-宋体 hei-黑体 fs-仿宋 kai-楷体 li-隶书 you-幼圆 com为 song+hei
\begin                            % 开始中文环境
\CJKtilde                                         % 重定义~代表的空白距离
\CJKindent                                        % 段首缩进
\CJKcaption                                   % 中文章节标题

2010年01月19日 03点01分 3
level 5
\author{习修学会观察组\ 第一观察者编写}   % 作者
\title\huge}}
\maketitle \indent \textcolor{\center{\huge{LONGA VIVO BLUA
AVIS} }}
\newline
\textcolor{ \center{\large {Ni semas kaj semas, neniam
lacigas. La semoj farigos verda arbaro, ni esperas.}}}
\indent \thispagestyle
\titlepage
\clearpage                                     % 生成标题
                           % 设置首页的页眉页脚风格
\setlength{3ex plus1ex minus1ex} % 调整行距
\clearpage                                     % 生成标题
\thispagestyle                            % 设置首页的页眉页脚风格
\pagestyle \rhead{\bfseries MATEMATIKO INSTRUA MATERIALO}
\indent % 不缩进
\textbf
\documentclass[english,12pt]
\usepackage[T1]
\usepackage[latin1]
\usepackage
\geometry{verbose,a4paper,tmargin=2cm,bmargin=2cm,lmargin=2cm,rmargin=2cm}
\pagestyle
\usepackage
\usepackage[collision]
\usepackage{hetarom,carom,epic,ccycle,aliphat}
\usepackage
\usepackage
\usepackage
\makeatletter
\@addtoreset
\renewcommand}
\makeatother
\usepackage
\begin
\begin
\renewcommand\contentsname
\renewcommand\listfigurename
\renewcommand\listtablename
\renewcommand\refname
\renewcommand\indexname
\renewcommand\figurename
\renewcommand\tablename
\renewcommand\abstractname
\renewcommand\partname
\renewcommand\appendixname
\renewcommand\today
\providecommand[1]{\ifcase#1\or\or\or\or\or\or\or\or\or\or\fi}
\makeatletter
\def\chaptermark#1{\markboth {\MakeUppercase{\ifnum \c@secnumdepth >\m@ne\if@mainmatter 第\CJKnumber章\ \fi\fi #1}}{}}
\def\sectionmark#1{\markright {\MakeUppercase{\ifnum \c@secnumdepth >\z@ \S\thesection \ \fi #1}}}
\def\@makechapterhead#1{\parindent \z@ \raggedright \normalfont
\ifnum \c@secnumdepth >\m@ne \if@mainmatter \huge\bfseries 第\CJKnumber章\ \ \par\nobreak \vskip 20\p@ \fi \fi \interlinepenalty\@M \Huge \bfseries #1\par\nobreak \vskip 40\p@}}
\makeatother
\pagestyle\fancyhead{}
\fancyfoot {}\renewcommand[1]{\markboth{#1}{}}
\renewcommand[1]{\markright{\thesection\ #1}}
\fancyhf{}
\fancyhead[LE,RO]
\fancyhead[LO]{\bfseries \CJKfamily \rightmark}
\fancyhead[RE]{\bfseries \CJKfamily \leftmark}
\fancyfoot[LE]{\footnotesize \CJKfamily cod}
\fancyfoot[LO]{\footnotesize \CJKfamily doc}
\fancyfoot[RO]{\   script   size firefox}
\renewcommand\headrulewidth
\renewcommand\footrulewidth

2010年01月19日 03点01分 4
1