다운로드
소프트웨어 개발
계정
다운로드
소프트웨어 개발
Login
Forgot Account/Password
계정 만들기
언어
도움
언어
도움
×
Login
Login Name
Password
×
Forgot Account/Password
Translation Status of 한국말
Category:
Software
People
PersonalForge
Magazine
Wiki
검색
OSDN
>
브라 우즈 소프트웨어
>
LuaTeX-ja
>
포럼
>
公開討議/質問
>
luatexja-fontspecのmatchオプションを付けた時の\ttfamily,\texttt
LuaTeX-ja
Fork
Description
Project Summary
Developer Dashboard
웹 페이지
Developers
Image Gallery
List of RSS Feeds
Activity
Statistics
History
소스 코드
Code Repository list
Git
luatexja
티켓
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Documents
FrontPage
Title index
Recent changes
Communication
포럼
List of Forums
公開討議/質問 (143)
Mailing Lists
list of ML
포럼:
公開討議/質問
(Thread #44671)
Return to Thread list
RSS
luatexja-fontspecのmatchオプションを付けた時の\ttfamily,\texttt (2021-09-23 08:15 by
ぐっち
#88063)
Reply
Create ticket
texlive 2021を使用しています。
luatexja-fontspecでmatchオプションを付けているのですが,\ttfamily・\textttで和文フォントがsetmonojfontで指定しているものに切り替わってくれません。
私の勘違いでしょうか。
%\documentclass[a4paper]{ltjsarticle}%こちらでは切り替わる
\documentclass[paper=a4]{jlreq}
\usepackage[no-math]{fontspec}
\usepackage[match]{luatexja-fontspec}
\setmonofont{PopRumCute}
\setmonojfont{PopRumCute}
\begin{document}
漢字仮名交じり文の例びっくりビックリ \\
rm abcdfixyzABCQWZ1234567890abcABC1236890零 \\
\textsf{sf abcdfixyzABCQWZ1234567890abcABC1236890零} \\
\texttt{tt abcdfixyzABCQWZ1234567890abcABC1236890零} \\
{\ttfamily ttfamily abcdfixyzABCQWZ1234567890abcABC1236890零} \\
\textbf{bf abcdfixyzABCQWZ1234567890abcABC1236890零} \\
\textit{it abcdfixyzABCQWZ1234567890abcABC1236890零} \\
\textsl{sl abcdfixyzABCQWZ1234567890abcABC1236890零}
\end{document}
Reply to #88063
×
Subject
Body
Reply To Message #88063 > texlive 2021を使用しています。 > luatexja-fontspecでmatchオプションを付けているのですが,\ttfamily・\textttで和文フォントがsetmonojfontで指定しているものに切り替わってくれません。 > 私の勘違いでしょうか。 > > %\documentclass[a4paper]{ltjsarticle}%こちらでは切り替わる > \documentclass[paper=a4]{jlreq} > \usepackage[no-math]{fontspec} > \usepackage[match]{luatexja-fontspec} > \setmonofont{PopRumCute} > \setmonojfont{PopRumCute} > > \begin{document} > 漢字仮名交じり文の例びっくりビックリ \\ > rm abcdfixyzABCQWZ1234567890abcABC1236890零 \\ > \textsf{sf abcdfixyzABCQWZ1234567890abcABC1236890零} \\ > \texttt{tt abcdfixyzABCQWZ1234567890abcABC1236890零} \\ > {\ttfamily ttfamily abcdfixyzABCQWZ1234567890abcABC1236890零} \\ > \textbf{bf abcdfixyzABCQWZ1234567890abcABC1236890零} \\ > \textit{it abcdfixyzABCQWZ1234567890abcABC1236890零} \\ > \textsl{sl abcdfixyzABCQWZ1234567890abcABC1236890零} > \end{document}
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: luatexja-fontspecのmatchオプションを付けた時の\ttfamily,\texttt (2021-09-23 08:24 by
h7k
#88064)
Reply
Create ticket
メッセージ #88063 への返信
> texlive 2021を使用しています。
> luatexja-fontspecでmatchオプションを付けているのですが,\ttfamily・\textttで和文フォントがsetmonojfontで指定しているものに切り替わってくれません。
jlreq.cls を見たところ,
> % 和文ファミリと欧文ファミリの連動
> \AddToHook{rmfamily}{\prepare@family@series@update@kanji{mc}\mcdefault}
> \AddToHook{sffamily}{\prepare@family@series@update@kanji{gt}\gtdefault}
> \AddToHook{ttfamily}{\prepare@family@series@update@kanji{gt}\gtdefault}
と,\ttfamily では (u)pLaTeX と同様にゴシック体を用いるようになっています.
プリアンブルに
\makeatletter
\AddToHook{ttfamily}{\prepare@family@series@update@kanji{jtt}\jttdefault}
\makeatother
と記述するのがとりあえずの対処法ですが,jlreq.cls 側を直してもらうのが良いように思います.
Reply to
#88063
Reply to #88064
×
Subject
Body
Reply To Message #88064 > メッセージ #88063 への返信 > > texlive 2021を使用しています。 > > luatexja-fontspecでmatchオプションを付けているのですが,\ttfamily・\textttで和文フォントがsetmonojfontで指定しているものに切り替わってくれません。 > > jlreq.cls を見たところ, > > % 和文ファミリと欧文ファミリの連動 > > \AddToHook{rmfamily}{\prepare@family@series@update@kanji{mc}\mcdefault} > > \AddToHook{sffamily}{\prepare@family@series@update@kanji{gt}\gtdefault} > > \AddToHook{ttfamily}{\prepare@family@series@update@kanji{gt}\gtdefault} > と,\ttfamily では (u)pLaTeX と同様にゴシック体を用いるようになっています. > > プリアンブルに > \makeatletter > \AddToHook{ttfamily}{\prepare@family@series@update@kanji{jtt}\jttdefault} > \makeatother > と記述するのがとりあえずの対処法ですが,jlreq.cls 側を直してもらうのが良いように思います.
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: luatexja-fontspecのmatchオプションを付けた時の\ttfamily,\texttt (2021-09-23 14:12 by
ぐっち
#88065)
Reply
Create ticket
早々の返信ありがとうございます。
なるほど,jlreq.cls内の設定がそのようになっていた訳ですか。
取りあえずの対処法,了解しました。本当にありがとうございます。
早くこのような原因を探れるレベルに達したいですが,なかなか。
Reply to
#88064
Reply to #88065
×
Subject
Body
Reply To Message #88065 > 早々の返信ありがとうございます。 > なるほど,jlreq.cls内の設定がそのようになっていた訳ですか。 > 取りあえずの対処法,了解しました。本当にありがとうございます。 > 早くこのような原因を探れるレベルに達したいですが,なかなか。
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