@ClaudioFiandrino New version on launchpad. \usetikzmarklibrary
is now the right one. I've changed the highlighting code considerably. The lengths are hopefully now much more intuitive.
There are initial offset
, initial height
, initial depth
and final
versions thereof. These define the coordinates of the _|-
part of the highlighted box. From the marked position, _|
is (-initial offset,-initial depth)
and |-
is (-initial offset,+initial height)
. There's a similar thing for the final position except that some +/- are reversed so that a positive length always enlargens the highligted region.
Margins are now left margin
, right margin
etc and again, positive means "bigger".
@ClaudioFiandrino Fair enough. But is \tikzmarkhighlightset
the best name? How about \tikzmarkset{highlighter}{...}
and \tikzmarkset{fader}{...}
?
@ClaudioFiandrino There are some pictures in the tikzmark_test.tex
which might make the lengths a little easier to understand. I haven't updated the documentation yet though.