Guest User

Untitled

a guest
Jul 17th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.36 KB | None | 0 0
  1. % !TeX spellcheck = en_US
  2. documentclass[13pt
  3. ,aspectratio=43
  4. %,handout
  5. ]{beamer}
  6.  
  7.  
  8. usepackage[english]{babel}
  9. usepackage[utf8]{inputenc}
  10. usepackage{amsmath,amsfonts,amssymb}
  11.  
  12. usepackage{gensymb}
  13. usepackage{color}
  14. usepackage{lmodern}
  15. %renewcommand{rmdefault}{lmss}
  16. usepackage{hyperref}
  17.  
  18. %Remove indentation in footnotes
  19. %usepackage[hang,flushmargin]{footmisc}
  20. %Table Packages
  21. usepackage{tabularx}
  22. usepackage{longtable,booktabs,tabu}
  23. usepackage{makecell}
  24. usepackage[detect-all]{siunitx}
  25. sisetup{input-symbols = ()} % "(" and ")" are ordinary inputs
  26. usepackage{setspace}
  27.  
  28.  
  29. defV#1,#2/#3/{Entry[#3]{#1}{#2}}
  30. usepackage{siunitx} %align numbers by decimal point
  31.  
  32. usepackage{csquotes}
  33. % Options for captions
  34. usepackage[hypcap,format = plain, justification=raggedright, singlelinecheck=off]{caption}
  35. captionsetup[table]{belowskip=0em,aboveskip=2pt}
  36. captionsetup[figure]{belowskip=0em,aboveskip=2pt}
  37.  
  38.  
  39. usepackage{textcomp,ragged2e}
  40. usepackage{appendixnumberbeamer}
  41.  
  42. %Turn on and of the display of the notes by commenting out the following line
  43. %setbeameroption{show notes}
  44. setbeamertemplate{note page}[plain]
  45.  
  46. usepackage{tikz}
  47. usepackage{pgfplots}
  48. usetikzlibrary{positioning}
  49.  
  50.  
  51.  
  52.  
  53. % % % Theme
  54. %usetheme{Frankfurt}
  55. usetheme[titleformat = regular
  56. , sectionpage = progressbar
  57. , subsectionpage = none
  58. , numbering = counter %none,counter, fraction
  59. , progressbar = foot % none, head, frametitle, foot
  60. ]{metropolis}
  61.  
  62.  
  63. usepackage{standalone}
  64. usepackage{tikz}
  65.  
  66.  
  67.  
  68. % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
  69.  
  70. begin{document}
  71.  
  72. setstretch{1,5}
  73.  
  74. begin{frame}[shrink = 0.2]
  75. frametitle{Distribution of Leverage prior to Price Decline in 2008 and 2014}
  76.  
  77. framezoom<1><2>[border](2.5cm,1.5cm)(3cm,2cm)
  78. begin{table}[htb]
  79. footnotesize
  80. begin{center}
  81. begin{tabularx}{textwidth}{>{centering}p{0.19textwidth}
  82. >{centering}p{0.01em}
  83. >{centering}X
  84. S[table-format=6.0
  85. ,round-mode=places
  86. ,round-precision=0
  87. ,table-align-text-post = false
  88. ]
  89. S[table-format=6.0
  90. ,round-mode=places
  91. ,round-precision=0
  92. ,table-align-text-post = false
  93. ]
  94. >{centering}p{0.01em}
  95. >{centering}X
  96. S[table-format=6.0
  97. ,round-mode=places
  98. ,round-precision=0
  99. ,table-align-text-post = false
  100. ]
  101. S[table-format=6.0
  102. ,round-mode=places
  103. ,round-precision=0
  104. ,table-align-text-post = false
  105. ]
  106. }
  107. toprule
  108. Leverage Percentile & & multicolumn{4}{c}{2008~Q2} & multicolumn{3}{c}{2014~Q3} tabularnewline
  109. cmidrule{3-5} cmidrule{7-9}
  110. & & No. & {Assets} & {Debt} & & No. & {Assets} & {Debt}tabularnewline
  111. cmidrule{1-1} cmidrule{3-5} cmidrule{7-9}
  112. $1^{st} Quartile$ & & 33 & 3094.25 & 493.08 & & 33 & 5871.65 & 948.29 tabularnewline % $0 < P_{0.25} leq 0.25$
  113. $2^{nd} Quartile$ & & 36 & 11868.81 & 2494.08 & & 36 & 12894.65 & 2749.38 tabularnewline % $0.25 < P_{0.50} leq 0.50$
  114. $3^{rd} Quartile$ & & 35 & 5018.03 & 1380.06 & & 36 & 4279.47 & 1328.07 tabularnewline % $0.50 < P_{0.75} leq 0.75$
  115. $4^{th} Quartile$ & & 35 & 2844.71 & 1208.22 & & 36 & 2001.95 & 884.75 tabularnewline % $0.75 < P_{1} leq 1$
  116. Non-calculable Leverage & & 5 & 1172.49 & 338.66 & & 7 & 1304.48 & 390.58 tabularnewline
  117. bottomrule
  118. end{tabularx}
  119. captionof{table}{Comparison of the number of companies for each leverage group prior to price declines in 2008~Q2 and 2014~Q3 and their average value of total assets and debt in million US-Dollar.}label{t.Leverage.Groups}
  120. end{center}
  121. end{table}
  122.  
  123.  
  124. end{frame}
  125.  
  126.  
  127. end{document}
  128.  
  129. % !TeX spellcheck = en_US
  130. documentclass[13pt
  131. ,aspectratio=43
  132. %,handout
  133. ]{beamer}
  134.  
  135.  
  136. usepackage[english]{babel}
  137. usepackage[utf8]{inputenc}
  138. usepackage{amsmath,amsfonts,amssymb}
  139.  
  140. usepackage{gensymb}
  141. %usepackage{color}
  142. usepackage{lmodern}
  143. %renewcommand{rmdefault}{lmss}
  144. %usepackage{hyperref}
  145.  
  146. %Remove indentation in footnotes
  147. %usepackage[hang,flushmargin]{footmisc}
  148. %Table Packages
  149. usepackage{tabularx}
  150. usepackage{longtable,booktabs,tabu}
  151. usepackage{makecell}
  152. usepackage[detect-all]{siunitx}
  153. sisetup{input-symbols = ()} % "(" and ")" are ordinary inputs
  154. usepackage{setspace}
  155.  
  156.  
  157. defV#1,#2/#3/{Entry[#3]{#1}{#2}}
  158. usepackage{siunitx} %align numbers by decimal point
  159.  
  160. usepackage{csquotes}
  161. % Options for captions
  162. usepackage[hypcap,format = plain, justification=raggedright, singlelinecheck=off]{caption}
  163. captionsetup[table]{belowskip=0em,aboveskip=2pt}
  164. captionsetup[figure]{belowskip=0em,aboveskip=2pt}
  165.  
  166.  
  167. usepackage{textcomp,ragged2e}
  168. usepackage{appendixnumberbeamer}
  169.  
  170. %Turn on and of the display of the notes by commenting out the following line
  171. %setbeameroption{show notes}
  172. setbeamertemplate{note page}[plain]
  173.  
  174. usepackage{tikz}
  175. usepackage{pgfplots}
  176. usetikzlibrary{positioning}
  177. usetikzlibrary{tikzmark}
  178. usetikzlibrary{spy}
  179.  
  180.  
  181.  
  182. % % % Theme
  183. %usetheme{Frankfurt}
  184. usetheme[titleformat = regular
  185. , sectionpage = progressbar
  186. , subsectionpage = none
  187. , numbering = counter %none,counter, fraction
  188. , progressbar = foot % none, head, frametitle, foot
  189. ]{metropolis}
  190.  
  191.  
  192. usepackage{standalone}
  193. usepackage{tikz}
  194.  
  195. usetikzlibrary{matrix}
  196. % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
  197.  
  198. begin{document}
  199.  
  200. begin{frame}
  201. frametitle{Distribution of Leverage prior to Price Decline in 2008 and 2014}
  202.  
  203. begin{table}
  204. footnotesize
  205. begin{tikzpicture}[spy using overlays={rectangle, magnification=3, width=textwidth, height=.8textheight,
  206. every spy in node/.style={fill=white}}]
  207. ]
  208. matrix[ampersand replacement=&] {
  209. node (species1) {
  210. begin{tabularx}{textwidth}{>{centering}p{0.19textwidth}
  211. >{centering}p{0.01em}
  212. >{centering}X
  213. S[table-format=6.0
  214. ,round-mode=places
  215. ,round-precision=0
  216. ,table-align-text-post = false
  217. ]
  218. S[table-format=6.0
  219. ,round-mode=places
  220. ,round-precision=0
  221. ,table-align-text-post = false
  222. ]
  223. >{centering}p{0.01em}
  224. >{centering}X
  225. S[table-format=6.0
  226. ,round-mode=places
  227. ,round-precision=0
  228. ,table-align-text-post = false
  229. ]
  230. S[table-format=6.0
  231. ,round-mode=places
  232. ,round-precision=0
  233. ,table-align-text-post = false
  234. ]
  235. }
  236. toprule
  237. Leverage Percentile & & multicolumn{4}{c}{2008~Q2} & multicolumn{3}{c}{2014~Q3} tabularnewline
  238. cmidrule{3-5} cmidrule{7-9}
  239. & & No. & {Assets} & {Debt} & & No. & {Assets} & {Debt}tabularnewline
  240. cmidrule{1-1} cmidrule{3-5} cmidrule{7-9}
  241. $1^{st} Quartile$ & & 33 & 3094.25 & 493.08 & & 33 & 5871.65 & 948.29 tabularnewline % $0 < P_{0.25} leq 0.25$
  242. $2^{nd} Quartile$ & & 36 & 11868.81 & 2494.08 & & 36 & 12894.65 & 2749.38 tabularnewline % $0.25 < P_{0.50} leq 0.50$
  243. $3^{rd} Quartile$ & & 35 & 5018.03 & 1380.06 & & 36 & 4279.47 & 1328.07 tabularnewline % $0.50 < P_{0.75} leq 0.75$
  244. $4^{th} Quartile$ & & 35 & 2844.71 & 1208.22 & & 36 & 2001.95 & 884.75 tabularnewline % $0.75 < P_{1} leq 1$
  245. Non-calculable Leverage & & 5 & 1172.49 & 338.66 & & 7 & 1304.48 & 390.58 tabularnewline
  246. bottomrule
  247. end{tabularx}
  248. };\
  249. };
  250. pause
  251. spy[white] on (-0.5,0) in node at (0,0);
  252. end{tikzpicture}
  253. end{table}
  254.  
  255. end{frame}
  256.  
  257.  
  258. end{document}
Add Comment
Please, Sign In to add comment