라틴 모던 모노 볼드체 시리즈가 볼드체처럼 보이지 않는 이유는 무엇인가요?

라틴 모던 모노 볼드체 시리즈가 볼드체처럼 보이지 않는 이유는 무엇인가요?

MWE는 다음과 같습니다.

\documentclass{article}
\usepackage{lmodern}
% \usepackage[T1]{fontenc}
\usepackage{bold-extra}
\begin{document}
\noindent
\ttfamily\footnotesize % small size is set intentionally
Keywords are \textbf{\textsc{normal}}\\
Keywords are \textbf{\textsc{bold}}\\
Keywords are \textsc{caps}\\
Keywords are \textbf{\textsc{bold-and-caps}}\\
\end{document}

산출:

여기에 이미지 설명을 입력하세요

나는 서두르는 사람이 정상과 정상 사이의 합리적인 차이를 발견하지 못할 것이라고 생각합니다.용감한. 나는 말한대로 했다https://tug.org/FontCatalogue/latinmodernmono동일한 결과를 얻기 위해 자동 마법 패키지도 사용해 보았지만 bold-extra아무런 차이가 없었습니다. 예, \fontseries{l}\selectfont더욱 명확하게 하기 위해 설정할 수도 있었지만 모노에 조명을 사용하는 것을 선호하지 않습니다. 그럼 내가 뭘 잘못한 걸까요? 또한 작은 대문자와 굵은 글씨가 섞이지 않는 것을 볼 수 있지만 굵은 글씨만 "작동 시작"할 수 있는 것처럼 느껴집니다.


와 비교하면 \usepackage{sourcecodepro}정말 대조적입니다.

여기에 이미지 설명을 입력하세요

예, smallcaps를 지원하지 않지만 앞서 언급한 글꼴 카탈로그에 표시된 대로 예상됩니다.

답변1

예를 들어 패키지를 사용하는 것이 countor해결책이 될 수 있습니다. 강한 굵게 표시되도록 1매개 변수를 변경할 수 있습니다 .2

\documentclass[12pt]{article}
\usepackage{lmodern}
% \usepackage[T1]{fontenc}
\usepackage{contour}
\begin{document}
\noindent
\ttfamily\footnotesize % small size is set intentionally
Keywords are \textbf{\textsc{normal bold}}\\
Keywords are \textbf{\contour[2]{black}{\textsc{bold}}}\\
Keywords are \textsc{\contour[1]{black}{caps}}\\
Keywords are \contour[1]{black}{\textsc{bold-and-caps}}\\
\end{document}

여기에 이미지 설명을 입력하세요

답변2

먼저 몇 가지 고려 사항:

  • bold-extra글꼴 계열이 다음인 경우 패키지는 아무 작업도 수행하지 않습니다 lmtt.
  • 에는 굵은 글씨의 작은 대문자 글꼴이 없습니다 lmtt.

실제로 당신은 얻습니다

LaTeX Font Warning: Font shape `OT1/lmtt/bx/sc' undefined
(Font)              using `OT1/lmtt/bx/n' instead on input line 8.

수정된 예:

\documentclass{article}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
%\usepackage{bold-extra}

\begin{document}

\noindent
\ttfamily\footnotesize % small size is set intentionally
Keywords are \textbf{\textsc{normal \fontname\font}}\\
Keywords are \textbf{\textsc{bold \fontname\font}}\\
Keywords are \textsc{caps \fontname\font}\\
Keywords are \textbf{\textsc{bold-and-caps \fontname\font}}\\

\end{document}

굵은 글꼴이 실제로 사용되었음을 보여줍니다. OT1 인코딩에서도 마찬가지입니다. 문제는 굵은 글씨의 Latin Modern Typewriter 글꼴이 실제로는 구별 가능한 모양을 갖는 데 필요한 만큼 무겁지 않다는 것입니다.

여기에 이미지 설명을 입력하세요

이 옵션을 사용하면 lighttt뚜렷한 모양을 얻을 수 있습니다.

여기에 이미지 설명을 입력하세요

해결책? 다른 타자기 글꼴을 사용하십시오.

관련 정보