Making "tabs" in LaTeX for problem sets

  • Context: LaTeX 
  • Thread starter Thread starter opus
  • Start date Start date
  • Tags Tags
    Latex Sets
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 3K views
opus
Gold Member
Messages
717
Reaction score
131
TL;DR
Trying to replicate a document in LaTeX. Not sure how they got the tab or alignment format.
I'm trying to recreate this document in LaTeX, but I'm not sure how they aligned "Factor" and "Solution" after 1.1.1.
Any ideas?
Screen Shot 2020-01-15 at 6.58.48 PM.png
 
Physics news on Phys.org
It looks like the paras with numbers like 1.1.1 are part of an enumerated list, between \begin{enumerate} and \end{enumerate}.

In such a list, numbered items must be preceded by the code \item. The default is to number them as 1, 2, 3 but settings can be changed to show legal style numbering such as is shown above.

If you put a blank line after a numbered item and then start a new para, without starting it with \item, latex will align the left side of the new para with the left side of text of the numbered item above, as you see in the OP.

I think that's what they've done.

Note that a blank line in latex code signifies a new para. It doesn't put a blank line in the output text.
 
  • Like
Likes   Reactions: opus
Excellent thank you andrew! That was it exactly. I just did the enumerate and \item[1.1.1]
 
Ok one more question if it's not too much trouble. This is with the matrices on the bottom. I've tried \~ as well as \sim to go where to the tilde is and neither works.
The former jumbles everything up and even makes a matrix disappear.
The latter looks good but it gets ride of the centering. Any ideas?
\
Screen Shot 2020-01-15 at 9.34.23 PM.png
Screen Shot 2020-01-15 at 9.35.09 PM.png
 
Actually just got it. Had to use math mode for some reason.