
Eu tive a seguinte situação
\begin{itemize}
\item[(A_s)] Item (A_s) such that
\begin{equation}\label{sob}
\sum_{n}n
\end{equation}
\item[(B_s)] Item (B_s)
\end{itemize}
e o resultado foi uma tela em branco. Depois disso coloquei $
no início e no final dos itens
\begin{itemize}
\item[$(A_s)$] Item (A_s) such that
\begin{equation}\label{sob}
\sum_{n}n
\end{equation}
\item[$(B_s)$] Item (B_s)
\end{itemize}
e tudo funcionou bem. Perdi muito tempo até encontrar isso. Qual era o problema?
Responder1
_
é um caractere especial que indica o início de um subscrito e só é permitido no modo matemático. Como tal, inserir$
em voltao conteúdo relacionado à matemática, o problema é evitado.
O equation
ambiente inicia automaticamente o modo matemático, portanto não há necessidade adicional de entrar no modo matemático.
Se você realmente deseja um sublinhado, pode usar qualquer um dos métodos abaixo. Veja tambémSublinhados em palavras (texto).
\documentclass{article}
\usepackage[T1]{fontenc}
\begin{document}
\begin{itemize}
\item[$(A_s)$] Item ($A_s$) such that
\begin{equation}\label{sob}
\sum_{n}n
\end{equation}
\item[$(B_s)$] Item ($B_s$)
\item[(C\string_s)] Item (\detokenize{C_s}) and (C\textunderscore s)
\end{itemize}
\end{document}