I would like to write the sample space for rolling two fair six-sided dice once. It would look like this:
S = {(1, 1), (1, 2), ..., (1, 6),
(2, 1), (2, 2), ..., (2, 6),
... ... ... ...
(6, 1), (6, 2), ..., (6, 6)}
where that third line of "…" is actually vertical.
How can I do this in LaTeX?
Best Answer
One way you can typeset that is to use
align
:If you are willing to do a bit more work you could use
alignat
that produces better output:Code:
Code