I want to use mdframed
package and I was watching some examples from a template by Marion Lachaise & François Févotte from LaTeX templates
But I found this: (in the tikz part)
\mdfdefinestyle{file}{
innertopmargin=1.6\baselineskip,
innerbottommargin=0.8\baselineskip,
topline=false, bottomline=false,
leftline=false, rightline=false,
leftmargin=2cm,
rightmargin=2cm,
singleextra={%
\draw[fill=black!10!white](P)++(0,-1.2em)rectangle(P-|O);
\node[anchor=north west]
at(P-|O){\ttfamily\mdfilename};
%
\def\l{3em}
\draw(O-|P)++(-\l,0)--++(\l,\l)--(P)--(P-|O)--(O)--cycle;
\draw(O-|P)++(-\l,0)--++(0,\l)--++(\l,0);
},
nobreak,
}
And I don't know what P and O nodes are. I tried searching on the documentation and here in TeX.SX and I only found out that everyone writes a line like this: (in the tikz part)
\path let \p1=(P), \p2=(O) in (\x2,\y1) coordinate (Q);
but I haven't found what P, O, \p1
, \p2
are. So can anyone tell me what they are and how to use them?
\p1
, but the only times it appears is in the examples and even searched in the .mdf that is loaded when theframemethod=tikz
is used md-frame-1.mdf