tufte-handout의 헤더 수정

tufte-handout의 헤더 수정

저는 tufte-handout documentclass를 사용하고 있으며 문서 제목은 101자입니다. 결과적으로 한 페이지 다음 페이지의 헤더가 헤더의 두 번째 줄로 넘어갑니다.

내 제목이 "이것은 논문의 제목입니다. 마무리하기 위해 이야기하고 싶은 흥미로운 것에 대한 문의"라면 제목의 첫 부분만 헤더에 표시하는 것이 가능할까요(예: '이것은 논문 제목 ')?

내 서문은 다음과 같습니다.

\documentclass{tufte-handout}

%\geometry{showframe}% for debugging purposes -- displays the margins

\usepackage{amsmath}

% Set up the images/graphics package
\usepackage{graphicx}
\setkeys{Gin}{width=\linewidth,totalheight=\textheight,keepaspectratio}
\graphicspath{{graphics/}}

\title{This is the title of the paper: An inquiry into something interesting to talk about in order to finish}
\author{John Doe}
\date{}  % if the \date{} command is left out, the current date will be used

% The following package makes prettier tables.  We're all about the bling!
\usepackage{booktabs}

% The units package provides nice, non-stacked fractions and better spacing
% for units.
\usepackage{units}

% The fancyvrb package lets us customize the formatting of verbatim
% environments.  We use a slightly smaller font.
\usepackage{fancyvrb}
\fvset{fontsize=\normalsize}

% Small sections of multiple columns
\usepackage{multicol}

% Provides paragraphs of dummy text
\usepackage{lipsum}

% These commands are used to pretty-print LaTeX commands
\newcommand{\doccmd}[1]{\texttt{\textbackslash#1}}% command name -- adds     backslash automatically
\newcommand{\docopt}[1]{\ensuremath{\langle}\textrm{\textit{#1}}\ensuremath{\rangle}}% optional command argument
\newcommand{\docarg}[1]{\textrm{\textit{#1}}}% (required) command argument
\newenvironment{docspec}{\begin{quote}\noindent}{\end{quote}}% command specification environment
\newcommand{\docenv}[1]{\textsf{#1}}% environment name
\newcommand{\docpkg}[1]{\texttt{#1}}% package name
\newcommand{\doccls}[1]{\texttt{#1}}% document class name
\newcommand{\docclsopt}[1]{\texttt{#1}}% document class option name
\titlespacing*{\chapter}{0pt}{5pt}{40pt} 
\begin{document}

답변1

정확하게 이러한 경우에 대해 tufte-handout명령 에는 \title내용을 헤더에 조판하는 데 사용되는 선택적 인수가 있습니다.

\documentclass{tufte-handout}
\title[An inquiry into something interesting]{This is the title of the paper: An inquiry into something interesting to talk about in order to finish}
\usepackage{blindtext}

\begin{document}
\maketitle
\blindtext\blindtext\blindtext\blindtext
\end{document}

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

답변2

클래스 tufte는 제목을 저장하며 제목은 이라는 매크로의 헤더에 표시됩니다 \plaintitle. 따라서 이 매크로의 정의를 갱신하면 헤더에 사용자 정의 항목을 배치할 수 있습니다.

\documentclass{tufte-handout}
\title{This is the title of the paper: An inquiry into something interesting to talk about in order to finish}
\renewcommand\plaintitle{This is the title of the paper}
\usepackage{blindtext}
\begin{document}
\blindtext
\end{document}

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

관련 정보