summaryrefslogtreecommitdiff
path: root/tests/typ/text
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-04-07 12:51:03 +0200
committerLaurenz <laurmaedje@gmail.com>2022-04-07 12:51:03 +0200
commiteb22eed31b08874fbbbee68d2ae59f0d02f9e95d (patch)
treec8f4926beee8fc5756eac9b8f6f63cafeb154cf4 /tests/typ/text
parent3d52387eea321e94c13b61666f7a758052b20c5d (diff)
Make chinese justification less bad
Diffstat (limited to 'tests/typ/text')
-rw-r--r--tests/typ/text/justify.typ6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/typ/text/justify.typ b/tests/typ/text/justify.typ
index eb8feb61..d19249ea 100644
--- a/tests/typ/text/justify.typ
+++ b/tests/typ/text/justify.typ
@@ -19,3 +19,9 @@ First line indents and hyphenation play nicely with justified text.
#set par(justify: true)
A B C \
D
+
+---
+// Test that justificating chinese text is at least a bit sensible.
+#set page(width: 200pt)
+#set par(justify: true)
+中文维基百科使用汉字书写,汉字是汉族或华人的共同文字,是中国大陆、新加坡、马来西亚、台湾、香港、澳门的唯一官方文字或官方文字之一。25.9%,而美国和荷兰则分別占13.7%及8.2%。近年來,中国大陆地区的维基百科编辑者正在迅速增加;