Created
April 16, 2011 07:37
-
-
Save laclefyoshi/922955 to your computer and use it in GitHub Desktop.
latex snippet for outputting vertical document
This file contains 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[10pt]{tarticle} | |
% ... | |
\newcommand{\tsetpagesize}[2]{% | |
\usepackage[paperwidth=#2, paperheight=#1,% | |
top=1truemm, bottom=1truemm, left=1truemm, right=1truemm]{geometry}% | |
\special{papersize=#1,#2}% | |
} | |
\tsetpagesize{\ipodtouchwidth}{\ipodtouchheight} | |
% source: http://www.genpaku.org/alice01/alice01j.html | |
\begin{document} | |
\maketitle | |
\section{CHAPTER I} | |
\subsection{うさぎの穴をまっさかさま} | |
アリスは川辺でおねえさんのよこにすわって、なんにもすることがないのでと | |
ても退屈たいくつしはじめていました。一、二回はおねえさんの読んでいる本 | |
をのぞいてみたけれど、そこには絵も会話もないのです。「絵や会話のない本 | |
なんて、なんの役にもたたないじゃないの」とアリスは思いました。 | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment