tufte-handout 中的非斜体文本

tufte-handout 中的非斜体文本

我想让 tufte-handout 标题的一部分不采用斜体。有什么方法可以强制将标题的一部分改为罗马体而不是斜体吗?

\documentclass[a4paper,nofonts,nols,justified]{tufte-handout}
\renewcommand{\smallcaps}[1]{\emph{\textsc #1}}

\title{Title non italicized bit}
\author{Author}
\date{}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{marvosym}
\usepackage{stmaryrd}
\usepackage{gb4e}

\makeatletter
\renewcommand\@footnotetext[2][0pt]{%
\@noftnotefalse\setcounter{fnx}{0}% added by gb4e
\marginpar{%
\hbox{}\vspace*{#1}%
\def\baselinestretch {\setspace@singlespace}%
\reset@font\footnotesize%
\@tufte@margin@par% use parindent and parskip settings for marginal text
\vspace*{-1\baselineskip}\noindent%
\protected@edef\@currentlabel{%
   \csname p@footnote\endcsname\@thefnmark%
 }%
 \color@begingroup%
   \@makefntext{%
    }%
  \color@endgroup%
 }%
\@noftnotetrue% added by g4be
}%
 \makeatother % End of Tufte-LaTeX-related code.

\newcommand\blfootnote[1]{\begingroup%
 \addtolength{\parsep}{1ex}
 \renewcommand\thefootnote\relax\footnote{#1}%
\addtocounter{footnote}{-1}%
\endgroup%
}
\begin{document}

\maketitle

\end{document}

答案1

使用{\upshape non italicized bit}

\documentclass[a4paper,nofonts,nols,justified]{tufte-handout} 
\title{Title {\upshape non italicized bit}}
\author{Author}
\date{}
\begin{document}
\maketitle
\end{document}

在此处输入图片描述

相关内容