Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.28 KB | None | 0 0
  1. documentclass{article}
  2.  
  3. usepackage[paper=a3paper,margin=1in]{geometry}% Just for this example
  4. usepackage{amsmath,array}
  5.  
  6. newcommand{BOX}[1][0.125columnwidth]{framebox[#1]}
  7. begin{document}
  8.  
  9. [
  10. begin{array}{r@{}>{{}}l@{qquad}r@{}>{{}}l}
  11. BOX{array} &= BOX{x} & BOX{x}&= BOX{x}\
  12. BOX{array}&= BOX[0.1columnwidth]{x} & BOX[0.1columnwidth]{x} &= BOX[0.1columnwidth]{x}
  13. end{array}
  14. ]
  15.  
  16. begin{align*}
  17. BOX{align} &= BOX{x} & BOX{x}&= BOX{x}\
  18. BOX{align}&= BOX[0.1columnwidth]{x} & BOX[0.1columnwidth]{x} &= BOX[0.1columnwidth]{x}
  19. end{align*}
  20.  
  21. begin{alignat*}{2}
  22. BOX{alignat} &= BOX{x} & BOX{x} &= BOX{x}\
  23. BOX{alignat} &= BOX[0.1columnwidth]{x} & BOX[0.1columnwidth]{x} &= BOX[0.1columnwidth]{x}
  24. end{alignat*}
  25.  
  26. begin{flalign*}
  27. BOX{flalign} &= BOX{x} & BOX{x} &= BOX{x}\
  28. BOX{flalign} &= BOX[0.1columnwidth]{x} & BOX[0.1columnwidth]{x} &= BOX[0.1columnwidth]{x}
  29. end{flalign*}
  30.  
  31. begin{xalignat*}{2}
  32. BOX{xalignat} &= BOX{x} & BOX{x} &= BOX{x}\
  33. BOX{xalignat} &= BOX[0.1columnwidth]{x} & BOX[0.1columnwidth]{x} &= BOX[0.1columnwidth]{x}
  34. end{xalignat*}
  35.  
  36. begin{xxalignat}{2}
  37. BOX{xxalignat} &= BOX{x} & BOX{x} &= BOX{x}\
  38. BOX{xxalignat} &= BOX[0.1columnwidth]{x} & BOX[0.1columnwidth]{x} &= BOX[0.1columnwidth]{x}
  39. end{xxalignat}
  40.  
  41. begin{gather*}
  42. BOX{gather} = BOX{x}\
  43. BOX{gather} = BOX[0.1columnwidth]{x}
  44. end{gather*}
  45.  
  46. [
  47. begin{gathered}[t]
  48. BOX{gathered[t]} = BOX{x}\
  49. BOX{gathered[t]} = BOX[0.1columnwidth]{x}
  50. end{gathered}
  51. quadrule{1em}{.4pt}quad
  52. begin{gathered}[c]
  53. BOX{gathered[c]} = BOX{x}\
  54. BOX{gathered[c]} = BOX[0.1columnwidth]{x}
  55. end{gathered}
  56. quadrule{1em}{.4pt}quad
  57. begin{gathered}[b]
  58. BOX{gathered[b]} = BOX{x}\
  59. BOX{gathered[b]} = BOX[0.1columnwidth]{x}
  60. end{gathered}
  61. ]
  62.  
  63. begin{multline*}
  64. BOX[0.5columnwidth]{multline start}\
  65. BOX[0.5columnwidth]{x}\
  66. BOX[0.5columnwidth]{x}\
  67. shoveright{BOX[0.5columnwidth]{multline shoved right}}\
  68. BOX[0.5columnwidth]{x}\
  69. BOX[0.5columnwidth]{end multline}
  70. end{multline*}
  71.  
  72. [
  73. begin{split}
  74. BOX[0.35columnwidth]{split}\
  75. BOX[0.75columnwidth]{x}\
  76. BOX[0.65columnwidth]{x}\
  77. BOX[0.95columnwidth]{x}
  78. end{split}
  79. ]
  80.  
  81. [
  82. begin{split}
  83. BOX{split} = {}&BOX[0.35columnwidth]{x}\
  84. &BOX[0.75columnwidth]{x}\
  85. &BOX[0.65columnwidth]{x}\
  86. &BOX[0.8columnwidth]{x}
  87. end{split}
  88. ]
  89.  
  90. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement