
Quero fazer teoremas assim, mas com melhor espaçamento:
1-1 Teorema ( Nome do teorema ) Declaração do teorema.
Aqui está o que tenho atualmente:
\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}
Só não sei como transformar o ponto em um traço.
Responder1
Conforme mencionado no comentário, você pode simplesmente usar isto:
\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}}
Isso criaria algo assim:
A parte importante é esta:
\renewcommand{\thethm}{\thesection\ --\ \arabic{thm}}
Lá você também pode remover os espaços que coloquei lá:
\renewcommand{\thethm}{\thesection--\arabic{thm}}
Ou crie algo completamente diferente:
\renewcommand{\thethm}{\thesection\ $\cdot$ \Roman{thm}}