commit f079cbd37bcd33e98c26667e379ee83cb2901981
parent 0118c9761e775c8e81e470b3fbb18d17e2a29ef0
Author: Chris Bracken <chris@bracken.jp>
Date: Sun, 29 Oct 2023 09:08:35 -0700
Add a Japanese template using jlreq, luatex-ja
Adds a simple Japanese example using the jlreq package for use with
LuaLaTeX, which implements Japanese typesetting layout and alignment
rules.
A few examples:
* Since Japanese has no interword spacing, implements line break rules
such as forbidding breaks before certain punctuation.
* It's common to insert newlines in input text after arbitrary Japanese
characters. Those newlines should not be treated as a space by LaTeX,
as they would in Latin text.
* Spacing between adjacent punctuation marks (e.g. "、(") should be
truncated, leading to elision of a half-gridsquare of space.
* A quarter em space(四分アキ)should be added between Japanese and
Latin/half-width text.
* Indentation and other spacing is often set to a multiple of 1 zenkaku
gridspace.
* Emphasized text uses kenten(圏点)in place of italicised letterforms.
* Japanese font defaults using Gothic or Mincho fonts.
* Support for vertical writing.
See: https://www.ctan.org/pkg/jlreq
See: https://www.ctan.org/pkg/luatexja
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/japanese.latex b/japanese.latex
@@ -0,0 +1,7 @@
+\documentclass{jlreq}
+\begin{document}
+\section{これは最初のセクションである}
+日本語で \LaTeX の組版を実証するための導入部分。
+
+フォントはまた、数学的な形態および他の環境で使用することができる。
+\end{document}