我正在使用 Overleaf 和 tufte-book 课程来创建航空课程的讲义。
从达拉斯-沃斯堡国际机场出发时,可能的出发程序之一就是程序HRPER3
,它正确显示,就像您在此处看到的一样。然而,在书的正文中,数字变成了下标。还请注意,无论我是否使用 \textsc{},都会发生这种情况,但在旁注中不会发生这种情况。这似乎是因为我sfsidenotes
在序言中激活了它。但是,我并不真的希望我的正文是无衬线字体。
有没有办法可以防止在 tufte-book 的正文中自动进行下标?
最小工作示例:
\documentclass[sfsidenotes,oneside,justified,marginals=raggedright]{tufte-book}
\begin{document}
\mainmatter
\chapter{Enroute}
\section{Preferred and Coded Departure Routes}
\subsection{Coded Departure Routes}
CDRs are relatively new\sidenote{They've only been around since 2007} and they're not perfect yet. Here's an example. Suppose you plan to depart from KDFW on your way to KMKE, and suppose that the preferred routing uses the \textsc{HRPER3} departure,\sidenote{I have no idea if HRPER3 really is the preferred route} but there's storms directly along your route. As you're doing your preflight planning, you realize those storms might interfere with your proposed departure, so you review the coded departure routes as well. You discover that the DFWMKE1E CDR would provide adequate separation from all severe weather and file that CDR as an alternate in your flight plan.
\end{document}
答案1
它们不带下标。而是tufte
告诉它所加载的字体包使用旧式或悬挂数字,根据传统的印刷指南,这些数字更适合在文本中使用。
但是,它们不能很好地处理诸如首字母缩略词之类的内容。我不确定字体包tufte
加载是否允许您轻松地在旧式和内衬数字之间切换,这很理想。但是,您可以简单地在整个过程中使用内衬数字。
\documentclass[sfsidenotes,oneside,justified,marginals=raggedright]{tufte-book}
\makeatletter
\pazo@osffalse
\renewcommand{\rmdefault}{pplx}
\makeatother
\begin{document}
\mainmatter
\chapter{Enroute}
\section{Preferred and Coded Departure Routes}
\subsection{Coded Departure Routes}
CDRs are relatively new\sidenote{They've only been around since 2007} and they're not perfect yet. Here's an example. Suppose you plan to depart from KDFW on your way to KMKE, and suppose that the preferred routing uses the \textsc{HRPER3} departure,\sidenote{I have no idea if HRPER3 really is the preferred route} but there's storms directly along your route. As you're doing your preflight planning, you realize those storms might interfere with your proposed departure, so you review the coded departure routes as well. You discover that the DFWMKE1E CDR would provide adequate separation from all severe weather and file that CDR as an alternate in your flight plan.
\end{document}
或者,您可以nofonts
为该类提供选项以防止其字体配置。
\documentclass[sfsidenotes,oneside,justified,marginals=raggedright,nofonts]{tufte-book}
这将导致使用默认的 LaTeX 字体。
如果你想要tufte
除悬挂数字之外的字体,你可以添加
\usepackage[sc]{mathpazo}
\usepackage[scaled=0.90]{helvet}
\usepackage[scaled=0.85]{beramono}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
到你的序言中来模拟配置。
例如,这假设您使用 (pdf)TeX 进行编译,而不是 LuaTeX 或 XeTeX。