Skip to content

Instantly share code, notes, and snippets.

@kyontan
Created October 28, 2012 14:24
Show Gist options
  • Save kyontan/3968735 to your computer and use it in GitHub Desktop.
Save kyontan/3968735 to your computer and use it in GitHub Desktop.
Texメモ
%%A4で上下左右の余白を20mmにする
%% 高さの設定
\setlength{\textheight}{\paperheight} % ひとまず紙面を本文領域に
\setlength{\topmargin}{-5.4truemm} % 上の余白を20mm(=1inch-5.4mm)に
\addtolength{\topmargin}{-\headheight} %
\addtolength{\topmargin}{-\headsep} % ヘッダの分だけ本文領域を移動させる
\addtolength{\textheight}{-40truemm} % 下の余白も20mmに
%% 幅の設定
\setlength{\textwidth}{\paperwidth} % ひとまず紙面を本文領域に
\setlength{\oddsidemargin}{-5.4truemm} % 左の余白を20mm(=1inch-5.4mm)に
\setlength{\evensidemargin}{-5.4truemm} %
\addtolength{\textwidth}{-40truemm} % 右の余白も20mmに
%%EPS画像を読み込んで表示
\includegraphics{hoge.eps}
参考
TeX入門
http://oku.edu.mie-u.ac.jp/~okumura/texwiki/?TeX%E5%85%A5%E9%96%80
http://www.comp.tmu.ac.jp/tsakai/lectures/intro_tex.html
TeXを使って数式をきれいに書こう
http://www.juen.ac.jp/math/nakagawa/texguide.html
[TeX]余白の設定
http://kevlar.blog137.fc2.com/blog-entry-9.html
グラフをLaTeX文書に取りこむ
http://lagendra.s.kanazawa-u.ac.jp/ogurisu/manuals/gnuplot-intro/latex.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment