Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 1
    is this solution works for math mode only? I got error with message "extra alignment tab has been changed to \cr" and also ugly pdf result. Commented Jan 22, 2020 at 10:36
  • 4
    @bagustris if you do that in the final column use \raggedright\arraybackslash or use \tabularnewline not \\ to end the table row. Commented Jan 22, 2020 at 10:53
  • For whatever reason it had to be upper case: \RaggedRight, but cannot say why. (?) Commented Dec 29, 2023 at 11:50
  • 2
    @UserRebo no the answer works as described. \RaggedRight (from ragged2e) does not give as much raggedness so will not work in all cases. Commented Dec 29, 2023 at 12:57