Text FormattingOverleaf Case: There are more than one short label

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Sukardi
Posts: 1
Joined: Sat Sep 03, 2022 4:27 am

Overleaf Case: There are more than one short label

Post by Sukardi »

My following Beamer script in Overleaf encounters an error: Package enumitem Error: Extra short label ignored, which says that "There are more than one short label" in the included frame. What's wrong with my script? Please help.

Code: Select all

\documentclass{beamer}
\usetheme{Madrid}
\usepackage{graphicx}
\usepackage[shortlabels]{enumitem}
\usecolortheme{default}
\usepackage{hyperref}
\hypersetup{
    colorlinks=false,
    linkcolor=yellow,
    filecolor=magenta,      
    urlcolor=yellow,
}
\urlstyle{same}
\usepackage[none]{hyphenat}

\begin{frame}[t]
\frametitle{Pengetahuan Kita Sebelumnya}
\begin{exampleblock}{}
Selain menggunakan definisi untuk menjawab pertanyaan kunci, kita juga bisa menggunakan \textbf{proposisi yang telah terbukti sebelumnya}.
\end{exampleblock}
Sebagai contoh, diberikan proposisi berikut.
\begin{block}{Proposisi 2}
Jika segitiga siku-siku $RST$ dengan panjang sisi $r$ dan $s$ serta panjang hipotenusa $t$ memenuhi $t =\sqrt{2rs},$ maka segitiga $RST$ sama kaki.
\end{block}
\begin{enumerate}[Hipotesis \textbf{A}:, leftmargin=3.2cm, itemsep=2pt]
\item Segitiga siku-siku $RST$ dengan panjang sisi $r$ dan $s$ serta panjang hipotenusa $t$ memenuhi $t =\sqrt{2rs}.$
\end{enumerate}
\begin{enumerate}[Konklusi \textbf{B}:, leftmargin=3.2cm,  itemsep=2pt]
\item Segitiga $RST$ sama kaki.
\end{enumerate}
Akan dibuktikan bahwa $A \Rightarrow B.$
\end{frame} 

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
MjK
Posts: 89
Joined: Fri Jan 28, 2022 6:09 pm

Overleaf Case: There are more than one short label

Post by MjK »

enumitem and beamer are incompatible. Don't use enumitem with beamer class!

BTW: Your example has more mistakes or fumble , i.e., missing \begin{document} and \end{document} or not needed explicit loading of graphicx and hyperref.

Disclaimer: Using beamer or enumitem is non of my favorite topics. Therefore, please do not expect any further replies from me.
My main topics are KOMA-Script and other questions related to my packages. If I reply to any other topic or if you've not yet added a minimal working example, please do not expect any further response. And please don't forget to tag examples as code.
Post Reply