-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpagesizedef.clo
66 lines (61 loc) · 2.02 KB
/
pagesizedef.clo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
\NeedsTeXFormat{pLaTeX2e}
\ProvidesFile{pagesizedef.clo}
[2019/09/22 v1.0 (page size option)]
\makeatletter
%%%%%%%%%%%%%%%% 判斷是否使用騎縫書眉 %%%%%%%%%%%%%%%%%%%%
\setlength{\voffset}{ 0 mm}
\setlength{\hoffset}{ 0 mm}
\setlength{\parskip}{0mm}
\setlength{\parindent}{0mm}
\if@pdfm
\if@BV
\if@YongleCanon % for 永樂大典
\setlength{\topmargin}{-20 mm}
\setlength{\textheight}{416 pt}
\setlength{\textwidth}{162 mm}
%版面寬度(即由版心上邉至底邉的距离)
\setlength{\handurawidth}{216 mm}
\setlength{\oddsidemargin} {-50 pt} %修正數據
\setlength{\evensidemargin}{ 0 pt} %修正數據
\else % for SKQS
\setlength{\voffset}{ 6 mm}
\setlength{\topmargin}{-20 mm}
\setlength{\textheight}{416 pt}
\setlength{\textwidth}{166 mm}
%版面寬度(即由版心上邉至底邉的距离)
\setlength{\handurawidth}{216 mm}
\setlength{\oddsidemargin} {-50 pt} %修正數據
\setlength{\evensidemargin}{ 0 pt} %修正數據
\fi
\fi
\if@BIV
\if@YongleCanon % for 永樂大典
\setlength{\topmargin}{-20 mm}
\setlength{\textheight}{858 pt}
\setlength{\textwidth}{162 mm}
%版面寬度(即由版心上邉至底邉的距离)
\setlength{\handurawidth}{216 mm}
\setlength{\oddsidemargin} { 12 pt} %修正數據
\else % for SKQS
\setlength{\voffset}{ 6 mm}
\setlength{\topmargin}{-20 mm}
\setlength{\textheight}{884 pt}
\setlength{\textwidth}{166 mm}
%版面寬度(即由版心上邉至底邉的距离)
\setlength{\handurawidth}{216 mm}
\setlength{\oddsidemargin} { -3 pt} %修正數據
\fi
\fi
\else % only for BV
\setlength{\topmargin}{-20 mm}
\setlength{\textheight}{416 pt}
\setlength{\textwidth}{182 mm}
%版面寬度(即由版心上邉至底邉的距离)
\setlength{\handurawidth}{216 mm}
\setlength{\oddsidemargin} {-25 pt} %修正數據
\setlength{\evensidemargin}{-25 pt} %修正數據
\fi
%%%%%%%%%%%%%%%% 判斷使用作文紙的紙張 %%%%%%%%%%%%%%%%%%%%
\makeatother
\endinput
% end of page size optins, file 'pagesizedef.clo'