1

I would like to use different theorem styles for my definitions and remarks. but somehow the command \theoremstyle{definiton} does not change anything at all at the moment: here's the code would love some help.

\documentclass[a4paper]{report}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english, ngerman]{babel}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{hyperref}

\theoremstyle{plain}
\newtheorem{satz}{Satz}[section]
\newtheorem{lem}[satz]{Lemma}
\newtheorem{cor}[satz]{Korrolar}
\theoremstyle{definiton}
\newtheorem{rem}[satz]{Bemerkung}
\newtheorem{defn}[satz]{Definition}

\begin{document}
\chapter{1}
\begin{satz}
    test one two three
\end{satz}
\begin{defn}
    test one two three
\end{defn}
\end{document}

for some reason the satz and defn have the same style...

2
  • You've spelt definition wrong, you have \theoremstyle{definiton} missing an i, it should be \theoremstyle{definition}
    – Willoughby
    Mar 7, 2021 at 16:53
  • \theoremstyle{definiton} results in the following warning: "Unknown theoremstyle defintion". You probably wanted to use \theoremstyle{definition} instead (Notice the previously missing "i" right after the "t".
    – leandriis
    Mar 7, 2021 at 16:55

1 Answer 1

1

This is because you wrote \theoremstyle{definiton} instead of \theoremstyle{definition} (note the additional i)

1
  • thank you hate when something so easy is the solution and I sit here for 20 min trying to figure it out.
    – Samelmann
    Mar 7, 2021 at 16:58

Not the answer you're looking for? Browse other questions tagged .