ご質問はこちらへ
Tikz matrix 表組み時の \hlineについて

縦書き二段組における段移動
和文版組で、multicol.styを用いた縦書き上下二段組で、次のようなレイアウトを目指しているのですが、\columnbreakがうまく機能しません。
*レイアウト
・冒頭ページ右端に、縦書き一段組でタイトル等入力。
・本文は全て縦書き上下二段組で、間には区切り線なし。
・上下段に一連の文章を載せるのではなく、下の段には上の文章に対応するものを載せる(対訳のイメージ)。
・脚注も縦書き上下二段組で、同ページに収める。上下が対応している必要はない。
色々試した結果(下にソース例)、おそらく原因はdblfnote.styを用いて上下二段組脚注が表示される状況で、\columnbreakが使えないということのようです。(エラーメッセージ:Insertions can only be added to a same direction vbox.)
\newpageは使えますが、当然改ページしてしまいます。何か上段から下段へ移行するいい方法はないでしょうか。同環境では、必要な行数分改行する(アナログな)くらいしか思いつきませんので、お知恵を拝借できると幸いです。
なお、twocolumn環境では\newpageで段移動できますが、冒頭の同一ページに一段と二段を混在させたいので、できればmulticol.styを用いたいと思っています。
とはいえ、以上のようなレイアウトが実現できれば、いずれを用いても、またその他全く異なる環境を用いても、構いません(欲を言えば、上段は上段で一連入力、下段は下段で一連入力、ということが可能であれば最善ですが、そういう環境があればご教示いただけると大変助かります)。何かアドバイスいただけると幸いです。
何卒よろしくお願いします。
(余談で私事ですが、Microsoft Word for Macの不具合にほとほと呆れ、とはいえ他のワープロソフトでも狙った縦書きレイアウトがうまく実現できず、いっそのことTeXなら、と思ったのですが、ここでもつまづいていて四苦八苦しています……。)
以下、ソース例)
・成功するケース(columnbreakあり、脚注なし)
\documentclass{tarticle}
\usepackage{multicol}
\usepackage {dblfnote}
\begin{document}
{\large タイトルタイトルタイトルタイトルタイトルタイトルタイトルタイトルタイトル}
\begin{multicols}{2}
本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文
\columnbreak
本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文
\newpage
\end{multicols}
\end{document}
・成功するケース(脚注あり、columnbreakなし)
\documentclass{tarticle}
\usepackage{multicol}
\usepackage {dblfnote}
\begin{document}
{\large タイトルタイトルタイトルタイトルタイトルタイトルタイトルタイトルタイトル}
\begin{multicols}{2}
本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文\footnote{脚注脚注脚注脚注}
本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文
\newpage
\end{multicols}
\end{document}
・失敗するケース(脚注あり、columnbreakあり)
\documentclass{tarticle}
\usepackage{multicol}
\usepackage {dblfnote}
\begin{document}
{\large タイトルタイトルタイトルタイトルタイトルタイトルタイトルタイトルタイトル}
\begin{multicols}{2}
本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文\footnote{脚注脚注脚注脚注}
\columnbreak
本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文
\newpage
\end{multicols}
\end{document}
脚注について
TeXworksでpdfが作成できない
This is ptex2pdf[.lua] version 20180514.0.
Processing untitled-3.tex
This is e-pTeX, Version 3.14159265-p3.8.1-180518-2.6 (utf8.sjis) (TeX Live 2018/W32TeX) (preloaded format=platex)
\write18 enabled.
entering extended mode
(./untitled-3.tex
pLaTeX2e <2018-07-28> (based on LaTeX2e <2018-04-01> patch level 5)
(c:/w32tex/share/texmf-dist/tex/platex/base/jarticle.cls
Document Class: jarticle 2018/07/03 v1.8 Standard pLaTeX class
(c:/w32tex/share/texmf-dist/tex/platex/base/jsize10.clo))
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emathP.sty
(c:/w32tex/share/texmf-dist/tex/latex/graphics/graphicx.sty
(c:/w32tex/share/texmf-dist/tex/latex/graphics/keyval.sty)
(c:/w32tex/share/texmf-dist/tex/latex/graphics/graphics.sty
(c:/w32tex/share/texmf-dist/tex/latex/graphics/trig.sty)
(c:/w32tex/share/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(c:/w32tex/share/texmf-dist/tex/latex/graphics-def/dvips.def)))
(c:/w32tex/share/texmf-dist/tex/latex/graphics/color.sty
(c:/w32tex/share/texmf-dist/tex/latex/graphics-cfg/color.cfg)
(c:/w32tex/share/texmf-dist/tex/latex/graphics/dvipsnam.def))
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emgyouretu.sty
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emath.sty
(c:/w32tex/share/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(c:/w32tex/share/texmf-dist/tex/latex/amsmath/amstext.sty
(c:/w32tex/share/texmf-dist/tex/latex/amsmath/amsgen.sty))
(c:/w32tex/share/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(c:/w32tex/share/texmf-dist/tex/latex/amsmath/amsopn.sty))
(c:/w32tex/share/texmf-dist/tex/latex/amsfonts/amssymb.sty
(c:/w32tex/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emathC.sty
(c:/w32tex/share/texmf-dist/tex/latex/tools/calc.sty)
(c:/w32tex/share/texmf-dist/tex/latex/base/ifthen.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/EMhairetu.sty))
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emathE.sty
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emathEc.sty
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emathK.sty)
(c:/w32tex/share/texmf-dist/tex/latex/tools/enumerate.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emathLb.sty))
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/jquote.sty))
(c:/w32tex/share/texmf-dist/tex/latex/amsfonts/umsa.fd)
(c:/w32tex/share/texmf-dist/tex/latex/amsfonts/umsb.fd)))
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emathW.sty
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emathQf.sty
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emathHe.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emathB.sty)))
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emathWb.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emathT.sty
(c:/w32tex/share/texmf-dist/tex/latex/tools/array.sty)
(c:/w32tex/share/texmf-dist/tex/latex/tools/hhline.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emathPh.sty
(c:/w32tex/share/texmf-dist/tex/latex/eepic/epic.sty
Enhancements to Picture Environment. Version 1.2 - Released June 1, 1986
) (c:/w32tex/share/texmf-dist/tex/latex/eepic/eepic.sty
Extension to Epic and LaTeX. Version 1.1e - Released Dec 21, 1999
)
load eepic
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/EMcolor.sty
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/EMrgbcolornam.def)))
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/zougenhyou.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/outotuhyou.sty))
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emathZ.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emathN.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emathEy.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emathPk.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emathPb.sty
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/EMfbox.sty
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/rectboxsikiri.sty)))
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emathPs.sty
(c:/w32tex/share/texmf-dist/tex/latex/tools/verbatim.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emathPxy.sty
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emfpcalc.sty
(c:/w32tex/share/texmf-dist/tex/latex/fp/fp-eval.sty
`Fixed Point Calculator', Version 0.9a (C) Michael Mehlich
(c:/w32tex/share/texmf-dist/tex/latex/fp/defpattern.sty
`\defpattern-macro (adapted from \howto (A. Jeffrey: TeX and TUG NEWS 2(2)))')
(c:/w32tex/share/texmf-dist/tex/latex/fp/fp-upn.sty
`UPN Fixed Point Calculator', Version 2.1c (C) Michael Mehlich
(c:/w32tex/share/texmf-dist/tex/latex/fp/fp.sty
`Fixed Point Package', Version 0.8, April 2, 1995 (C) Michael Mehlich
(c:/w32tex/share/texmf-dist/tex/latex/fp/fp-basic.sty)
(c:/w32tex/share/texmf-dist/tex/latex/fp/fp-addons.sty)
(c:/w32tex/share/texmf-dist/tex/latex/fp/fp-snap.sty)
(c:/w32tex/share/texmf-dist/tex/latex/fp/fp-exp.sty)
(c:/w32tex/share/texmf-dist/tex/latex/fp/fp-trigo.sty)
(c:/w32tex/share/texmf-dist/tex/latex/fp/fp-pas.sty)
(c:/w32tex/share/texmf-dist/tex/latex/fp/fp-random.sty)
(c:/w32tex/share/texmf-dist/tex/latex/fp/fp-eqn.sty))))))
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emathPp.sty
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emathPl.sty (./checkperl.sty
)) (c:/w32tex/share/texmf-local/tex/platex/misc/emath/Ytenretu.sty))
(c:/w32tex/share/texmf-dist/tex/latex/lastpage/lastpage.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/pszahyou.sty))
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emathCap.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/itembbox.sty
(c:/w32tex/share/texmf-dist/tex/latex/ascmac/ascmac.sty
(c:/w32tex/share/texmf-dist/tex/latex/ascmac/tascmac.sty)))
(c:/w32tex/share/texmf-dist/tex/latex/multido/multido.sty
(c:/w32tex/share/texmf-dist/tex/generic/multido/multido.tex
v1.42, 2010/05/14 <tvz>))
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emathPsb.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emathPsbb.sty
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emathBk.sty
(c:/w32tex/share/texmf-dist/tex/jlatex/eclpkgs/eclbkbox.sty)))
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emathPsiki.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/HenMozi.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/LandLretu.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/kaitouwaku.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emYoungT.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/EMminipages.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/EMproof.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/itemtopmath.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emaligned.sty)
(c:/w32tex/share/texmf-dist/tex/latex/varwidth/varwidth.sty)
(c:/w32tex/share/texmf-dist/tex/latex/cases/cases.sty))
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emathPg.sty)
(./untitled-3.aux)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/Buntenretu.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/CandCretu.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/Taisyoutenretu.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/Kaitenretu.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/Ptenretu.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/Rtenretu.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/arhako.sty
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/hako.sty))
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/emathMw.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/EMnidan.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/kakutenretu.sty)
(c:/w32tex/share/texmf-local/tex/platex/misc/emath/entenretu.sty)
<./lrep_e1.eps>
AED: lastpage setting LastPage
[1] (./untitled-3.aux) )
Output written on untitled-3.dvi (1 page, 408 bytes).
SyncTeX written on untitled-3.synctex.gz.
Transcript written on untitled-3.log.
(guessed encoding: ISO-2022-JP = jis)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)GPL Ghostscript 9.23: **** Could not open the file C:/Users/�ϲ���/AppData/Local/Temp/dvipdfm-x.f52c1ea9082b04f9464bd3bef3e6a45f .
**** Unable to open the initial device, quitting.
untitled-3.dvi -> untitled-3.pdf
[1
dvipdfmx:warning: Filtering file via command -->rungs -q -dNOPAUSE -dBATCH -dEPSCrop -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dAutoRotatePages=/None -dCompatibilityLevel=1.5 -dAutoFilterGrayImages=false -dAutoFilterColorImages=false -dGrayImageFilter=/FlateEncode -dColorImageFilter=/FlateEncode -dUseFlateCompression=true -sOutputFile='C:/Users/�j��/AppData/Local/Temp/dvipdfm-x.f52c1ea9082b04f9464bd3bef3e6a45f' -c .setpdfwrite -f './lrep_e1.eps' -c quit<-- failed.
dvipdfmx:warning: Image format conversion for "./lrep_e1.eps" failed...
dvipdfmx:fatal: pdf_ref_obj(): passed invalid object.
No output PDF file written.
ptex2pdf processing of untitled-3.tex failed.
嗚呼、GhostScript
Debian 9.6環境でTeX 2017を使用しています。GhostScriptのみ"ftp.jp.debian.org"からインストールし、定期的にアップデートしています。今年の5-6月頃、gsがアップデートされる(この時のバージョンは、たしか9.20前後)と共に突然乱調になりました。
ビューアにpxdviを使用しているのですが、ソースに:
\special{psfile=#1.......}
が含まれると画像データのロードに失敗する。
しかしながら、dvipdfmxにてpdfファイル作成は正常にできるため「そのうち治るだろう。」と放置しておりました。
一昨日gsは再びアップデートされ(9.25)、上記の不具合は完全に解消しました。同時に、今度はdvipdfmxで同様なトラブルが発生します。
GPL Ghostscript 9.25: Unrecoverable error, exit code 1
dvipdfmx:warning: Filtering file via command -->rungs -q -dNOPAUSE -dBATCH -dEPSCrop -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.5 -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dAutoRotatePages=/None -sOutputFile='/tmp/dvipdfm-x.b153376ac17aca8bfdb182b45f3d8976' './絵/ps/ad12-8_1.ps' -c quit<-- failed.
と宣うため、次のコマンドを単独で実行すると:
gs -q -dNOPAUSE -dBATCH -dEPSCrop -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.5 -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dAutoRotatePages=/None -sOutputFile='/tmp/dvipdfm-x.b153376ac17aca8bfdb182b45f3d8976' './絵/ps/ad12-8_1.ps' -c quit
Error: /undefinedfilename in (.//ps/ad12-8_1.ps)
等と怒ります。試みにファイルパスの日本語を英語に書き換えると正常に駆動します(pdfファイルもできます。)。しかしながらこの形式の(日本語パスを含む\special{})コードは膨大な数があるため途方に暮れています。
私はどうしたらよいでしょう?
尚、日本語環境はEUCです。お手数ですがよろしくご回答ください。
インストール失敗
インストール失敗の原因が不明で困っています。
TeXLive2018をiosイメージからインストールしようとしました。
インストールしたiosイメージをwindows の標準機能からマウント。Dドライブ内のinstall-tl-windows.batをダブルクリックすると
==============================================================
'D:\install-tl-windows.bat'が見つかりません。名前を正しく入力したかどうかを確認してから、やり直してください。
==============================================================
とエラーメッセージが表示されました。
右クリックして管理者からとして実行をすると一瞬コマンドプロンプトが開いて応答しなくなりました。
そこで, PowerShell 及びPowerShellの管理者モードから
.\install-tl-windows.bat
を行うと,
==============================================================
プログラム 'install-tl-windows.bat' の実行に失敗しました: 指定されたファイルが見つかりません。発生場所 行:1 文字:1
+ .\install-tl-windows.bat
+ ~~~~~~~~~~~~~~~~~~~~~~~~。
発生場所 行:1 文字:1
+ .\install-tl-windows.bat
+ ~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException
+ FullyQualifiedErrorId : NativeCommandFailed
==============================================================
とエラーメッセージが表示されます。
環境PATHにPATHを登録したり, してみましたが結果は変わらず。。。
そこで以前App GoatというアプリケーションがホストOS上で動かなかった時を思い出し, Windows上で建てた仮想Windowsにiosをイメージをコピーして同様にwindowsの標準機能でマウント。Dドライブ内のinstall-tl-windows.batをダブルクリックすると
なんの問題もなくインストール出来てしまいました。
仮想環境上でレポートを書くのはとてもじゃないですがやりたくなくてホストOSでもTeXLiveをインストールできないか悩んでいます。
私は, Let's Note CF-LX6を使用していてスペックは
OS: Windows 10 home
CPU: i7-7600 vPro
メモリ: 16 GB
です。
仮想Windowsの方は
OS: Windows 10 Pro
CPU: 1コア
メモリ: 4 GB
です。
どうにか解決できないでしょうか?
pdfしおりでpartでchapterをリセットした場合のリンク先
リング先にpartも含めれば、よいと思いますが、方法が、思いつきません。
ご教示の程、よろしくお願いいたします。
\documentclass[a5paper,twocolumn,openany,landscape]{jsbook}
\setlength{\fullwidth}{\textheight}
\special{papersize=148.5mm,210mm}
\usepackage[dvipdfmx]{graphicx}\graphicspath{{./}{./pdf/}}
\usepackage{okumacro}
\usepackage{plext}
\usepackage{otf}
\usepackage[dvipdfmx, pdfdirection=R2L]{hyperref}
\usepackage{pxjahyper}
\def\thechapter{\rensuji{\arabic{chapter}}}
\def\labelchapter{\rensuji{\arabic{chapter}}}
\def\吉{\ajTsuchiYoshi}
\def\prechaptername{}\def\postchaptername{}
\def\prepartname{}\def\postpartname{}
\def\thesection{\rensuji{(\arabic{section})}}
\addtolength{\oddsidemargin}{-10pt}
\addtolength{\evensidemargin}{10pt}
\makeatletter
%\def\contentsline#1#2#3#4{\csname l@#1\endcsname{\hyper@linkstart{link}{#4}{#2}\hyper@linkend}{\rensuji{#3}}}
\def\contentsline#1#2#3#4{\csname l@#1\endcsname{{#2}}{\rensuji{#3}}}
\renewcommand{\thepart}{\rensuji{\@Roman\c@part}}
\def\@makechapterhead#1{%
\vspace*{1.7\Cvs\@plus.7\Cdp \@minus.4\Cdp}% 欧文は50pt
{\parindent \z@ \raggedright \normalfont
\ifnum \c@secnumdepth >\m@ne
\if@mainmatter
\Huge\headfont \@chapapp\thechapter\@chappos
\hskip \Cvs % 欧文は20pt
\fi
\fi
\interlinepenalty\@M
\Huge \headfont #1\par\nobreak
\vskip 2.8\Cvs \@plus.7\Cdp \@minus.4\Cdp}} % 欧文は40pt
\def\@part[#1]#2{%
\ifnum \c@secnumdepth >-2\relax
\refstepcounter{part}%
\addcontentsline{toc}{part}{%
\prepartname\thepart\postpartname\hspace{1zw}#1}%
\else
\addcontentsline{toc}{part}{#1}%
\fi
\markboth{}{}%
{\centering
\interlinepenalty \@M
\normalfont
\ifnum \c@secnumdepth >-2\relax
\Huge\headfont \prepartname\thepart\postpartname
\fi
\Huge \headfont \hskip1zw #2\par}%
\@endpart}
\renewcommand{\section}{%
\if@slide\clearpage\fi
\@startsection{section}{1}{\z@}%
{.8\Cvs \@plus.5\Cdp \@minus.2\Cdp}% 前アキ
{.5\Cvs \@plus.3\Cdp}% 後アキ
{\normalfont\Large\headfont\raggedright\hskip3zw}}
\def\ps@plainhead{%
\let\@mkboth\@gobbletwo
\let\@oddfoot\@empty
\let\@evenfoot\@empty
\def\@evenhead{%
\if@mparswitch \hss \fi
\hbox to \fullwidth{\hfil\textbf{\thepage}}%
\if@mparswitch\else \hss \fi}%
\def\@oddhead{%
\hbox to \fullwidth{\textbf{\thepage}\hfil}\hss}}
\def\ps@headings{%
\let\@oddfoot\@empty
\let\@evenfoot\@empty
\def\@evenhead{%
\if@mparswitch \hss \fi
\underline{\hbox to \fullwidth{\autoxspacing
\leftmark\hfil\textbf{\thepage}}}%
\if@mparswitch\else \hss \fi}%
\def\@oddhead{\underline{\hbox to \fullwidth{\autoxspacing
\textbf{\thepage} \hfil{\if@twoside\rightmark\else\leftmark\fi}}}\hss}%
\let\@mkboth\markboth
}%
\renewcommand{\tableofcontents}{%
\settowidth\jsc@tocl@width{\headfont\prechaptername\postchaptername}%
\settowidth\@tempdima{\headfont\appendixname}%
\ifdim\jsc@tocl@width<\@tempdima \setlength\jsc@tocl@width{\@tempdima}\fi
\ifdim\jsc@tocl@width<2zw \divide\jsc@tocl@width by 2 \advance\jsc@tocl@width 1zw\fi
% \if@twocolumn
% \@restonecoltrue\onecolumn
% \else
% \@restonecolfalse
% \fi
% \chapter*{\contentsname}%
\section*{\contentsname}%
% \@mkboth{\contentsname}{}%
\@starttoc{toc}%
% \if@restonecol\twocolumn\fi
}
\renewcommand*{\l@part}[2]{%
\ifnum \c@tocdepth >-2\relax
\addpenalty{-\@highpenalty}%
% \addvspace{2.25em \@plus\jsc@mpt}%
\addvspace{0.4em \@plus\jsc@mpt}%
\begingroup
\parindent \z@
\rightskip \@tocrmarg
\parfillskip -\rightskip
{\leavevmode
\large \headfont
\setlength\@lnumwidth{4zw}%
#1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par
\nobreak
\global\@nobreaktrue
\everypar{\global\@nobreakfalse\everypar{}}%
\endgroup
\fi}
\renewcommand*{\l@chapter}[2]{%
\ifnum \c@tocdepth >\m@ne
\addpenalty{-\@highpenalty}%
% \addvspace{1.0em \@plus\jsc@mpt}
\addvspace{0.25em \@plus\jsc@mpt}
\begingroup
\parindent\z@
\rightskip\@tocrmarg
\parfillskip-\rightskip
\leavevmode\headfont
% \setlength\@lnumwidth{\jsc@tocl@width}\advance\@lnumwidth 2.683zw
\setlength\@lnumwidth{\jsc@tocl@width}\advance\@lnumwidth 0.683zw
\advance\leftskip\@lnumwidth \hskip-\leftskip
#1\nobreak\hfil\nobreak\hbox to\@pnumwidth{\hss#2}\par
\penalty\@highpenalty
\endgroup
\fi}
\renewcommand*{\l@section}{%
\@tempdima\jsc@tocl@width \advance\@tempdima -1zw
\@dottedtocline{1}{\@tempdima}{3.683zw}
}
\makeatother
\def\Ingra#1#2{\includegraphics[scale=#1]{#2}}
\def\Ingrah#1#2{\includegraphics[width=#1]{#2}}
\def\Ingraw#1#2{\includegraphics[height=#1]{#2}}
\def\labelenumi{\rensuji{\arabic{enumi}}}
\def\={\kern1.5pt=\kern-3pt=\kern1.5pt}
\def\rensuji#1{\hskip\kanjiskip\hbox to 1zw{\yoko\hss\smash{#1}\hss\rule[-0.12zw]{0zw}{1zw}}\hskip\kanjiskip}
\title{\vskip20pt\Huge ******%}\author{
\hskip100pt\Large ****}
\author{}
\date{}
\pagestyle{headings}
\begin{document}\tate
\maketitle
\frontmatter
\thispagestyle{empty}%
\begin{figure*}
\includegraphics[scale=.898,angle=90]{photo0001}
\end{figure*}\clearpage
\thispagestyle{empty}%
\setcounter{tocdepth}{0}%
\tableofcontents
\mainmatter
\input{prologue}
\part{結婚するまで}
\input{chapter01}\input{chapter02}\input{chapter03}\input{chapter04}\input{chapter05}
\input{chapter06}\input{chapter07}\input{chapter08}\input{chapter09}\input{chapter10}
\input{chapter11}\input{chapter12}\input{chapter13}\input{chapter14}\input{chapter15}
\part{結婚してから}\setcounter{chapter}{0}
\input{chap2-01}\input{chap2-02}\input{chap2-03}\input{chap2-04}\input{chap2-05}
\input{chap2-06}\input{chap2-07}\input{chap2-08}\input{chap2-09}\input{chap2-10}
\input{chap2-11}\input{chap2-12}
\chapter*{エピローグ}\addcontentsline{toc}{part}{エピローグ}
\end{document}
LaTeXiTでプレビューが表示されません
\documentclass[10pt]{article}
\usepackage[usenames]{color} %used for font color
\usepackage{amssymb} %maths
\usepackage{amsmath} %maths
\usepackage[utf8]{inputenc} %useful to type directly diacritic characters