![使用土耳其字符包会扭曲投影仪中的框架结构](https://linux22.com/image/409434/%E4%BD%BF%E7%94%A8%E5%9C%9F%E8%80%B3%E5%85%B6%E5%AD%97%E7%AC%A6%E5%8C%85%E4%BC%9A%E6%89%AD%E6%9B%B2%E6%8A%95%E5%BD%B1%E4%BB%AA%E4%B8%AD%E7%9A%84%E6%A1%86%E6%9E%B6%E7%BB%93%E6%9E%84.png)
我在使用 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}