daily pastebin goal
7%
SHARE
TWEET

Untitled

a guest Sep 24th, 2018 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. \documentclass[9pt]{article}
  3. \usepackage[landscape, total={8.5in, 5.45in}, top=1.5in, bottom=1.25in, right=1.25in, left=1.25in, centering, includefoot]{geometry}
  4. \usepackage{longtable, lmodern, microtype, caption, bm, multirow, booktabs}
  5. \usepackage[T1]{fontenc}
  6. \usepackage[table]{xcolor}
  7. \usepackage[none]{hyphenat}
  8. % Colors
  9. \definecolor{lblue}{HTML}{F0F3F9}
  10. \definecolor{lgrey}{HTML}{F9F9F9}
  11. \definecolor{rulecolor}{HTML}{dddddd}
  12. \definecolor{tableShade2}{HTML}{F1F5FA}
  13. \definecolor{tableShade}{HTML}{FAFAFD}
  14. \definecolor{tableShade3}{HTML}{DFDFDF}
  15. \definecolor{tableShade4}{HTML}{C2A5CF}
  16. \definecolor{tableShade5}{HTML}{E7D4E8}
  17. \definecolor{tableShade6}{HTML}{A1D99B}
  18. \definecolor{tableShade7}{HTML}{D9F0D3}
  19. \definecolor{tableShade1}{HTML}{FFEDA0}
  20.  
  21. \pagestyle{empty}
  22. \renewcommand{\familydefault}{\sfdefault}
  23. \renewcommand{\arraystretch}{1.25}
  24. \usepackage{arydshln}
  25. \newcolumntype{x}[1]{>{\raggedright}p{#1}}
  26. \arrayrulecolor{tableShade3}
  27.  
  28. \begin{document}
  29. \setlength\LTpre{-0.3cm}
  30. \rowcolors{1}{tableShade2}{white}
  31. \newcommand{\CTPanel}[1]{%
  32. \multicolumn{1}{>{\columncolor{white}}r|}{#1}}
  33. \centering
  34.  
  35. \begin{longtable}{p{6.2cm}
  36.                                    p{0.5cm}
  37.                                    p{0.5cm}!{\color{white}\vrule width 4pt}
  38.                                    p{0.5cm}!{\color{white}\vrule width 20pt}
  39.                                    p{6.2cm}
  40.                                    p{0.5cm}
  41.                                    p{0.5cm}!{\color{white}\vrule width 4pt}
  42.                                    p{0.5cm}}
  43. \hiderowcolors
  44. \multicolumn{4}{c}{\textbf{First group}}  &  \multicolumn{4}{c}{\textbf{second group}}\\
  45. \cmidrule(r{20pt}){1-4}\cmidrule{5-8}
  46. &\multicolumn{2}{c}{\textbf {CC}}  & \textbf{CO} & &\multicolumn{2}{c}{\textbf{CC}} & \textbf{CO}\\
  47. \cmidrule(r{4pt}){2-3}\cmidrule(r{20pt}){4-4}\cmidrule(lr{4pt}){6-7}\cmidrule(){8-8}
  48. & {\small 10+} & {\small 20$-$} & {\small 10$-$} && {\small 20+} & {\small 10$-$}& {\small 20$-$}\\
  49. \specialrule{0.01em}{0.0em}{0em}
  50. \endhead
  51. %Complicated legend begins
  52. \multicolumn{8}{@{}p {4in}}
  53. {\raggedright
  54. \begin{tabular}{llllll}
  55. \hiderowcolors
  56. \addlinespace[3pt]
  57. \multicolumn{6}{@{}l}{\textbf{LEGEND}}\\
  58. \multicolumn{6}{@{}l}{the really really really really long long poorly written line that is flowing off the margins of this table and causing grief in general. Is this long enough? If not, here are some more words.}\\
  59. {\cellcolor{tableShade4}${\bm+^m}$}&: Monotonic Increase, Significant&
  60. {\cellcolor{tableShade6}${\bm-^m}$}&: Monotonic Decrease, Significant&
  61. {\cellcolor{tableShade1}${\bm*}$}&: Non-linear, Significant \\
  62. {\cellcolor{tableShade4}${\bm+}$}&: Increase, Significant&
  63. {\cellcolor{tableShade6}${\bm-}$}&: Decrease, Significant&
  64. {\cellcolor{tableShade1}${\bm\pm}$}&: Mixed, Significant\\
  65. {\cellcolor{tableShade5}$+^m$}&: Monotonic Increase&
  66. {\cellcolor{tableShade7}$-^m$}&: Monotonic Decrease&
  67. {\cellcolor{tableShade2}$\pm$}&: Mixed\\
  68. {\cellcolor{tableShade5}$+$}&: Increase&
  69. {\cellcolor{tableShade7}$-$}&: Decrease&
  70. -&: Not computed\\
  71. \end{tabular}
  72. }
  73. \endfoot
  74. \hline
  75. \showrowcolors
  76.  
  77. First&{\cellcolor{tableShade7}$-$}&{\cellcolor{tableShade7}$-$}&{\cellcolor{tableShade7}$-$}&Mirrored first&{\cellcolor{tableShade7}$-$}&{\cellcolor{tableShade7}$-$}&{\cellcolor{tableShade7}$-$}
  78. \\\hline
  79. Second&{\cellcolor{tableShade7}$-$}&{\cellcolor{tableShade7}$-$}&{\cellcolor{tableShade7}$-$}&Second&{\cellcolor{tableShade7}$-$}&{\cellcolor{tableShade7}$-$}&{\cellcolor{tableShade6}${\bm -}$}
  80. \\\hline
  81. Third from the end&{\cellcolor{tableShade7}$-$}&{\cellcolor{tableShade7}$-$}&{\cellcolor{tableShade7}$-$}&Third&{\cellcolor{tableShade7}$-$}&{\cellcolor{tableShade6}${\bm -}$}&{\cellcolor{tableShade7}$-$}
  82. \\\hline
  83. Penultimate&{\cellcolor{tableShade7}$-$}&{\cellcolor{tableShade7}$-$}&{\cellcolor{tableShade5}$+$}&Fourth&{\cellcolor{tableShade7}$-$}&{\cellcolor{tableShade6}${\bm -}$}&{\cellcolor{tableShade7}$-$}
  84. \\\hline
  85. Last&{\cellcolor{tableShade7}$-$}&{\cellcolor{tableShade7}$-$}&{\cellcolor{tableShade5}$+$}&Fifth&{\cellcolor{tableShade7}$-$}&{\cellcolor{tableShade6}${\bm -}$}&{\cellcolor{tableShade7}$-$}
  86. \\\hline
  87. \end{longtable}
  88. \end{document}
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