Advertisement
Guest User

Untitled

a guest
Sep 5th, 2015
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. documentclass{book}
  2. usepackage{fourier}% change to lmodern if fourier is no available
  3. usepackage{tikz}
  4. usepackage[explicit]{titlesec}
  5.  
  6. definecolor{mybluei}{RGB}{0,173,239}
  7. definecolor{myblueii}{RGB}{63,200,244}
  8. definecolor{myblueiii}{RGB}{199,234,253}
  9.  
  10. renewcommandthepart{arabic{part}}
  11.  
  12. newcommandpartnumfont{% font specification for the number
  13. fontsize{380}{130}color{myblueii}selectfont%
  14. }
  15.  
  16. newcommandpartnamefont{% font specification for the name "PART"
  17. normalfontcolor{white}scshapesmallbfseries
  18. }
  19.  
  20. titleformat{part}
  21. {normalfonthugefilleft}
  22. {}
  23. {20pt}
  24. {begin{tikzpicture}[remember picture,overlay]
  25. fill[myblueiii]
  26. (current page.north west) rectangle ([yshift=-13cm]current page.north east);
  27. node[
  28. fill=mybluei,
  29. text width=2paperwidth,
  30. rounded corners=6cm,
  31. text depth=18cm,
  32. anchor=center,
  33. inner sep=0pt] at (current page.north east) (parttop)
  34. {thepart};%
  35. node[
  36. anchor=south east,
  37. inner sep=0pt,
  38. outer sep=0pt] (partnum) at ([xshift=-20pt]parttop.south)
  39. {partnumfontthepart};
  40. node[
  41. anchor=south,
  42. inner sep=0pt] (partname) at ([yshift=2pt]partnum.south)
  43. {partnamefont PART};
  44. node[
  45. anchor=north east,
  46. align=right,
  47. inner xsep=0pt] at ([yshift=-0.5cm]partname.east|-partnum.south)
  48. {parbox{.7textwidth}{raggedleft#1}};
  49. end{tikzpicture}%
  50. }
  51.  
  52. begin{document}
  53.  
  54. part{Theory and Application of Continuous-Time Signals and Systems}
  55.  
  56. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement