daily pastebin goal
28%
SHARE
TWEET

Untitled

a guest Dec 17th, 2018 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. documentclass[10pt]{memoir}                        %document class
  2. setstocksize{240mm}{150mm}
  3.  
  4. usepackage[T1]{fontenc}                            %font output
  5. usepackage[utf8]{inputenc}                         %font input
  6. usepackage[english]{babel}
  7.  
  8. usepackage{lipsum}
  9. usepackage{marginfix}
  10. usepackage{graphicx}
  11.  
  12. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  13. % PAGE LAYOUT
  14. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  15.  
  16. usepackage{geometry}
  17.  
  18. letfootruleskipundefined                         %headings
  19. usepackage{fancyhdr}
  20. nouppercaseheads
  21.  
  22. settrimmedsize{240mm}{150mm}{*}
  23. setlength{trimtop}{0pt}
  24. setlength{trimedge}{stockwidth}
  25. addtolength{trimedge}{-paperwidth}
  26. settypeblocksize{193mm}{84mm}{*}
  27. setulmargins{27mm}{*}{*}
  28. setlrmargins{18mm}{*}{*}
  29. setmarginnotes{3mm}{3.5cm}{onelineskip}
  30. setheadfoot{onelineskip}{onelineskip}
  31. setlength{headsep}{1.2cm}
  32. %setheaderspaces{*}{2onelineskip}{*}
  33. checkandfixthelayout
  34.  
  35. addtolength{footskip}{0.55cm}
  36.  
  37. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  38. % CAPTION LAYOUT
  39. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  40.  
  41. usepackage{caption}                                %customized captions
  42. captionsetup{font=footnotesize, labelfont={bf}}
  43. usepackage{captdef}
  44.  
  45. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  46. % FULLWIDTH
  47. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  48.  
  49. usepackage[outermargin=-3.5cm]{fullwidth}
  50.  
  51. newenvironment{fullwidthblocked}{%
  52. blockmargin%
  53. begin{fullwidth}%
  54. }{%
  55. end{fullwidth}%
  56. unblockmargin%
  57. }
  58.    
  59. newenvironment{figureDX}[1]{%
  60. begin{fullwidthblocked}%
  61. begin{minipage}{84mm}%
  62. centering%
  63. #1%
  64. end{minipage}%
  65. hspace{1.5mm}%
  66. begin{minipage}{3.5cm}%
  67. }{%
  68. end{minipage}%
  69. end{fullwidthblocked}%
  70. }
  71.    
  72. begin{figureDX}{includegraphics[scale=•]{•}}
  73. figcaption{•}label{•}
  74. end{figureDX}
  75.    
  76. newenvironment{figureSX}[1]{%
  77. begin{fullwidthblocked}%
  78. begin{minipage}{3.5cm}%
  79. }{%
  80. end{minipage}%
  81. hspace{1.5mm}%
  82. begin{minipage}{84mm}%
  83. #1%
  84. end{minipage}%
  85. end{fullwidthblocked}%
  86. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top