aboutsummaryrefslogtreecommitdiff
path: root/common/10_icons.tex
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2020-12-01 21:32:20 +0100
committerSébastien Dailly <sebastien@chimrod.com>2020-12-03 17:33:35 +0100
commitb6bebdc03066e513efbbb5ff9424681bbcceff0c (patch)
treead58ccc072efbfdeabe4d9b4b20b79acc8fd19b3 /common/10_icons.tex
parent02b663b21099cdb62cef7b363cae46a56d7aae5f (diff)
Added a new model, and did some factorisation
Diffstat (limited to 'common/10_icons.tex')
-rwxr-xr-xcommon/10_icons.tex14
1 files changed, 14 insertions, 0 deletions
diff --git a/common/10_icons.tex b/common/10_icons.tex
new file mode 100755
index 0000000..c5ea5b4
--- /dev/null
+++ b/common/10_icons.tex
@@ -0,0 +1,14 @@
+\usepackage{tikz}
+\usepackage{xcolor}
+
+% Background color for the frame.
+\definecolor{DUStyle@lightGray}{RGB}{245, 245, 245}
+
+% arg1 : The dot content
+\newcommand{\iconBox}[1]{%
+ \tikz[baseline]{%
+ \node[circle,fill=altColor,inner sep=3pt,anchor=base] at (0, 0)%
+ {\color{backsidecolor}#1};
+ }%
+}
+