Created
February 9, 2013 05:12
-
-
Save rinx/4743925 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[a4paper,11pt]{ltjarticle} | |
% 余白調整 | |
% TOP = 1inch + \voffset + \topmargin + \headheight + \headsep | |
% BOTTOM = \paperheight - TOP - \textheight | |
\setlength{\textheight}{\paperheight} %紙面縦幅を本文領域に | |
\setlength{\topmargin}{4.6truemm} %上部余白を30mm(=1inch+4.6mm)に | |
\addtolength{\topmargin}{-\headheight} | |
\addtolength{\topmargin}{-\headsep} | |
\addtolength{\textheight}{-60truemm} %下部余白を30mmに | |
% LEFT = 1inch + \hoffset + \oddsidemargin | |
% RIGHT = \paperwidth - LEFT - \textwidth | |
\setlength{\textwidth}{\paperwidth} %紙面横幅を本文領域に | |
\setlength{\oddsidemargin}{4.6truemm} %左余白を30mm(=1inch+4.6mm)に | |
\setlength{\evensidemargin}{4.6truemm} | |
\addtolength{\textwidth}{-60truemm} %右余白を30mmに | |
\renewcommand{\baselinestretch}{1.0} %行間を1.0倍に | |
\begin{document} | |
%本文 | |
\end{document} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
lualatex(もしくはその他tex)使用時の余白調整テンプレートとして