Text Formatting ⇒ dot in theorem environment
dot in theorem environment
I have to have dot after number of theorem but before title of theorem.
For example, instead
"Theorem 1.1 (Euler)."
I must do
"Theorem 1.1. (Euler)".
How to do it?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
dot in theorem environment
it depends. There are various theorem environments, styles, and packages, such as amsthm, ntheorem, thmtools, or simple LaTeX theorems. What are you using?
Can you post a simple compilable example that shows your theorem (with short dummy text)? Then it should be easy for us to adjust.
Stefan
dot in theorem environment
Code: Select all
\documentclass[12pt,a4paper]{article}%
\usepackage{amssymb}
\usepackage[utf8]{inputenc}
\usepackage[T1]{polski}
\usepackage[polish]{babel}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{graphicx}%
\usepackage{amsthm}
\usepackage{thmtools}
\usepackage{tikz}
\newtheorem{theorem}{Twierdzenie}
\newtheorem{acknowledgement}[theorem]{Acknowledgement}
\begin{document}
\begin{theorem}[Euler]
$a^2+b^2=c^2$
\end{theorem}
\end{document}
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
dot in theorem environment
Code: Select all
\usepackage{xpatch}
\makeatletter
\xpatchcmd{\@thm}{.}{}{}{}
\makeatother
Stefan