From abba2d8a7dd7895828ac9750ef8d068910787676 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnter=20Milde?= Date: Sat, 4 May 2019 23:32:41 +0200 Subject: [PATCH] Use Latin Modern vector fonts for Latin text parts in Japanese documents. Latin Modern works fine with Japanese. If "lmodern" is set for \font_roman the "lmodern.sty" package sets sans-serif and teletype to Latin Modern fonts as well. Therefore, \font_sans and \font_teletype are better left as "default" (less preamble code) in the LaTeX source). --- lib/examples/ja/Graphics_and_Insets/XY-Pic.lyx | 2 +- lib/examples/ja/Modules/Braille.lyx | 2 +- lib/examples/ja/Modules/LilyPond_Book.lyx | 4 ++-- lib/examples/ja/Modules/Multilingual_Captions.lyx | 2 +- lib/examples/ja/Modules/Rnw_%28knitr%29.lyx | 4 ++-- lib/examples/ja/Modules/Sweave.lyx | 4 ++-- lib/examples/ja/Presentations/Beamer.lyx | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/examples/ja/Graphics_and_Insets/XY-Pic.lyx b/lib/examples/ja/Graphics_and_Insets/XY-Pic.lyx index 02a2172b99..1a57f28d83 100644 --- a/lib/examples/ja/Graphics_and_Insets/XY-Pic.lyx +++ b/lib/examples/ja/Graphics_and_Insets/XY-Pic.lyx @@ -35,7 +35,7 @@ \language_package default \inputencoding utf8-platex \fontencoding global -\font_roman "ae" "IPAexMincho" +\font_roman "lmodern" "IPAexMincho" \font_sans "default" "IPAexGothic" \font_typewriter "default" "default" \font_math "auto" "auto" diff --git a/lib/examples/ja/Modules/Braille.lyx b/lib/examples/ja/Modules/Braille.lyx index edc2735003..8e0454a839 100644 --- a/lib/examples/ja/Modules/Braille.lyx +++ b/lib/examples/ja/Modules/Braille.lyx @@ -19,7 +19,7 @@ braille \language_package default \inputencoding utf8 \fontencoding global -\font_roman "default" "IPAexMincho" +\font_roman "lmodern" "IPAexMincho" \font_sans "default" "IPAexGothic" \font_typewriter "default" "default" \font_math "auto" "auto" diff --git a/lib/examples/ja/Modules/LilyPond_Book.lyx b/lib/examples/ja/Modules/LilyPond_Book.lyx index ea67dcb59a..17f1b60f87 100644 --- a/lib/examples/ja/Modules/LilyPond_Book.lyx +++ b/lib/examples/ja/Modules/LilyPond_Book.lyx @@ -15,8 +15,8 @@ lilypond \inputencoding utf8-platex \fontencoding global \font_roman "lmodern" "IPAexMincho" -\font_sans "lmss" "IPAexGothic" -\font_typewriter "lmtt" "default" +\font_sans "default" "IPAexGothic" +\font_typewriter "default" "default" \font_math "auto" "auto" \font_default_family default \use_non_tex_fonts false diff --git a/lib/examples/ja/Modules/Multilingual_Captions.lyx b/lib/examples/ja/Modules/Multilingual_Captions.lyx index a282f99e4d..8810f3bc72 100644 --- a/lib/examples/ja/Modules/Multilingual_Captions.lyx +++ b/lib/examples/ja/Modules/Multilingual_Captions.lyx @@ -30,7 +30,7 @@ bicaption \language_package default \inputencoding utf8-platex \fontencoding global -\font_roman "default" "IPAexMincho" +\font_roman "lmodern" "IPAexMincho" \font_sans "default" "IPAexGothic" \font_typewriter "default" "default" \font_math "auto" "auto" diff --git a/lib/examples/ja/Modules/Rnw_%28knitr%29.lyx b/lib/examples/ja/Modules/Rnw_%28knitr%29.lyx index ec2e4350ee..2cbbfae29f 100644 --- a/lib/examples/ja/Modules/Rnw_%28knitr%29.lyx +++ b/lib/examples/ja/Modules/Rnw_%28knitr%29.lyx @@ -15,8 +15,8 @@ knitr \inputencoding utf8-platex \fontencoding global \font_roman "palatino" "IPAexMincho" -\font_sans "lmss" "IPAexGothic" -\font_typewriter "lmtt" "default" +\font_sans "default" "IPAexGothic" +\font_typewriter "default" "default" \font_math "auto" "auto" \font_default_family default \use_non_tex_fonts true diff --git a/lib/examples/ja/Modules/Sweave.lyx b/lib/examples/ja/Modules/Sweave.lyx index 709d2d017e..e801af9409 100644 --- a/lib/examples/ja/Modules/Sweave.lyx +++ b/lib/examples/ja/Modules/Sweave.lyx @@ -27,8 +27,8 @@ sweave \inputencoding utf8-platex \fontencoding global \font_roman "palatino" "IPAexMincho" -\font_sans "lmss" "IPAexGothic" -\font_typewriter "lmtt" "default" +\font_sans "default" "IPAexGothic" +\font_typewriter "default" "default" \font_math "auto" "auto" \font_default_family default \use_non_tex_fonts true diff --git a/lib/examples/ja/Presentations/Beamer.lyx b/lib/examples/ja/Presentations/Beamer.lyx index ddb51c50ca..d251a9b25c 100644 --- a/lib/examples/ja/Presentations/Beamer.lyx +++ b/lib/examples/ja/Presentations/Beamer.lyx @@ -24,7 +24,7 @@ \language_package default \inputencoding utf8-platex \fontencoding global -\font_roman "default" "IPAexMincho" +\font_roman "lmodern" "IPAexMincho" \font_sans "default" "IPAexGothic" \font_typewriter "default" "default" \font_math "auto" "auto" -- 2.39.2