blog/content/post/2007/12/13/2007-12-13-00000685.md

211 lines
19 KiB
Markdown
Raw Normal View History

2019-03-31 11:00:21 +00:00
---
title: MLA書式にしてみた
author: kazu634
date: 2007-12-13
url: /2007/12/13/_734/
wordtwit_post_info:
- 'O:8:"stdClass":13:{s:6:"manual";b:0;s:11:"tweet_times";i:1;s:5:"delay";i:0;s:7:"enabled";i:1;s:10:"separation";s:2:"60";s:7:"version";s:3:"3.7";s:14:"tweet_template";b:0;s:6:"status";i:2;s:6:"result";a:0:{}s:13:"tweet_counter";i:2;s:13:"tweet_log_ids";a:1:{i:0;i:3453;}s:9:"hash_tags";a:0:{}s:8:"accounts";a:1:{i:0;s:7:"kazu634";}}'
categories:
- LaTeX
- 修論
---
<div class="section">
<p>
 人文系の論文を書く人は「MLAで書いて」と言われることが多いみたい。自分もLaTeXでチャレンジして結構迷う部分が多かったので、とりあえずここに書き散らかしておきます。
</p>
<h4>
実践
</h4>
<p>
 基本は「<a href="http://svslab.jp/latex/case/mla.html" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://svslab.jp/latex/case/mla.html', '英語論文――MLAフォーマットとICUの英語教育');" target="_blank">英語論文――MLAフォーマットとICUの英語教育</a>」を参考にすればよろしいみたい。ただし
