Download
Magazine
Develop
Account
Download
Magazine
Develop
Login
Forgot Account/Password
Create Account
Language
Help
Language
Help
×
Login
Login Name
Password
×
Forgot Account/Password
Category:
Software
People
PersonalForge
Magazine
Wiki
Search
OSDN
>
Find Software
>
LuaTeX-ja
>
Forums
>
公開討議/質問
>
\setmonojfontの定義
LuaTeX-ja
Fork
Description
Project Summary
Developer Dashboard
Web Page
Developers
Image Gallery
List of RSS Feeds
Activity
Statistics
History
Source Code
Code Repository list
Git
luatexja
Ticket
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Documents
FrontPage
Title index
Recent changes
Communication
Forums
List of Forums
公開討議/質問 (143)
Mailing Lists
list of ML
Forums:
公開討議/質問
(Thread #40758)
Return to Thread list
RSS
\setmonojfontの定義 (2019-05-14 17:28 by
ぐっち
#82989)
Reply
Create ticket
luatexja-fontspec内の\setmonojfontの定義部分
\DeclareDocumentCommand \setmonojfont { O{} m } {
\ltj_fontspec_set_family:Nnn \jttdefault {##1}{##2}
\normalfont
}
ですが,ちょっとだけ付け足して\setsansjfontの定義部分である
\DeclareDocumentCommand \setsansjfont { O{} m O{} } {
\ltj_fontspec_set_family:Nnn \gtdefault {#1,#3}{#2}
\unless\ifltj@disablejfam
\DeclareMathAlphabet{\mathgt}{JY3}{\l_fontspec_family_tl}{\mddefault}{n}
\fi
\normalfont
}
と同じようにすると,例えば
\setmonofont {SourceHanCodeJP}[
FontFace = {l}{\updefault}{* Light},
UprightFont = {* Regular},
BoldFont = {* Bold},
FontFace = {eb}{\updefault}{* Heavy},
]
\setmonojfont {SourceHanCodeJP}[
FontFace = {l}{\updefault}{* Light},
UprightFont = {* Regular},
BoldFont = {* Bold},
FontFace = {eb}{\updefault}{* Heavy},
]
とすることでtypewriter体が細から極太まで使えてちょっと嬉しかったりしますけど,どうでしょうか。
必要性は皆無と思いますが...
Reply to #82989
×
Subject
Body
Reply To Message #82989 > luatexja-fontspec内の\setmonojfontの定義部分 > > \DeclareDocumentCommand \setmonojfont { O{} m } { > \ltj_fontspec_set_family:Nnn \jttdefault {##1}{##2} > \normalfont > } > > ですが,ちょっとだけ付け足して\setsansjfontの定義部分である > > \DeclareDocumentCommand \setsansjfont { O{} m O{} } { > \ltj_fontspec_set_family:Nnn \gtdefault {#1,#3}{#2} > \unless\ifltj@disablejfam > \DeclareMathAlphabet{\mathgt}{JY3}{\l_fontspec_family_tl}{\mddefault}{n} > \fi > \normalfont > } > > と同じようにすると,例えば > > \setmonofont {SourceHanCodeJP}[ > FontFace = {l}{\updefault}{* Light}, > UprightFont = {* Regular}, > BoldFont = {* Bold}, > FontFace = {eb}{\updefault}{* Heavy}, > ] > \setmonojfont {SourceHanCodeJP}[ > FontFace = {l}{\updefault}{* Light}, > UprightFont = {* Regular}, > BoldFont = {* Bold}, > FontFace = {eb}{\updefault}{* Heavy}, > ] > > とすることでtypewriter体が細から極太まで使えてちょっと嬉しかったりしますけど,どうでしょうか。 > 必要性は皆無と思いますが...
You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.)
Login
Nickname
Preview
Post
Cancel
Re: \setmonojfontの定義 (2019-05-14 21:10 by
h7k
#82990)
Reply
Create ticket
メッセージ #82989 への返信
> luatexja-fontspec内の\setmonojfontの定義部分
>
> \DeclareDocumentCommand \setmonojfont { O{} m } {
> \ltj_fontspec_set_family:Nnn \jttdefault {##1}{##2}
> \normalfont
> }
>
> ですが,ちょっとだけ付け足して\setsansjfontの定義部分である
ほんとですね,\setmainjfont, \setsansjfont の定義を更新した時に \setmonojfont について同じことをやるのを忘れていたようです,直しておきます.
Reply to
#82989
Reply to #82990
×
Subject
Body
Reply To Message #82990 > メッセージ #82989 への返信 > > luatexja-fontspec内の\setmonojfontの定義部分 > > > > \DeclareDocumentCommand \setmonojfont { O{} m } { > > \ltj_fontspec_set_family:Nnn \jttdefault {##1}{##2} > > \normalfont > > } > > > > ですが,ちょっとだけ付け足して\setsansjfontの定義部分である > > > ほんとですね,\setmainjfont, \setsansjfont の定義を更新した時に \setmonojfont について同じことをやるのを忘れていたようです,直しておきます.
You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.)
Login
Nickname
Preview
Post
Cancel
Re: \setmonojfontの定義 (2019-05-16 12:12 by
ぐっち
#83003)
Reply
Create ticket
メッセージ #82990 への返信
> ほんとですね,\setmainjfont, \setsansjfont の定義を更新した時に \setmonojfont について同じことをやるのを忘れていたようです,直しておきます.
早速の対応,ありがとうございます。必要性はアレですが試しにtypesetしてみると,なんかこう嬉しいですね。
Reply to
#82990
Reply to #83003
×
Subject
Body
Reply To Message #83003 > メッセージ #82990 への返信 > > ほんとですね,\setmainjfont, \setsansjfont の定義を更新した時に \setmonojfont について同じことをやるのを忘れていたようです,直しておきます. > > 早速の対応,ありがとうございます。必要性はアレですが試しにtypesetしてみると,なんかこう嬉しいですね。
You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.)
Login
Nickname
Preview
Post
Cancel