我在使用 Beamer 框架时遇到了问题。我注意到框架底部出现了一些字符(字母)。我尝试删除一些软件包,并了解哪个软件包导致了问题,结果发现我用于土耳其语字符的软件包导致了问题。我该如何解决这个问题?
谢谢
\documentclass{beamer}
\usepackage{beamerthemeshadow}
\usepackage[turkish]{babel} %Türkçe bölüm isimleri
\usepackage[utf8]{inputenc} %Türkçe karakterler
\usepackage[T1]{fontenc} %Türkçe heceleme
\begin{document}
\title{XXXXX}
\author{XYZ}
\date{\today}
\begin{frame}
\titlepage
\end{frame}
\begin{frame}\frametitle{Table of contents}\tableofcontents
\end{frame}
\section{Section no.1}
\begin{frame}\frametitle{Title}
Each frame should have a title.
\end{frame}
\subsection{Subsection no.1.1 }
\begin{frame}
Without title somethink is missing.
\end{frame}
\section{Section no. 2}
\subsection{Lists I}
\end{document}
答案1
turkish 将 : 设为活动字符(简写),而 tikz 不喜欢这样。您可以禁用简写,或者尝试 tikz 的 babel 库。
\documentclass{beamer}
\usepackage{beamerthemeshadow}
\usepackage[turkish]{babel} %Türkçe bölüm isimleri
\usepackage[utf8]{inputenc} %Türkçe karakterler
\usepackage[T1]{fontenc} %Türkçe heceleme
%\shorthandoff{:} %or this
\usepackage{tikz}
\usetikzlibrary{babel}
\begin{document}
\title{XXXXX}
\author{XYZ}
\date{\today}
\begin{frame}
\titlepage
\end{frame}
\begin{frame}\frametitle{Table of contents}\tableofcontents
\end{frame}
\section{Section no.1}
\begin{frame}\frametitle{Title}
Each frame should have a title.
\end{frame}
\subsection{Subsection no.1.1 }
\begin{frame}
Without title somethink is missing.
\end{frame}
\section{Section no. 2}
\subsection{Lists I}
\end{document}