Within the fancytabs package, there is only a command for producing the fancytab on the right-hand side of a page. I am however using this in a twosided document and so I need it appear on the left-hand side of the page for odd numbered pages but I'm unsure on how to adjust the code provided by the package itself to do this.

fancytabs documentation

If this isn't possible, are there any alternatives to give a similar effect? Thanks.


A good question!

Yes, it is possible. See the sketch of the definition \leftfancytab and its usage (with A working example of fancytabs as the starting point) .

% Capture chapter head

  \begin{tikzpicture}[remember picture,overlay]%
    %              xshift=-0.5*\the\tab@width]
      at (current page.north west) {
      \tikz\shade[shading=axis,bottom color=\tab@leftcolor,
                  top color=\tab@rightcolor,shading angle=-90]
        (0,0) rectangle (\the\tab@width,\the\tab@height)
                  at (\tab@texthpos*\the\tab@width,\tab@textvpos*\the\tab@height)

% Set central right header to display tab
% for both scrplain and scrheadings

\chapter{A chapter}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.