</p>
<blockquote>
<p>
Choose Times New Roman, 12-point font.
</p>
</blockquote>
<p>
ということなので、ここだけ注意した方が良いのだろう。結局こんな感じになった(「パッケージが見あたらない」と言われたら、<a href="http://www.ctan.org/" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://www.ctan.org/', 'CTAN');" target="_blank">CTAN</a>で探してください)
</p>
<pre class="syntax-highlight">
<span class="synStatement">\documentclass</span><span class="synSpecial">[</span><span class="synConstant">12pt, a4paper, titlepage</span><span class="synSpecial">]{</span><span class="synPreProc">article</span><span class="synSpecial">}</span>
<span class="synComment">% Timesを使うよ</span>
<span class="synStatement">\usepackage</span><span class="synSpecial">{txfonts}</span>
<span class="synComment">% セクションが切り替わって最初の行もインデントさせる</span>
<span class="synStatement">\usepackage</span><span class="synSpecial">{indentfirst}</span>
<span class="synComment">% 文献リストはMLA方式にする</span>
<span class="synStatement">\usepackage</span><span class="synSpecial">{mla}</span>
<span class="synComment">% ページの余白設定</span>
<span class="synStatement">\setlength</span><span class="synSpecial">{</span><span class="synStatement">\textwidth</span><span class="synSpecial">}{</span><span class="synStatement">\paperwidth</span><span class="synSpecial">}</span>
<span class="synStatement">\addtolength</span><span class="synSpecial">{</span><span class="synStatement">\textwidth</span><span class="synSpecial">}{</span>-<span class="synConstant">2in</span><span class="synSpecial">}</span>
<span class="synStatement">\setlength</span><span class="synSpecial">{</span><span class="synStatement">\oddsidemargin</span><span class="synSpecial">}{</span><span class="synConstant">0pt</span><span class="synSpecial">}</span> <span class="synComment">% ここまででページの左右余白を各1インチに</span>
<span class="synStatement">\setlength</span><span class="synSpecial">{</span><span class="synStatement">\textheight</span><span class="synSpecial">}{</span><span class="synStatement">\paperheight</span><span class="synSpecial">}</span>
<span class="synStatement">\addtolength</span><span class="synSpecial">{</span><span class="synStatement">\textheight</span><span class="synSpecial">}{</span>-<span class="synConstant">2in</span><span class="synSpecial">}</span>
<span class="synStatement">\setlength</span><span class="synSpecial">{</span><span class="synStatement">\topmargin</span><span class="synSpecial">}{</span><span class="synConstant">0pt</span><span class="synSpecial">}</span> <span class="synComment">% 上下の余白も1インチずつに</span>
<span class="synStatement">\setlength</span><span class="synSpecial">{</span><span class="synStatement">\headheight</span><span class="synSpecial">}{</span><span class="synConstant">1em</span><span class="synSpecial">}</span>
<span class="synStatement">\setlength</span><span class="synSpecial">{</span><span class="synStatement">\headsep</span><span class="synSpecial">}{</span><span class="synConstant">1em</span><span class="synSpecial">}</span>
<span class="synStatement">\addtolength</span><span class="synSpecial">{</span><span class="synStatement">\textheight</span><span class="synSpecial">}{</span>-<span class="synConstant">2em</span><span class="synSpecial">}</span> <span class="synComment">% ヘッダ分のスペースを空ける</span>
<span class="synStatement">\setlength</span><span class="synSpecial">{</span><span class="synStatement">\parindent</span><span class="synSpecial">}{</span><span class="synConstant">5ex</span><span class="synSpecial">}</span> <span class="synComment">% インデントは5文字分</span>
<span class="synComment">% セクション関係</span>
<span class="synStatement">\makeatletter</span>
<span class="synStatement">\newcommand\mlasection</span><span class="synSpecial">{</span><span class="synError">\@startsection</span><span class="synSpecial">{</span>section<span class="synSpecial">}{</span>1<span class="synSpecial">}{</span><span class="synError">\z@</span><span class="synSpecial">}</span><span class="synComment">%</span>
<span class="synSpecial">{</span>-<span class="synConstant">3.25ex</span><span class="synError">\@plus</span> -<span class="synConstant">1ex</span> <span class="synError">\@minus</span> -.<span class="synConstant">2ex</span><span class="synSpecial">}</span><span class="synComment">%</span>
<span class="synSpecial">{</span><span class="synConstant">1.5ex</span> <span class="synError">\@plus</span> .<span class="synConstant">2ex</span><span class="synSpecial">}</span><span class="synComment">%</span>
<span class="synSpecial">{</span><span class="synStatement">\centering</span><span class="synType">\Large\sffamily\bfseries</span><span class="synSpecial">}}</span>
<span class="synStatement">\newcommand\mlasubsection</span><span class="synSpecial">{</span><span class="synError">\@startsection</span><span class="synSpecial">{</span>subsection<span class="synSpecial">}{</span>2<span class="synSpecial">}{</span><span class="synError">\z@</span><span class="synSpecial">}</span><span class="synComment">%</span>
<span class="synSpecial">{</span>-<span class="synConstant">3.25ex</span><span class="synError">\@plus</span> -<span class="synConstant">1ex</span> <span class="synError">\@minus</span> -.<span class="synConstant">2ex</span><span class="synSpecial">}</span><span class="synComment">%</span>
<span class="synSpecial">{</span><span class="synConstant">1.5ex</span> <span class="synError">\@plus</span> .<span class="synConstant">2ex</span><span class="synSpecial">}</span><span class="synComment">%</span>
<span class="synSpecial">{</span><span class="synType">\large\sffamily\sffamily</span><span class="synSpecial">}}</span>
<span class="synStatement">\newcommand\mlasubsubsection</span><span class="synSpecial">{</span><span class="synError">\@startsection</span><span class="synSpecial">{</span>subsubsection<span class="synSpecial">}{</span>3<span class="synSpecial">}{</span><span class="synError">\z@</span><span class="synSpecial">}</span><span class="synComment">%</span>
<span class="synSpecial">{</span>-<span class="synConstant">3.25ex</span><span class="synError">\@plus</span> -<span class="synConstant">1ex</span> <span class="synError">\@minus</span> -.<span class="synConstant">2ex</span><span class="synSpecial">}</span><span class="synComment">%</span>
<span class="synSpecial">{</span><span class="synConstant">1.5ex</span> <span class="synError">\@plus</span> .<span class="synConstant">2ex</span><span class="synSpecial">}</span><span class="synComment">%</span>
<span class="synSpecial">{</span><span class="synType">\normalsize\sffamily</span><span class="synSpecial">}}</span>
<span class="synStatement">\makeatother</span>
<span class="synStatement">\renewcommand</span><span class="synSpecial">{</span><span class="synStatement">\section</span><span class="synSpecial">}{</span><span class="synStatement">\mlasection</span><span class="synSpecial">}</span>
<span class="synStatement">\renewcommand</span><span class="synSpecial">{</span><span class="synStatement">\subsection</span><span class="synSpecial">}{</span><span class="synStatement">\mlasubsection</span><span class="synSpecial">}</span>
<span class="synStatement">\renewcommand</span><span class="synSpecial">{</span><span class="synStatement">\subsubsection</span><span class="synSpecial">}{</span><span class="synStatement">\mlasubsubsection</span><span class="synSpecial">}</span>
<span class="synComment">% ダブルスペース</span>
<span class="synStatement">\usepackage</span><span class="synSpecial">{doublespace}</span>
<span class="synComment">% 尾注の設定</span>
<span class="synStatement">\usepackage</span><span class="synSpecial">{endnotes}</span>
<span class="synStatement">\let\footnote</span>=<span class="synStatement">\endnote</span>
<span class="synComment">% 表題の設定</span>
<span class="synPreProc">\title{</span><span class="synType">\textit</span><span class="synSpecial">{</span>Lord Jim<span class="synSpecial">}</span>: <span class="synSpecial">\\</span>Failure of Education<span class="synPreProc">}</span>
<span class="synPreProc">\author{</span>By <span class="synSpecial">\\</span> MUSASHI Kazuhiro <span class="synPreProc">}</span> <span class="synComment">% </span>
<span class="synStatement">\date</span><span class="synSpecial">{</span>2007/12/21<span class="synSpecial">}</span> <span class="synComment">% 日付は前に定義したMLAに合ったものを</span>
<span class="synComment">% ヘッダ</span>
<span class="synStatement">\usepackage</span><span class="synSpecial">{fancyhdr}</span>
<span class="synStatement">\lhead</span><span class="synSpecial">{}</span>
<span class="synStatement">\chead</span><span class="synSpecial">{}</span>
<span class="synStatement">\rhead</span><span class="synSpecial">{</span>Kazuhiro MUSASHI~<span class="synStatement">\thepage</span><span class="synSpecial">}</span> <span class="synComment">% 自分のfamily nameと半角空けてページ番号をページ右上に</span>
<span class="synStatement">\lfoot</span><span class="synSpecial">{}</span>
<span class="synStatement">\cfoot</span><span class="synSpecial">{}</span>
<span class="synStatement">\rfoot</span><span class="synSpecial">{}</span>
<span class="synStatement">\pagestyle</span><span class="synSpecial">{</span>fancyplain<span class="synSpecial">}</span>
<span class="synStatement">\renewcommand</span><span class="synSpecial">{</span><span class="synStatement">\headrulewidth</span><span class="synSpecial">}{</span><span class="synConstant">0pt</span><span class="synSpecial">}</span> <span class="synComment">% ヘッダに下線は引かない</span>
<span class="synComment">% ドキュメント開始</span>
<span class="synPreProc">\begin{document}</span>
<span class="synComment">% タイトル</span>
<span class="synStatement">\maketitle</span>
<span class="synStatement">\thispagestyle</span><span class="synSpecial">{</span>empty<span class="synSpecial">}</span>
<span class="synStatement">\newpage</span>
<span class="synComment">% 目次</span>
<span class="synStatement">\tableofcontents</span>
<span class="synStatement">\thispagestyle</span><span class="synSpecial">{</span>empty<span class="synSpecial">}</span>
<span class="synStatement">\newpage</span>
<span class="synComment">% 本文</span>
<span class="synStatement">\include</span><span class="synSpecial">{intro}</span>
<span class="synStatement">\include</span><span class="synSpecial">{chap01}</span>
<span class="synStatement">\include</span><span class="synSpecial">{chap02}</span>
<span class="synStatement">\include</span><span class="synSpecial">{chap03}</span>
<span class="synStatement">\newpage</span>
<span class="synComment">% 注</span>
<span class="synStatement">\addcontentsline</span><span class="synSpecial">{</span>toc<span class="synSpecial">}{</span>section<span class="synSpecial">}{</span>Notes<span class="synSpecial">}</span>
<span class="synStatement">\begingroup</span>
<span class="synStatement">\parindent</span> <span class="synConstant">0pt</span>
<span class="synStatement">\parskip</span> <span class="synConstant">2ex</span>
<span class="synStatement">\def\enotesize</span><span class="synSpecial">{</span><span class="synType">\normalsize</span><span class="synSpecial">}</span>
<span class="synStatement">\theendnotes</span>
<span class="synStatement">\thispagestyle</span><span class="synSpecial">{</span>empty<span class="synSpecial">}</span>
<span class="synStatement">\endgroup</span>
<span class="synStatement">\newpage</span>
<span class="synComment">% 引用文献</span>
<span class="synStatement">\addcontentsline</span><span class="synSpecial">{</span>toc<span class="synSpecial">}{</span>section<span class="synSpecial">}{</span>Works Cited<span class="synSpecial">}</span>
<span class="synStatement">\bibliographystyle</span><span class="synSpecial">{</span>mla<span class="synSpecial">}</span>
<span class="synStatement">\bibliography{</span><span class="synSpecial">biblio</span><span class="synStatement">}</span>
<span class="synStatement">\thispagestyle</span><span class="synSpecial">{</span>empty<span class="synSpecial">}</span>
<span class="synStatement">\newpage</span>
<span class="synComment">% 参考文献</span>
<span class="synStatement">\addcontentsline</span><span class="synSpecial">{</span>toc<span class="synSpecial">}{</span>section<span class="synSpecial">}{</span>Works Consulted<span class="synSpecial">}</span>
a
<span class="synStatement">\thispagestyle</span><span class="synSpecial">{</span>empty<span class="synSpecial">}</span>
<span class="synComment">% bibliographyに無条件で載せる本をここに</span>
<span class="synStatement">\nocite{</span><span class="synSpecial">LJim</span><span class="synStatement">}</span>
<span class="synStatement">\nocite{</span><span class="synSpecial">HaggardButts199807</span><span class="synStatement">}</span>
<span class="synStatement">\nocite{</span><span class="synSpecial">PSimple</span><span class="synStatement">}</span>
<span class="synPreProc">\end{document}</span>
</pre>
<p>
 MLAスタイルに合わせた結果、残り20ページほど書かなければならないことに気づいてちょっと憂鬱になってしまったりして(..;)
</p>
<h4>
参考文献
</h4>
<div class="hatena-asin-detail">
<a href="http://www.amazon.co.jp/dp/4774129844/?tag=hatena_st1-22&ascsubtag=d-7ibv" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://www.amazon.co.jp/dp/4774129844/?tag=hatena_st1-22&ascsubtag=d-7ibv', '');"><img src="https://images-na.ssl-images-amazon.com/images/I/517PAASMYVL._SL160_.jpg" class="hatena-asin-detail-image" alt="[改訂第4版] LaTeX2ε美文書作成入門" title="[改訂第4版] LaTeX2ε美文書作成入門" /></a></p>
<div class="hatena-asin-detail-info">
<p class="hatena-asin-detail-title">
<a href="http://www.amazon.co.jp/dp/4774129844/?tag=hatena_st1-22&ascsubtag=d-7ibv" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://www.amazon.co.jp/dp/4774129844/?tag=hatena_st1-22&ascsubtag=d-7ibv', '[改訂第4版] LaTeX2ε美文書作成入門');">[改訂第4版] LaTeX2ε美文書作成入門</a>
</p>
<ul>
<li>
<span class="hatena-asin-detail-label">作者:</span> <a href="http://d.hatena.ne.jp/keyword/%B1%FC%C2%BC%C0%B2%C9%A7" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://d.hatena.ne.jp/keyword/%B1%FC%C2%BC%C0%B2%C9%A7', '奥村晴彦');" class="keyword">奥村晴彦</a>
</li>
<li>
<span class="hatena-asin-detail-label">出版社/メーカー:</span> <a href="http://d.hatena.ne.jp/keyword/%B5%BB%BD%D1%C9%BE%CF%C0%BC%D2" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://d.hatena.ne.jp/keyword/%B5%BB%BD%D1%C9%BE%CF%C0%BC%D2', '技術評論社');" class="keyword">技術評論社</a>
</li>
<li>
<span class="hatena-asin-detail-label">発売日:</span> 2006/12/12
</li>
<li>
<span class="hatena-asin-detail-label">メディア:</span> 大型本
</li>
<li>
<span class="hatena-asin-detail-label">購入</span>: 2人 <span class="hatena-asin-detail-label">クリック</span>: 113回
</li>
<li>
<a href="http://d.hatena.ne.jp/asin/4774129844" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://d.hatena.ne.jp/asin/4774129844', 'この商品を含むブログ (55件) を見る');" target="_blank">この商品を含むブログ (55件) を見る</a>
</li>
</ul>
</div>
<div class="hatena-asin-detail-foot">
</div>
</div>
<div class="hatena-asin-detail">
<a href="http://www.amazon.co.jp/dp/4756118135/?tag=hatena_st1-22&ascsubtag=d-7ibv" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://www.amazon.co.jp/dp/4756118135/?tag=hatena_st1-22&ascsubtag=d-7ibv', '');"><img src="https://images-na.ssl-images-amazon.com/images/I/21-EHsnNbIL._SL160_.jpg" class="hatena-asin-detail-image" alt="The LATEXコンパニオン (アスキーアジソンウェスレイシリーズ)" title="The LATEXコンパニオン (アスキーアジソンウェスレイシリーズ)" /></a></p>
<div class="hatena-asin-detail-info">
<p class="hatena-asin-detail-title">
<a href="http://www.amazon.co.jp/dp/4756118135/?tag=hatena_st1-22&ascsubtag=d-7ibv" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://www.amazon.co.jp/dp/4756118135/?tag=hatena_st1-22&ascsubtag=d-7ibv', 'The LATEXコンパニオン (アスキーアジソンウェスレイシリーズ)');">The LATEXコンパニオン (アスキーアジソンウェスレイシリーズ)</a>
</p>
<ul>
<li>
<span class="hatena-asin-detail-label">作者:</span> <a href="http://d.hatena.ne.jp/keyword/Michel%20Goossens" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://d.hatena.ne.jp/keyword/Michel%20Goossens', 'Michel Goossens');" class="keyword">Michel Goossens</a>,<a href="http://d.hatena.ne.jp/keyword/%A5%A2%A5%B9%A5%AD%A1%BC%BD%F1%C0%D2%CA%D4%BD%B8%C9%F4" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://d.hatena.ne.jp/keyword/%A5%A2%A5%B9%A5%AD%A1%BC%BD%F1%C0%D2%CA%D4%BD%B8%C9%F4', 'アスキー書籍編集部');" class="keyword">アスキー書籍編集部</a>
</li>
<li>
<span class="hatena-asin-detail-label">出版社/メーカー:</span> <a href="http://d.hatena.ne.jp/keyword/%A5%A2%A5%B9%A5%AD%A1%BC" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://d.hatena.ne.jp/keyword/%A5%A2%A5%B9%A5%AD%A1%BC', 'アスキー');" class="keyword">アスキー</a>
</li>
<li>
<span class="hatena-asin-detail-label">発売日:</span> 1998/06
</li>
<li>
<span class="hatena-asin-detail-label">メディア:</span> 単行本
</li>
<li>
<span class="hatena-asin-detail-label">クリック</span>: 8回
</li>
<li>
<a href="http://d.hatena.ne.jp/asin/4756118135" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://d.hatena.ne.jp/asin/4756118135', 'この商品を含むブログ (4件) を見る');" target="_blank">この商品を含むブログ (4件) を見る</a>
</li>
</ul>
</div>
<div class="hatena-asin-detail-foot">
</div>
</div>
</div>