マクロツイーター

はてダから移行した記事の表示が崩れてますが、そのうちに直せればいいのに(えっ)

TeX Liveで令和してみる話

新しいTeX Live 2019が、日本のCTANミラーサイトにも届き始めているようである。

というわけで、早速、TeX Live 2019で令和してみる。和暦機能の説明については平成の記事で済ませてあるので、ここでは単純に結果だけを示す。

令和してみた結果

% pLaTeX文書
\documentclass[a4paper]{jarticle}
\和暦
\title{しあわせ{\TeX}言語入門}
\author{非ZR氏}
\begin{document}
\maketitle
% 中身はまだ無い。
\end{document}

f:id:zrbabbler:20190503072821p:plain
jarticleな出力結果

令和!

% upLaTeX文書; UTF-8
\documentclass[a4paper]{ujarticle}
\和暦
\title{しあわせ{\TeX}言語入門}
\author{非ZR氏}
\begin{document}
\maketitle
% 中身はまだ無い。
\end{document}

f:id:zrbabbler:20190503072842p:plain
ujarticleな出力結果

令和!

% upLaTeX文書; UTF-8
\documentclass[uplatex,a4paper]{jsarticle}
\和暦
\title{しあわせ{\TeX}言語入門}
\author{非ZR氏}
\begin{document}
\maketitle
% 中身はまだ無い。
\end{document}

f:id:zrbabbler:20190503072857p:plain
jsarticleな出力結果

令和!

% LuaLaTeX文書; UTF-8
\documentclass[a4paper]{ltjsarticle}
\和暦
\title{しあわせ{\TeX}言語入門}
\author{非ZR氏}
\begin{document}
\maketitle
% 中身はまだ無い。
\end{document}

f:id:zrbabbler:20190503072913p:plain
ltjsarticleな出力結果

令和!

% LuaLaTeX文書; UTF-8
\documentclass[lualatex,ja=standard,a4paper]{bxjsarticle}
\和暦
\title{しあわせ{\TeX}言語入門}
\author{非ZR氏}
\begin{document}
\maketitle
% 中身はまだ無い。
\end{document}

f:id:zrbabbler:20190503072940p:plain
bxjsarticleな出力結果

令和!

% LuaLaTeX文書; UTF-8
\documentclass[paper=a4]{jlreq}
\和暦
\title{しあわせ{\TeX}言語入門}
\author{非ZR氏}
\begin{document}
\maketitle
% 中身はまだ無い。
\end{document}

f:id:zrbabbler:20190503072959p:plain
jlreqな出力結果

令和!

% LuaLaTeX文書; UTF-8
\documentclass[tate,book,paper=b6,jafontsize=9pt]{jlreq}
\和暦
\title{しあわせ{\TeX}言語入門}
\author{非ZR氏}
\begin{document}
\maketitle
% 中身はまだ無い。
\end{document}

f:id:zrbabbler:20190503074100p:plain
縦組のjlreqな出力結果

令和!

% LuaLaTeX文書; UTF-8
\documentclass[a4paper]{ltjsarticle}
% 例によってエスペラント
\usepackage[main=japanese,esperanto]{babel}
\newcommand{\Eo}[1]{%
  \begin{otherlanguage}{esperanto}#1\end{otherlanguage}}
\和暦
\title{しあわせ{\TeX}言語入門\\
  \Eo{Feliĉa Kurso pri la Lingvo {\TeX}}}
\author{mal-ZR}
\date{\today\quad(\Eo{\today})}
\begin{document}
\maketitle
% Neniu enhavo.
\end{document}

f:id:zrbabbler:20190503074141p:plain
Babelな出力結果

令和!

% upLaTeX文書; UTF-8
\documentclass[dvipdfmx,14pt]{beamer}
\usepackage{pxjahyper}
\renewcommand{\kanjifamilydefault}{\gtdefault}
\usepackage{bxwareki}% 和暦したい
\usetheme{EastLansing}
\title{しあわせ{\TeX}言語入門}
\author{非ZR氏}
\date{\warekitoday}% 和暦日付を明示指定する
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\end{document}

f:id:zrbabbler:20190503074406p:plain
Beamerな出力結果

令和!

まとめ

令和したい人は、新しいTeX Liveをインストールしよう!