diff options
author | Karl Berry <karl@freefriends.org> | 2016-10-15 22:50:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-10-15 22:50:51 +0000 |
commit | 177eef25dd40b669810a53bb5c853ae7473ddbe1 (patch) | |
tree | 2678cb1a125a1d140de36493bd64185bf3437325 /Master/texmf-dist/doc/latex/platex-tools/pxeveryshi.tex | |
parent | cc71c12ada0ba4aa27acbb3ec40efa37826064fc (diff) |
platex-tools (15oct16)
git-svn-id: svn://tug.org/texlive/trunk@42263 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/platex-tools/pxeveryshi.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/platex-tools/pxeveryshi.tex | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/platex-tools/pxeveryshi.tex b/Master/texmf-dist/doc/latex/platex-tools/pxeveryshi.tex new file mode 100644 index 00000000000..ca3aafd9d6a --- /dev/null +++ b/Master/texmf-dist/doc/latex/platex-tools/pxeveryshi.tex @@ -0,0 +1,67 @@ +%# -*- coding: utf-8 -*- +\ifdefined\epTeXinputencoding % defined in e-pTeX (> TL2016) + \epTeXinputencoding utf8 % ensure utf-8 encoding for platex +\fi + +\documentclass[a4paper]{jsarticle} +\usepackage{doc} +\usepackage{pxeveryshi} +\GetFileInfo{pxeveryshi.sty} +\title{Package \textsf{pxeveryshi} \fileversion} +\author{Takayuki Yato} +\date{\filedate} +\begin{document} + +\maketitle + +Package \textsf{everyshi}, written by Martin Schr\"oder, +cannot be used with Japanese classes for vertical writing +(tarticle.cls, etc). This behavior is not comfortable, since +\textsf{everyshi} is required by some other packages +(e.g. \textsf{tikz}) and causes an error: +\begin{verbatim} + ! Incompatible direction list can't be unboxed. +\end{verbatim} +The package \textsf{pxeveryshi} provides a patch for \textsf{everyshi} +to work with both horizontal and vertical writing. + +This package is part of \textsf{platex-tools} bundle: +\begin{verbatim} + https://github.com/aminophen/platex-tools +\end{verbatim} + +\bigskip + +Martin Schr\"oder氏による\textsf{everyshi}パッケージは、 +p\LaTeX の縦組クラス(tarticle.clsなど)で使うとエラーが出てしまいます。 +この挙動は、たとえば\textsf{tikz}のような内部で\textsf{everyshi}パッケージ +を必要とするパッケージを縦組で使用する際に問題になります。 +この\textsf{pxeveryshi}パッケージを読み込むことで、縦組クラスでも +\textsf{everyshi}パッケージ(およびこれに依存するパッケージ)が +使えるようになります。 + +使いかたは、\textsf{everyshi}パッケージの代わりに、あるいは +\textsf{everyshi}パッケージに追加して、\textsf{pxeveryshi}パッケージを +読みこむだけです。使用例: +\begin{verbatim} + \documentclass{tarticle} + \usepackage[dvipdfmx]{graphicx} + \usepackage{tikz} + \usepackage{pxeveryshi} + \begin{document} + \begin{tikzpicture} + \draw (0,0) -- (1,2); + \end{tikzpicture} + \end{document} +\end{verbatim} + +\section*{References} + +\begin{itemize} +\item tikz を縦書きで\\ + \texttt{https://oku.edu.mie-u.ac.jp/~okumura/texfaq/qa/56760.html} +\item Re: tikz を縦書きで\\ + \texttt{https://oku.edu.mie-u.ac.jp/~okumura/texfaq/qa/56761.html} +\end{itemize} + +\end{document} |