Skip to content

Commit

Permalink
Differentiate style of theorems
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxinyu95 committed Dec 27, 2023
1 parent e261f5c commit 3c7823d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion prelude.sty
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
\usepackage{sourcecodepro}
\usepackage{cleveref}
\usepackage{etoolbox}
\usepackage{csquotes}

\titleformat{\paragraph}
{\normalfont\normalsize\bfseries}{\theparagraph}{1em}{}
Expand Down Expand Up @@ -332,13 +333,17 @@
\DeclareOption{en}{
\babelfont[chinese]{rm}{Noto Serif CJK SC}
\newtheorem{axiom}{Axiom}[section]
\theoremstyle{plain}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{corollary}[theorem]{Corollary}
\theoremstyle{definition}
\newtheorem{axiom}{Axiom}[section]
\newtheorem{definition}{Definition}[section]
\newtheorem{example}{Example}[section]
\AtEndEnvironment{Exercise}{
\par \rightline{\AnswerListName: \cpageref{\ExerciseLabel-Answer}}}
}
Expand Down

0 comments on commit 3c7823d

Please sign in to comment.