2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-26 06:48:04 +02:00

added bordered boxes to gallery images

This commit is contained in:
Martin Thoma 2012-09-28 14:09:15 +02:00
parent 01ec592193
commit 38425809fc

View file

@ -5,6 +5,11 @@
\usepackage[ngerman]{babel} % this is needed for umlauts
\usepackage[T1]{fontenc} % this is needed for correct output of umlauts in pdf
\usepackage{adjustbox}
\usepackage{xcolor}
\definecolor{myLightGray}{HTML}{F9F9F9}
\definecolor{borderColor}{HTML}{CCCCCC}
\usepackage{tikz} % needed for includestandalone
\usetikzlibrary{arrows,positioning, calc}
@ -31,13 +36,15 @@ voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum
dolor sit amet.
%Before \adjustbox{padding=1ex 2ex 3ex 4ex,frame,margin=1ex 2ex 3ex 4ex}{Text} After
\begin{gallery}
\includestandalone{dot-product-1}
\includestandalone{dot-product-2}
\includestandalone{dot-product-3-1}
\includestandalone{dot-product-6}
\includestandalone{equilateral-triangle}
\includestandalone{equilateral-triangle-heights}
\adjustbox{max width=150px,max height=150px,bgcolor=myLightGray,cfbox=borderColor 1px 0px 2px}{\includestandalone{dot-product-1}}
\adjustbox{max width=150px,max height=150px,bgcolor=myLightGray,cfbox=borderColor 1px 0px 2px}{\includestandalone{dot-product-2}}
\adjustbox{max width=150px,max height=150px,bgcolor=myLightGray,cfbox=borderColor 1px 0px 2px}{\includestandalone{dot-product-3-1}}
\adjustbox{max width=150px,max height=150px,bgcolor=myLightGray,cfbox=borderColor 1px 0px 2px}{\includestandalone{dot-product-6}}
\adjustbox{max width=150px,max height=150px,bgcolor=myLightGray,cfbox=borderColor 1px 0px 2px}{\includestandalone{equilateral-triangle}}
\adjustbox{max width=150px,max height=150px,bgcolor=myLightGray,cfbox=borderColor 1px 0px 2px}{\includestandalone{equilateral-triangle-heights}}
\end{gallery}
Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse