% 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