Commit ea179f43 authored by Valentin Bruch's avatar Valentin Bruch
Browse files

partially fixed \marginbox

parent 08867068
......@@ -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}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment