Making "tabs" in LaTeX for problem sets

  • LaTeX
  • Thread starter opus
  • Start date
  • #1
opus
Gold Member
701
130

Summary:

Trying to replicate a document in LaTeX. Not sure how they got the tab or alignment format.

Main Question or Discussion Point

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
 

Answers and Replies

  • #2
andrewkirk
Science Advisor
Homework Helper
Insights Author
Gold Member
3,788
1,386
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.
 
  • #3
opus
Gold Member
701
130
Excellent thank you andrew! That was it exactly. I just did the enumerate and \item[1.1.1]
 
  • #4
opus
Gold Member
701
130
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
 
  • #5
opus
Gold Member
701
130
Actually just got it. Had to use math mode for some reason.
 

Related Threads for: Making "tabs" in LaTeX for problem sets

Replies
5
Views
3K
Replies
6
Views
2K
  • Last Post
Replies
3
Views
2K
Replies
14
Views
4K
Replies
5
Views
14K
Replies
2
Views
19K
Replies
5
Views
3K
  • Last Post
Replies
4
Views
2K
Top