tables.pdc 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. # Simple tables
  2. Right Left Center Default
  3. ------- ------ ---------- -------
  4. 12 12 12 12
  5. 123 123 123 123
  6. 1 1 1 1
  7. error 2nd-order 10th-order
  8. ------ ----------- ------------
  9. $\insample$ $0.029$ $10^{-5}$
  10. $\outsample$ $0.120$ $7680$
  11. ------- ------ ---------- -------
  12. 12 12 12 12
  13. 123 123 123 123
  14. 1 1 1 1
  15. ------- ------ ---------- -------
  16. # Mutiline tables
  17. -------------------------------------------------------------
  18. Centered Default Right Left
  19. Header Aligned Aligned Aligned
  20. ----------- ------- --------------- -------------------------
  21. First row 12.0 Example of a row that
  22. spans multiple lines.
  23. Second row 5.0 Here's another one. Note
  24. the blank line between
  25. rows.
  26. -------------------------------------------------------------
  27. ----------- ------- --------------- -------------------------
  28. First row 12.0 Example of a row that
  29. spans multiple lines.
  30. Second row 5.0 Here's another one. Note
  31. the blank line between
  32. rows.
  33. ----------- ------- --------------- -------------------------
  34. # grid table
  35. +---------------+---------------+--------------------+
  36. | Fruit | Price | Advantages |
  37. +===============+===============+====================+
  38. | Bananas | $1.34 | - built-in wrapper |
  39. | | | - bright color |
  40. +---------------+---------------+--------------------+
  41. | Oranges | $2.10 | - cures scurvy |
  42. | | | - tasty |
  43. +---------------+---------------+--------------------+
  44. +----------------------+------------------+
  45. | test | a |
  46. +----------------------+------------------+
  47. # pipe tables
  48. | Right | Left | Default | Center |
  49. |------:|:-----|---------|:------:|
  50. | 12 | 12 | 12 | 12 |
  51. | 123 | 123 | 123 | 123 |
  52. | 1 | 1 | 1 | 1 |
  53. Right | Left | Default | Center
  54. -----:|:-----|---------|:------:
  55. 12 | 12 | 12 | 12
  56. 123 | 123 | 123 | 123
  57. 1 | 1 | 1 | 1
  58. fruit| price
  59. -----|-----:
  60. apple|2.05
  61. pear|1.37
  62. orange|3.09
  63. | One | Two |
  64. |-----+-------|
  65. | my | table |
  66. | is | nice |