diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/fancytabs/fancytabs.sty | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/fancytabs/fancytabs.sty b/Master/texmf-dist/tex/latex/fancytabs/fancytabs.sty index b97ec5cddc2..c28a36ec962 100644 --- a/Master/texmf-dist/tex/latex/fancytabs/fancytabs.sty +++ b/Master/texmf-dist/tex/latex/fancytabs/fancytabs.sty @@ -22,9 +22,10 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{fancytabs} - [2011/04/20 1.4 Fancy page border tabs] + [2011/09/03 1.6 Fancy page border tabs] + +\ProvidesPackage{fancytabs} \RequirePackage{tikz} -\makeatletter \newcommand{\tab@style}{\Large\scshape} \newcommand{\tab@height}{4cm} \newcommand{\tab@width}{1cm} @@ -48,15 +49,13 @@ \newcommand{\fancytabsGap}[1]{\renewcommand{\tab@gap}{#1}} \newcommand{\fancytabsFloor}[1]{\renewcommand{\tab@floor}{#1}} \AtBeginDocument{\@ifpackageloaded{babel} - {% + {\@ifundefined{active@char;}{}{% \g@addto@macro\tikz@installcommands{% - \shorthandoff{;}% - }% - \g@addto@macro\tikz@uninstallcommands{% - \shorthandon{;}% - }% + \shorthandoff{;}}% + \g@addto@macro\tikz@uninstallcommands{% + \shorthandon{;}}% }% - {}% + }{}% } \newcommand{\fancytab}[2]{% \begin{tikzpicture}[remember picture,overlay]% @@ -68,13 +67,12 @@ \tikz\shade[shading=axis,bottom color=\tab@leftcolor, top color=\tab@rightcolor,shading angle=-90] (0,0) rectangle (\tab@width,\tab@height) - node[rotate=90] + node[rotate=0] at (\tab@texthpos*\tab@width,\tab@textvpos*\tab@height) - {\tab@style#1};% + {\rotatebox{90}{\tab@style#1}};% };% \end{tikzpicture}% } -\makeatother \endinput %% %% End of file `fancytabs.sty'. |