Enumerar dentro de una proposición y dentro de una prueba

Enumerar dentro de una proposición y dentro de una prueba

Tengo un problema con la enumeración. Los símbolos de los elementos se ven diferentes cuando la enumeración se realiza "dentro" de proposiciones y cuando la enumeración se realiza "dentro" de una prueba.

El código

\documentclass[11pt,a5paperfootinclude=true,headinclude=true]{scrbook} % KOMA-Script book
\usepackage[T1]{fontenc}                
\usepackage{lipsum}
\usepackage[linedheaders,parts,pdfspacing]{classicthesis} % ,manychapters
\usepackage[bitstream-charter]{mathdesign}
%\usepackage[osf]{libertine}
\titleformat{\section}
  {\normalfont\bfseries}{\thesection}{1em}{}






\usepackage{amsthm}
\usepackage{amsmath}
 \usepackage{multicol}
 \usepackage{IEEEtrantools}

\usepackage{anysize}
\marginsize{0.1\paperwidth}{0.1\paperheight}{2cm}{2cm}
\newcommand{\bigslant}[2]{{\raisebox{.2em}{$#1$}\left/\raisebox{-.2em}{$#2$}\right.}}

\usepackage{enumerate}



\begin{document}



\theoremstyle{plain}
\newtheorem{thm}{Theorem}[chapter] % reset theorem numbering for each chapter

\theoremstyle{definition}
\newtheorem{defn}[thm]{Definition} % definition numbers are dependent on theorem numbers
\newtheorem{exmp}[thm]{Example}

\theoremstyle{corollary}
\newtheorem{cor}[thm]{Corollary}

\theoremstyle{lemma}
\newtheorem{lem}[thm]{Lemma}

\theoremstyle{proposition}
\newtheorem{prop}[thm]{Proposition}
\newcommand{\ndiv}{\hspace{-4pt}\not|\hspace{2pt}}

\begin{prop}
\begin{enumerate}[(a)] % (a), (b), (c), ...
\item
\item
\end{enumerate}
\end{prop}

\begin{proof}
\begin{enumerate}[(a)] % (a), (b), (c), ...
\item
\item
\end{enumerate}
\end{proof}


\end{document}

y el resultado

ingrese la descripción de la imagen aquí

¿Hay algún remedio para esto, para que parezcan idénticos o es imposible? ¿Podemos hacer también una referencia al elemento enumerado?

Gracias

Respuesta1

Usaría el enumitempaquete que es mucho más flexible enumeratey definiría un nuevo entorno para ese tipo de enumeraciones en teoremas y demostraciones.

\documentclass[11pt,a5paper,footinclude=true,headinclude=true]{scrbook} % KOMA-Script book
\usepackage[T1]{fontenc}
\usepackage[linedheaders,parts,pdfspacing]{classicthesis} % ,manychapters
\usepackage[bitstream-charter]{mathdesign}

\usepackage{lipsum}
\usepackage{amsmath}
\usepackage{amsthm}

\usepackage{enumitem}

\theoremstyle{plain}
\newtheorem{thm}{Theorem}[chapter] % reset theorem numbering for each chapter
\newtheorem{cor}[thm]{Corollary}
\newtheorem{lem}[thm]{Lemma}
\newtheorem{prop}[thm]{Proposition}

\theoremstyle{definition}
\newtheorem{defn}[thm]{Definition} % definition numbers are dependent on theorem numbers
\newtheorem{exmp}[thm]{Example}

\newenvironment{roster}
 {\begin{enumerate}[font=\upshape,label=(\alph*)]}
 {\end{enumerate}}


\begin{document}



\begin{prop}
\begin{roster}
\item Something
\item Something else
\end{roster}
\end{prop}

\begin{proof}
\begin{roster}
\item Easy
\item The same\qedhere
\end{roster}
\end{proof}


\end{document}

Tenga en cuenta que las declaraciones de teoremas deben ir antes \begin{document}y que está utilizando estilos inexistentes. Quité las partes no esenciales.

Para finalizar una prueba dentro de una enumeración, utilice \qedhere, de modo que la lápida se coloque en la última línea.

ingrese la descripción de la imagen aquí

Respuesta2

Puede configurar las etiquetas de sus artículos como [\upshape (a)]en lugar de [(a)]. Tenga en cuenta que esto \textup{(a)}no funcionará con el enumaratepaquete y ya que el marcador de posición aestá oculto en un grupo {...}.

Salida de muestra

\documentclass{article}

\usepackage{amsthm,enumerate}

\newtheorem{theorem}{Theorem}[section]

\begin{document}

\begin{theorem}
  This has two parts.
  \begin{enumerate}[\upshape (a)]
  \item First part.
  \item Second part.
  \end{enumerate}
\end{theorem}

\begin{proof}
  Also two parts to the proof.
  \begin{enumerate}[\upshape (a)]
  \item Proof of first part.
  \item Proof of second part.
  \end{enumerate}
\end{proof}

\end{document}

Respuesta3

Una solución similar con enumitem, pero enfatizando el hecho de que las referencias cruzadas de los elementos within a theorem environment works with enumitem, while it did not withenumeran . I also loaded theel paquete Cleverref`, ya que permite no escribir el tipo de objeto al que se hace referencia, sino solo su etiqueta, de modo que si un teorema se convierte en una versión posterior. una propuesta, no es necesario realizar una búsqueda y reemplazo.

        \documentclass[11pt,a5paperfootinclude=true,headinclude=true]{scrbook} % KOMA-Script book
        \usepackage[utf8]{inputenc}
        \usepackage[T1]{fontenc}
        \usepackage{lmodern}

        \usepackage{titlesec}
        \titleformat{\section} {\normalfont\bfseries}{\thesection}{1em}{}

        \usepackage{amsthm}
        \usepackage{amsmath}
        \usepackage[shortlabels]{enumitem}

        \usepackage{cleveref}

        \theoremstyle{plain}
        \newtheorem{thm}{Theorem}[chapter] % reset theorem numbering for each chapter

        \theoremstyle{definition}
        \newtheorem{defn}[thm]{Definition} % definition numbers are dependent on theorem numbers \newtheorem{exmp}[thm]{Example}

        \newtheorem{cor}[thm]{Corollary}
        \newtheorem{lem}[thm]{Lemma}
        \newtheorem{prop}[thm]{Proposition}

        \begin{document}

        \begin{prop}\label{pr1}
        \begin{enumerate}[\upshape(a)] % (a), (b), (c), ...
        \item  \label{item1} Once upon a time…
        \item So what?
        \end{enumerate}
        \end{prop}

        \begin{proof} \begin{enumerate}[(a)] % (a), (b), (c), ...
        \item According to \cref{pr1}\ref{item1}

        \item What else? \qedhere

        \end{enumerate}
        \end{proof}
        \end{document} 

ingrese la descripción de la imagen aquí

información relacionada