tables.tex 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. \subsection{Tables}
  2. \noindent\begin{tabularx}{\textwidth}{|X|X|}\hline
  3. First Header & Second Header\\ \hline
  4. Content Cell & Content Cell\\ \hline
  5. Content Cell & Content Cell\\ \hline
  6. \end{tabularx}
  7. \noindent\begin{tabularx}{\textwidth}{|X|X|}\hline
  8. First Header & Second Header\\ \hline
  9. Content Cell & Content Cell\\ \hline
  10. Content Cell & Content Cell\\ \hline
  11. \end{tabularx}
  12. \noindent\begin{tabularx}{\textwidth}{|X|X|}\hline
  13. Name & Description\\ \hline
  14. Help & Display the help window.\\ \hline
  15. Close & Closes a window\\ \hline
  16. \end{tabularx}
  17. \noindent\begin{tabularx}{\textwidth}{|X|X|}\hline
  18. Name & Description\\ \hline
  19. Help & \textbf{Display the} help window.\\ \hline
  20. Close & \textit{Closes} a window\\ \hline
  21. \end{tabularx}
  22. \noindent\begin{tabularx}{\textwidth}{|l|c|r|}\hline
  23. Left-Aligned & Center Aligned & Right Aligned\\ \hline
  24. col 3 is & some wordy text & \$1600\\ \hline
  25. col 2 is & centered & \$12\\ \hline
  26. zebra stripes & are neat & \$1\\ \hline
  27. \end{tabularx}
  28. \noindent\begin{tabularx}{\textwidth}{|X|X|}\hline
  29. Simple & Table\\ \hline
  30. 1 & 2\\ \hline
  31. 3 & 4\\ \hline
  32. \end{tabularx}
  33. \noindent\begin{tabularx}{\textwidth}{|X|X|}\hline
  34. Simple & Table\\ \hline
  35. 1 & 2\\ \hline
  36. 3 & 4\\ \hline
  37. 3 & 4 |\\ \hline
  38. \end{tabularx}
  39. Check \url{https://github.com/erusev/parsedown/issues/184} for the following:
  40. \noindent\begin{tabularx}{\textwidth}{|X|X|X|}\hline
  41. Foo & Bar & State\\ \hline
  42. \lstinline`Code | Pipe` & Broken & Blank\\ \hline
  43. \lstinline`Escaped Code \| Pipe` & Broken & Blank\\ \hline
  44. Escaped | Pipe & Broken & Blank\\ \hline
  45. \end{tabularx}
  46. \noindent\begin{tabularx}{\textwidth}{|l|X|}\hline
  47. Simple & Table\\ \hline
  48. 3 & 4\\ \hline
  49. \end{tabularx}
  50. 3 | 4