Created
May 15, 2012 16:13
-
-
Save zr-tex8r/2702969 to your computer and use it in GitHub Desktop.
A package to make everyshi compatible with tate-mode of pTeX.
This file contains hidden or 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
% pxeveryshi.sty | |
\NeedsTeXFormat{pLaTeX2e} | |
\ProvidesPackage{pxeveryshi} | |
\RequirePackageWithOptions{everyshi} | |
% | |
\def\@EveryShipout@Output{% | |
\setbox8\vbox{% | |
\yoko | |
\@EveryShipout@Hook | |
\@EveryShipout@AtNextHook | |
\global\setbox\@cclv=\box\@cclv | |
}% | |
\gdef\@EveryShipout@AtNextHook{}% | |
\@EveryShipout@Org@Shipout\box\@cclv | |
} | |
%% EOF |
This file contains hidden or 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
% Example: use TikZ in tate-mode | |
% http://oku.edu.mie-u.ac.jp/~okumura/texfaq/qa/56760.html | |
\documentclass{tarticle} | |
\usepackage[dvipdfmx]{graphicx} | |
\usepackage{tikz} | |
\usepackage{pxeveryshi} | |
\begin{document} | |
\begin{tikzpicture} | |
\draw (0,0) -- (1,2); | |
\end{tikzpicture} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment