Teoremas con guión entre números

Teoremas con guión entre números

Quiero hacer teoremas que se vean así, pero con mejor espaciado:

Teorema 1-1 ( Nombre del teorema ) Enunciado del teorema.

Esto es lo que tengo actualmente:

\documentclass{article}
\usepackage{amsthm}

\newtheoremstyle{theorem}
{1.5em} % Space above
{} % Space below
{\itshape} % Body font
{}  % Indent amount
% Indent amount: empty = no indent; \parindent = normal paragraph indent
{\bfseries\itshape} % Theorem head font
{} % Punctuation after theorem head
{1em} % Space after theorem head
% Space after theorem head: { } = normal interword space; \newline = line break
{\thmnumber{#2}\thmname{\hspace{1em}#1}\thmnote{ \textup({#3}\textup)}}
% Theorem head spec (can be left empty, meaning `normal`)

\theoremstyle{theorem}
\newtheorem{thm}{Theorem}[section]

\begin{document}

\begin{thm}[Theorem name] Statement of the theorem.
\end{thm}

\end{document}

Simplemente no sé cómo cambiar el punto por un guión.

Respuesta1

Como se menciona en el comentario, simplemente puedes usar esto:

\newtheoremstyle{theorem}
{1.5em} % Space above
{} % Space below
{\itshape} % Body font
{}  % Indent amount
% Indent amount: empty = no indent; \parindent = normal paragraph indent
{\bfseries\itshape} % Theorem head font
{} % Punctuation after theorem head
{1em} % Space after theorem head
% Space after theorem head: { } = normal interword space; \newline = line break
{\thmnumber{#2}\thmname{\hspace{1em}#1}\thmnote{ \textup({#3}\textup)}}
% Theorem head spec (can be left empty, meaning `normal`)

\theoremstyle{theorem}
\newtheorem{thm}{Theorem}[section]
\renewcommand{\thethm}{\thesection\ --\ \arabic{thm}}

Esto crearía algo como esto:

ingrese la descripción de la imagen aquí

La parte importante es esta:

\renewcommand{\thethm}{\thesection\ --\ \arabic{thm}}



Ahí también puedes quitar los espacios que puse ahí:

\renewcommand{\thethm}{\thesection--\arabic{thm}}

ingrese la descripción de la imagen aquí

O crea algo completamente diferente:

\renewcommand{\thethm}{\thesection\ $\cdot$ \Roman{thm}}

ingrese la descripción de la imagen aquí

información relacionada