Skip to content

Commit 2b0a953

Browse files
Add \summarybox to simplify usage of summary env
1 parent 9ab16da commit 2b0a953

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to
77

88
## [Unreleased]
99

10+
### Added
11+
12+
- Add a `\summarybox` macro that simplifies the usage of the `summary`
13+
environment
14+
1015
### Changed
1116

1217
- Update the used actions for GitHub to their latest versions.

se2thesis.dtx

+10
Original file line numberDiff line numberDiff line change
@@ -1641,6 +1641,16 @@
16411641
\ExplSyntaxOn
16421642
% \end{macrocode}
16431643
% \end{environment}
1644+
% \begin{macro}{\summarybox}
1645+
% The \cmd{summarybox} macro simplifies the usage of the \env{summary}
1646+
% environment.
1647+
% \begin{macrocode}
1648+
\NewDocumentCommand { \summarybox } { m m }
1649+
{
1650+
\begin{summary}{#1} #2 \end{summary}
1651+
}
1652+
% \end{macrocode}
1653+
% \end{macro}
16441654
%
16451655
%
16461656
%

0 commit comments

Comments
 (0)