Skip to content
Snippets Groups Projects
Commit ea179f43 authored by Valentin Bruch's avatar Valentin Bruch
Browse files

partially fixed \marginbox

parent 08867068
Branches
No related tags found
No related merge requests found
......@@ -28,10 +28,14 @@
\newcommand\marginbox[3][2pt]{
% USAGE: \marginbox[margin width]{width}{content}
% TODO: width is set manually such that it fits real width!
\newlength\marginwidth
\setlength\marginwidth{#1}
\begin{tikzpicture}[even odd rule, scale=1]
\node[anchor=north west] (text) {%
\begin{minipage}{#1}%
#2%
\begin{minipage}{#2-2\marginwidth-10pt}%
#3%
\end{minipage}%
};
\begin{pgfonlayer}{background}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment