enumitem宏包导致tex内存溢出

发布于 2021-05-29 23:36:20

Snipaste_2021-05-29_23-37-54.png

\documentclass[10pt,noamsthm,notheorem,table]{beamer}

\usetheme{Boadilla}
\useinnertheme{circles}
\useoutertheme{shadow}
\usecolortheme{seahorse}
\usefonttheme[onlymath]{serif}
\setbeamertemplate{navigation symbols}{}
\setbeamercolor{myfootline}{bg=white,fg=blue}
\definecolor{myfoot}{rgb}{0.5,0.2,0.5}
\definecolor{darkblue}{rgb}{0.1,0,0.85}
\setbeamertemplate{headline}
  { \leavevmode\begin{beamercolorbox}[wd=\paperwidth,ht=1.25ex,dp=1ex,left]{}
    \end{beamercolorbox}}
\setbeamertemplate{footline}% 自定义页脚
  { \leavevmode\mbox{%
    \begin{beamercolorbox}[wd=.75\paperwidth,ht=2.25ex,dp=1ex,left]{myfootline}%
        \rule{2em}{0pt}\color{myfoot}\ttfamily\normalsize%
        %\insertshortauthor~(\insertshortinstitute)
    \end{beamercolorbox}%
    \begin{beamercolorbox}[wd=.25\paperwidth,ht=2.25ex,dp=1ex,right]{myfootline}%
       {\color{myfoot}\ttfamily\normalsize\insertframenumber{}/%
        \inserttotalframenumber\hspace*{3ex}}
    \end{beamercolorbox}}
    \vskip0pt }

\setbeamercolor{frametitle}{fg=blue,bg=white}
\setbeamertemplate{frametitle}{%
  \leavevmode\linespread{1}\large{\insertframetitle}\par
  \color{structure.fg!30!bg}\rule[6pt]{\linewidth}{3pt}\par\vspace{-1.0em}}

% \setbeamertemplate{blocks}[default] % beamer块(含定理类环境)不要阴影
\setbeamertemplate{bibliography entry title}{}{}
\setbeamertemplate{bibliography entry location}{}{}
\setbeamertemplate*{bibliography entry note}{}{}
\setbeamersize{text margin left=0.75cm, text margin right=0.75cm}

%%%%% ===== 宏包 =====
\usepackage{graphicx}
\graphicspath{{figures/}}
\usepackage{xcolor}
\usepackage{hyperref}
\hypersetup{pdfborder=001,colorlinks=true,linkcolor=darkblue,urlcolor=blue}

\usepackage{enumitem}
\setenumerate[1]{itemsep=1em}



\begin{document}

\begin{frame}{A Short Brief}
  \begin{enumerate}
    \item General Information
    \item History
    \item Motto and Logo
  \end{enumerate}
\end{frame}

查看更多

关注者
0
被浏览
1.5k
2 个回答
LaTeXStudio
LaTeXStudio 2021-05-30
这家伙很懒,什么也没写!

在 beamer 列表都是被重定义过的,不要直接用宏包操作了,一般修改都是这样改的:

\setbeamertemplate{enumerate item}{(\alph{enumi})}
\setbeamertemplate{enumerate subitem}{(\roman{enumii})}

如果非要用自己加一下定义:

\def\labelenumi{\theenumi}

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览