I am Basilio, I've been using stackexchange for a while and it's of course really useful. Here's my first question: in the thread Alternatives to the horizontal line in fancyhdr the user Gonzalo Medina introduces the "torn page" decoration developed by JLDiaz. Is it possible to use it for the title of a slide in beamer as well?

Thank you very much, Basilio


1 Answer 1


This is a possible solution embedding in the background template the relevant code:



\pgfmathsetseed{1}% do not change this value
% if you change it, please set random offsets accordingly

% http://tex.stackexchange.com/a/113963/13304

\pgfdeclaredecoration{irregular fractal line}{init}

   paper/.style={draw=black!10, blur shadow, shade=bilinear interpolation,
                 lower left=black!20, upper left=black!15, upper right=white, lower right=black!10},
   irregular border/.style={decoration={irregular fractal line, amplitude=0.2},
   ragged border/.style={ decoration={random steps, segment length=7mm, amplitude=2mm},

% we have to use the background template
% test to avoid having the effect in title page
        decorate[irregular border]{decorate{decorate{decorate{decorate[ragged border]{
        ($(current page header area.south east-|current page.east) - (0, random*90mm)$) -- ($(current page header area.south west-|current page.west) - (0, random*52mm)$)
        -- (current page.north west) -- (current page.north east) -- cycle;





The result:

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.