summaryrefslogtreecommitdiff
path: root/language/japanese/platex-tools/pxmulticol.tex
blob: 352c46a541046706ce57b6f6bea07ec736d3e807 (plain)
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
%# -*- coding: utf-8 -*-
\ifx\epTeXinputencoding\undefined\else % defined in e-pTeX (> TL2016)
  \epTeXinputencoding utf8    % ensure utf-8 encoding for platex
\fi

\documentclass[a4paper]{jsarticle}
\begingroup
  \def\NeedsTeXFormat#1\ProvidesPackage#2[#3 #4 #5]{%
    \gdef\fileversion{#4}\gdef\filedate{#3}\endinput}
  \input{pxmulticol.sty}
\endgroup
\title{Package \textsf{pxmulticol} \fileversion}
\author{Hironobu Yamashita}
\date{\filedate}
\begin{document}

\maketitle

Package \textsf{multicol}, included in \textsf{latex-tools} bundle,
throws an error when \verb+\footnote+ appears in vertical writing on
(u)p\LaTeX. The package \textsf{pxmulticol} provides a patch to
solve this problem.

This package is part of \textsf{platex-tools} bundle:
\begin{verbatim}
  https://github.com/aminophen/platex-tools
\end{verbatim}

The rest of this document is written in Japanese, and includes some
examples of usage.

\bigskip

\textsf{latex-tools}バンドルに含まれる\textsf{multicol}パッケージは、
縦組で脚注 (\verb+\footnote+) を使うとエラーを出してしまいます。
この\textsf{pxmulticol}パッケージを読み込むことで、縦組クラスでも
\textsf{multicols}環境内で脚注を使うことができるようになります。

\section{使いかた}

\textsf{multicol}パッケージの代わりに、あるいは追加で
\textsf{pxmulticol}パッケージを読み込みます。

\begin{verbatim}
  \documentclass[a4paper]{tarticle}
  \usepackage{pxmulticol}% multicol の代わり
  \begin{document}
  \begin{multicols}{2}
  縦組で段組をする場合も、脚注\footnote{こんな感じです。}を使う
  ことができます。
  \end{multicols}
  \end{document}
\end{verbatim}

\section*{References}

\begin{itemize}
\item 縦書き二段組における段移動\\
  \texttt{https://oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=2535}
\end{itemize}

\end{document}