forked from mickmcq/iste422book
-
Notifications
You must be signed in to change notification settings - Fork 0
/
figuresettings.tex
executable file
·62 lines (57 loc) · 1.78 KB
/
figuresettings.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
\usepackage{mdframed}
% define a pale background for figures
\mdfdefinestyle{palestyle}{%
linewidth=2pt,%
backgroundcolor=red!4,%
linecolor=red!4%
}
% centered figure with a pale background
\newenvironment{frcenter}{%
\begin{mdframed}[style=palestyle]%
\begin{center}
}{%
\end{center}\end{mdframed}
}
% narrow itemized list with a pale background
\newenvironment{topiclist}{%
\begin{mdframed}[style=palestyle]%
\begin{list}{$\bullet$}{\setlength\itemindent{0.00in}%
\setlength\listparindent{0.90in}%
\setlength\leftmargin{0.85in}%
\setlength\labelsep{0.10in}%
\setlength\labelwidth{1.5in}%
\setlength\itemsep{-2.0pt}%
\setlength\parsep{2pt}%
}}{\end{list}%
\end{mdframed}}
% wide numbered list with a pale background
\newcounter{ncounter}
\newenvironment{widenlist}{%
\begin{mdframed}[style=palestyle]%
\begin{list}{%
\arabic{ncounter}.}{%
\usecounter{ncounter}%
\setlength\itemindent{0.00in}%
\setlength\listparindent{0.45in}%
\setlength\leftmargin{0.30in}%
\setlength\rightmargin{0.20in}%
\setlength\labelsep{0.10in}%
\setlength\labelwidth{0.75in}%
\setlength\itemsep{-2.0pt}
\setlength\parsep{2pt}%
}}{%
\end{list}\end{mdframed}%
}
% wide itemized list with a pale background
\newenvironment{widetopiclist}{%
\begin{mdframed}[style=palestyle]%
\begin{list}{$\bullet$}{\setlength\itemindent{0.00in}%
\setlength\listparindent{0.45in}%
\setlength\leftmargin{0.30in}%
\setlength\rightmargin{0.20in}%
\setlength\labelsep{0.10in}%
\setlength\labelwidth{1.5in}%
\setlength\itemsep{-2.0pt}%
\setlength\parsep{2pt}%
}}{\end{list}%
\end{mdframed}}