Skip to main content
4 votes

How to add a period after a theorem number?

The error LaTeX Error: Command \openbox already defined. is due to the loading order of amsthm and newtxmath. The correct order is \usepackage{amsthm} \usepackage{newtxmath} However, in your case the ...
Stephen's user avatar
  • 4,639
3 votes

How to create a theorem box with multiple layers instead of just two

Here is an implementation modeled on that of the tabulars* and tabulars keys of tcolorbox and using nicematrix to make the colored table. The syntax is \begin{example} <text> \tcblower <table ...
mbert's user avatar
  • 4,541
1 vote

Wrong numbering in theorems environment

Beamer manual, section "5.1.2 Global Structure", paragraph "Numbered Theorems and Definitions" with presentations discourages numbering theorems altogether and in case of doing so ...
Ulrich Diez's user avatar
  • 29.8k
1 vote

Keep track of theorem number in colored boxes

The tcolorbox package has a library for theorem. See section 18 of the manual. The library has the command \NewTcbTheorem[⟨init options⟩]{⟨name⟩}{⟨display name⟩}{⟨options⟩}{⟨prefix⟩} that define a ...
Alain Remillard's user avatar
1 vote

Theorem Enviroment Counter

I seem to understand that the first three sections have no test and so you want A for tests in section 4, B in section 5 and so on. Redefine \thetest to do the job. \documentclass{article} \...
egreg's user avatar
  • 1.1m

Only top scored, non community-wiki answers of a minimum length are eligible