UPDATE

UPDATE

One of my customers has requested that I switch a template I use to the noto font to match some of their other material. I changed

\usepackage{libertine}

to

\usepackage{noto}

but \textsc{} does not produce the expected output:

MWE:

\documentclass{article}
\usepackage{libertine}
\begin{document}
Example \textsc{Here}
\end{document}

produces the expected result:Working Example

MNWE (minimal not-working example):

\documentclass{article}
\usepackage{noto}
\begin{document}
Example \textsc{Here}
\end{document}

generates the warning:

LaTeX Font Warning: Font shape `OT1/NotoSerif-TLF/m/sc' undefined
(Font)              using `OT1/NotoSerif-TLF/m/n' instead on input line 4.

and looks wrong: Minimal Non-Working Example

I think I understand what the warning is telling me (there's a "sc" style in the NotoSerif-TLF font that doesn't exist), but I don't understand how to fix it, or if it's a bug in the noto package's font files themselves. How can I use the noto fonts for my project and retain the \textsc functionality?

답변1

The Noto fonts provided by TeX Live are an old version.

I downloaded the whole family from https://github.com/googlei18n/noto-fonts and the big set has small caps:

\documentclass{article}

\usepackage{fontspec}

\setmainfont{Noto Serif}

\begin{document}

Example \textsc{Here}

\end{document}

However you need XeLaTeX or LuaLaTeX for using the full version. No packaged version for pdflatex is available supporting small caps.

enter image description here

UPDATE

The version of noto.sty released 2018-02-19 has extended support for the most recent Noto fonts. After an update, small caps work also with pdflatex.

관련 정보