-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinfo_box.tex
29 lines (21 loc) · 1.65 KB
/
info_box.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
\documentclass[12pt]{scrbook}
\usepackage{boxedminipage}
\DeclareNewTOC[
type = infobox,
types = infoxboxes,
float,
name = Infobox,
counterwithin=chapter,
listname = {List of Infoboxes},
atbegin=\boxedminipage{\textwidth},
atend=\endboxedminipage
]{inf}
\begin{document}
\chapter{Testing the info box}
Here is some text I would have written before the info box. Here is some text I would have written before the info box. Here is some text I would have written before the info box. Here is some text I would have written before the info box. Here is some text I would have written before the info box. Here is some text I would have written before the info box. Here is some text I would have written before the info box. Here is some text I would have written before the info box. Here is some text I would have written before the info box. Here is some text I would have written before the info box.
\begin{infobox}[!htb]
\caption{Testing}
Here is some content in the info box. Here is some content in the info box. Here is some content in the info box. Here is some content in the info box.
\end{infobox}
Here is some text I would have written after but still related to the info box. Here is some text I would have written after but still related to the info box. Here is some text I would have written after but still related to the info box. Here is some text I would have written after but still related to the info box. Here is some text I would have written after but still related to the info box. Here is some text I would have written after but still related to the info box. Here is some text I would have written after but still related to the info box.
\end{document}