Skip to content

Commit e3c6c3b

Browse files
committed
feat(env): add Idea environments
Signed-off-by: Jonas Dujava <[email protected]>
1 parent 95ddab3 commit e3c6c3b

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

chapters/Features.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ \subsection{Structure Environments}%
257257

258258
\begin{remark}[Default Environments]
259259
There are predefined boxed \enquote{theorem-like} environments for \textsf{Definition}, \textsf{Theorem}, \textsf{Lemma}, \textsf{Corollary}, \textsf{Proposition},
260-
and non-boxed \enquote{remark-like} environments for \textsf{Remark}, \textsf{Proof}, \textsf{Example}, \textsf{Derivation}, \textsf{Calculation}, and \textsf{Tip} (these have at least a mark indicating the end of the environment).
260+
and non-boxed \enquote{remark-like} environments for \textsf{Remark}, \textsf{Proof}, \textsf{Example}, \textsf{Derivation}, \textsf{Calculation}, \textsf{Idea}, and \textsf{Tip} (these have at least a mark indicating the end of the environment).
261261

262262
Names of the corresponding environments are lowercase, for example \texttt{definition}, \texttt{remark}, and so on.
263263
They also accept an optional argument for a short description.

preamble/environments/remark-like.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
\NewDocumentCommand{\NewRemarkLikes}{>{\SplitList{,}}m}{\ProcessList{#1}{\NewRemarkLike}}
2424

2525
%% Define remark-like environments
26-
\NewRemarkLikes{remark, example, derivation, calculation, tip}
26+
\NewRemarkLikes{remark, example, derivation, calculation, idea, tip}
2727

2828

2929
%%% Proof environment
@@ -40,6 +40,7 @@
4040
%% Make proof environment remark-like without numbering
4141
\let\proof\relax
4242
\NewRemarkLike[numbered=no, qed=\proofqed]{proof}
43+
\NewRemarkLike[numbered=no, name={Idea of the Proof}, qed=\proofqed]{proofidea}
4344

4445
%% NOTE: Suggestion on how to pass arguments to `tcolorbox` when calling proof
4546
%% https://tex.stackexchange.com/questions/565220/is-it-possibe-to-pass-options-to-a-tcolorboxenvironment

0 commit comments

Comments
 (0)