
다음 코드는 를 사용하여 제목 이름을 비머 헤드라인에 인쇄합니다 \insertshorttitle
. 문제는 긴 제목의 경우 제목 내에서 줄이 자동으로 끊어지지 않는다는 것입니다. 이상한 점은 를 사용하는 동안 줄이 자동으로 끊어진다는 것입니다 \inserttitle
.
\documentclass[]{beamer}
\usepackage{tikz}
\usepackage{varwidth}
\tikzstyle{example-box} = [fill=yellow, align=left, rectangle, text width=\textwidth]
\setbeamertemplate{headline}{
\begin{tikzpicture}
\node [example-box] (box){
\insertshorttitle
};
\end{tikzpicture}
}
\title{A long title when inserted in the headline, using insertshorttitle does not break line. Whereas using inserttitle breaks the line. Specifying align=left in tikz block is not working either.}
\begin{document}
\begin{frame}
Insert the short title.
\end{frame}
\end{document}
\inserttitle을 사용하는 동안:
\insertshorttitle을 사용하는 동안:
를 사용하는 동안 헤드라인 안에 autolinebreak를 얻는 방법을 아는 사람이 있습니까 \insertshorttitle
? 미리 감사드립니다