Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.35 KB | None | 0 0
  1. documentclass{report}
  2. usepackage{tikz}
  3. pgfdeclareverticalshading{titlepage}{paperwidth+3cm}
  4. {color(0cm)=(red); color(0.5cm)=(blue); color(3cm)=(yellow)}
  5.  
  6. begin{document}
  7. begin{tikzpicture}[overlay,remember picture]
  8.  
  9. shade[shading=titlepage,
  10. shading angle=15 %?????
  11. ]([yshift=4cm]current page.west)--++(15:1.2paperwidth)--++(0,-2cm) --([yshift=2cm]current page.west)--cycle;
  12.  
  13. shade[shading=axis,
  14. top color=yellow,
  15. bottom color=blue,
  16. %middle color=red,
  17. shading angle=30 %????
  18. ](current page.west)--++(15:1.2paperwidth)--++(0,-2cm) --([yshift=-2cm]current page.west)--cycle;
  19. end{tikzpicture}
  20. mbox{}
  21. end{document}
  22.  
  23. documentclass{report}
  24. usepackage{tikz}
  25. pgfdeclareverticalshading{titlepage}{3cm}
  26. {color(0cm)=(red); color(0.5cm)=(blue); color(3cm)=(yellow)}
  27. newsaveboxUlrikeShading
  28. newsaveboxUlrikeShadingB
  29. begin{document}
  30. saveboxUlrikeShading{%
  31. tikz{shade[shading=titlepage] (0,0) rectangle (2paperwidth+3cm,2cm);}}
  32. saveboxUlrikeShadingB{%
  33. tikz{shade[shading=axis,
  34. top color=yellow,
  35. bottom color=blue] (0,0) rectangle (2paperwidth+3cm,2cm);}}
  36. begin{tikzpicture}[overlay,remember picture]
  37. begin{scope}
  38. clip ([yshift=4cm]current page.west)--++(15:1.2paperwidth)--++(0,-2cm) --([yshift=2cm]current page.west)--cycle;
  39. path ([yshift=3cm]current page.west) +(15:0.6paperwidth)
  40. node[rotate=15] {useboxUlrikeShading};
  41. end{scope}
  42. begin{scope}
  43. clip(current page.west)--++(15:1.2paperwidth)--++(0,-2cm) --([yshift=-2cm]current page.west)--cycle;
  44. path ([yshift=-1cm]current page.west) +(15:0.6paperwidth)
  45. node[rotate=15] {useboxUlrikeShadingB};
  46. end{scope}
  47. end{tikzpicture}
  48. mbox{}
  49. end{document}
  50.  
  51. documentclass{report}
  52. usepackage{tikz}
  53. pagestyle{empty}
  54. begin{document}
  55. begin{tikzpicture}[overlay,remember picture]
  56. shade[shading=axis,
  57. top color=yellow,
  58. bottom color=blue,
  59. %middle color=red,
  60. shading angle=30 %????
  61. ](current page.west)--++(15:1.2paperwidth)--++(0,-2cm) --([yshift=-2cm]current page.west)--cycle;
  62.  
  63. shade[shading=axis,
  64. top color=yellow,
  65. bottom color=blue,
  66. %middle color=red,
  67. shading angle=30]
  68. ([yshift={2cm+sin(15)*1.2paperwidth}]current page.south west)
  69. rectangle (current page.south east);
  70. draw ([yshift=2cm]current page.south west)
  71. --++(15:1.2paperwidth)--++(0,-2cm) --(current page.south west)--cycle;
  72. end{tikzpicture}
  73. mbox{}
  74. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement