
Como você faz com que um documento de látex apresente exemplos no mesmo tipo de negrito que você pode para teoremas/lemas/corolários?
Responder1
Você pode definir declarações gerais como quiser; não existe um ambiente predefinido semelhante ao teorema, porque as pessoas tendem a ter expectativas diferentes sobre isso.
\documentclass{article}
\usepackage{amsthm} % for \theoremstyle and proof
\newtheorem{thm}{Theorem}[section] % theorems will be numbered according to section
\newtheorem{lem}[thm]{Lemma} % lemmas share the counter with theorems
\newtheorem{cor}[thm]{Corollary} % ditto
\theoremstyle{definition} % body text will be upright
\newtheorem{defn}[thm]{Definition}
\newtheorem{exa}[thm]{Example}
\begin{document}
\section{A title}
\begin{lem}
This is a lemma.
\end{lem}
\begin{thm}
This is a theorem.
\end{thm}
\begin{proof}
Here's its proof.
\end{proof}
\begin{exa}
An example to illustrate the theorem.
\end{exa}
\end{document}
Responder2
Existem várias opções. Um bom é amsthm. Aqui está um exemplo.
\documentclass{minimal}
\usepackage{amsthm}
\theoremstyle{plain}
\newtheorem{thm}{Theorem}
\newtheorem{lem}{Lemma}
\newtheorem{cor}{Corollary}
\newtheorem{exm}{Example}
\usepackage{lipsum}
\begin{document}
\lipsum[1]
\begin{thm} \lipsum[2] \end{thm}
\begin{lem} \lipsum[3] \end{lem}
\begin{cor} \lipsum[4] \end{cor}
\begin{exm} \lipsum[5] \end{exm}
\lipsum[6]
\end{document}
Mais pacotes estão no CTAN emhttp://www.ctan.org/topic/maths-theorem.