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

1 Answer
Jan 28, 2017

Answer:

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

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

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

#{: ("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") :}#

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

#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)#

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

#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)#

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))#

#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)#

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