# Is there any provision to write along two parallel columns? Generally when we compare two things, a need may arise.

Jan 28, 2017

Yes!

#### Explanation:

You can use several techniques to get the job done. One would be to use the syntax that allows us to write matrices

• without hashtags

{: ("something", "something else"), ("yes", "no"), ("yes", "yes"), ("no", "no") :}

• with hashtags

$\left.\begin{matrix}\text{something" & "something else" \\ "yes" & "no" \\ "yes" & "yes" \\ "no" & "no}\end{matrix}\right.$

The spacing is not that great with this one, I'll be the first to admit that. You can tweak it by using color(white)(), though.

• without hashtags

{: ("something", "something else"), (color(white)(aaa)"yes", color(white)(aaaa)"no"), (color(white)(aaa)"yes", color(white)(aaaa)"yes"), (color(white)(aaa)"no", color(white)(aaaa)"no") :}

• with hashtags

$\left.\begin{matrix}\text{something" & "something else" \\ color(white)(aaa)"yes" & color(white)(aaaa)"no" \\ color(white)(aaa)"yes" & color(white)(aaaa)"yes" \\ color(white)(aaa)"no" & color(white)(aaaa)"no}\end{matrix}\right.$

Alternatively, you can ditch the matrix syntax altogether and simply use color(white)() to create the spacing you need.

• without hashtags

color(white)(aaaaa color(black)("something")aaaaaaacolor(black)("something else")aaaa)

color(white)(aaaaaaaacolor(black)("yes")aaaaaaaaaaaaaaacolor(black)("no")aaaa)

color(white)(aaaaaaaacolor(black)("yes")aaaaaaaaaaaaaaacolor(black)("yes")aaaa)

color(white)(aaaaaaaacolor(black)("no")aaaaaaaaaaaaaaaacolor(black)("no")aaaa)

• with hashtags

$\textcolor{w h i t e}{a a a a a \textcolor{b l a c k}{\text{something")aaaaaaacolor(black)("something else}} a a a a}$

$\textcolor{w h i t e}{a a a a a a a a \textcolor{b l a c k}{\text{yes")aaaaaaaaaaaaaaacolor(black)("no}} a a a a}$

$\textcolor{w h i t e}{a a a a a a a a \textcolor{b l a c k}{\text{yes")aaaaaaaaaaaaaaacolor(black)("yes}} a a a a}$

$\textcolor{w h i t e}{a a a a a a a a \textcolor{b l a c k}{\text{no")aaaaaaaaaaaaaaaacolor(black)("no}} a a a a}$

You can add a bit of flavor by using other colors

• without hashtags

color(white)(aaaaa color(blue)(ul("something"))aaaaaaacolor(purple)(ul("something else"))aaaa)

color(white)(aaaaaaaacolor(green)("yes")aaaaaaaaaaaaaaacolor(red)("no")aaaa)

color(white)(aaaaaaaacolor(green)("yes")aaaaaaaaaaaaaaacolor(green)("yes")aaaa)

color(white)(aaaaaaaacolor(red)("no")aaaaaaaaaaaaaaaacolor(red)("no")aaaa)

• with hashtags

$\textcolor{w h i t e}{a a a a a \textcolor{b l u e}{\text{something")aaaaaaacolor(purple)("something else}} a a a a}$

$\textcolor{w h i t e}{a a a a a a a a \textcolor{g r e e n}{\text{yes")aaaaaaaaaaaaaaacolor(red)("no}} a a a a}$

$\textcolor{w h i t e}{a a a a a a a a \textcolor{g r e e n}{\text{yes")aaaaaaaaaaaaaaacolor(green)("yes}} a a a a}$

$\textcolor{w h i t e}{a a a a a a a a \textcolor{red}{\text{no")aaaaaaaaaaaaaaaacolor(red)("no}} a a a a}$

You can even add a horizontal line if you want

• without hashtags

color(black)(ul(color(white)(aaaaa color(blue)("something")aaaaaaacolor(purple)("something else")aaaa))

color(white)(aaaaaaaacolor(green)("yes")aaaaaaaaaaaaaaacolor(red)("no")aaaa)

color(white)(aaaaaaaacolor(green)("yes")aaaaaaaaaaaaaaacolor(green)("yes")aaaa)

color(white)(aaaaaaaacolor(red)("no")aaaaaaaaaaaaaaaacolor(red)("no")aaaa)

• with hashtags

color(black)(ul(color(white)(aaaaa color(blue)("something")aaaaaaacolor(purple)("something else")aaaa))

$\textcolor{w h i t e}{a a a a a a a a \textcolor{g r e e n}{\text{yes")aaaaaaaaaaaaaaacolor(red)("no}} a a a a}$

$\textcolor{w h i t e}{a a a a a a a a \textcolor{g r e e n}{\text{yes")aaaaaaaaaaaaaaacolor(green)("yes}} a a a a}$

$\textcolor{w h i t e}{a a a a a a a a \textcolor{red}{\text{no")aaaaaaaaaaaaaaaacolor(red)("no}} a a a a}$

And there you have it. Don't be intimidated by the syntax! Practice and play around with it a bit and you'll master it in no time!

Enjoy! :D