Merge pull request #40 from DeveloperPaul123/fix/no-space-for-chinese-and-japanese

No space between first and last name for Japanese and Chinese languages
This commit is contained in:
Paul T
2024-07-08 16:12:40 -04:00
committed by GitHub

31
lib.typ
View File

@@ -169,8 +169,11 @@
#smallcaps[#date]
][
#smallcaps[
#author.firstname
#author.lastname
#if language == "zh" or language == "ja" [
#author.firstname#author.lastname
] else [
#author.firstname#sym.space#author.lastname
]
#sym.dot.c
#linguify("resume", from: lang_data)
]
@@ -241,8 +244,12 @@
style: "normal",
font: ("Roboto"),
)
#text(fill: accent-color, weight: "thin")[#author.firstname]
#text(weight: "bold")[#author.lastname]
#if language == "zh" or language == "ja" [
#text(accent-color, weight: "thin")[#author.firstname]#text(weight: "bold")[#author.lastname]
] else [
#text(accent-color, weight: "thin")[#author.firstname]
#text(weight: "bold")[#author.lastname]
]
]
]
]
@@ -452,8 +459,11 @@
#smallcaps[#date]
][
#smallcaps[
#author.firstname
#author.lastname
#if language == "zh" or language == "ja" [
#author.firstname#author.lastname
] else [
#author.firstname#sym.space#author.lastname
]
#sym.dot.c
#linguify("cover-letter", from: lang_data)
]
@@ -501,8 +511,13 @@
style: "normal",
font: ("Roboto"),
)
#text(accent-color, weight: "thin")[#author.firstname]
#text(weight: "bold")[#author.lastname]
#if language == "zh" or language == "ja" [
#text(accent-color, weight: "thin")[#author.firstname]#text(weight: "bold")[#author.lastname]
] else [
#text(accent-color, weight: "thin")[#author.firstname]
#text(weight: "bold")[#author.lastname]
]
]
]
]