Tips for Solving Typesetting Problems in LaTeX

  • Context: LaTeX 
  • Thread starter Thread starter tomfitzyuk
  • Start date Start date
  • Tags Tags
    Typesetting
Click For Summary
SUMMARY

This discussion focuses on optimizing typesetting in LaTeX, specifically for mathematical equations and enumerated lists. The user, Tom, seeks advice on achieving a preferred layout that aligns equations with list items. Key suggestions include using the enumerate and eqnarray* environments to format equations efficiently. The conversation highlights the importance of understanding LaTeX's syntax and structure to enhance document presentation.

PREREQUISITES
  • Familiarity with LaTeX document structure and syntax
  • Understanding of the enumerate environment in LaTeX
  • Knowledge of mathematical typesetting in LaTeX
  • Experience with the eqnarray* environment for equation formatting
NEXT STEPS
  • Research advanced LaTeX typesetting techniques for mathematical documents
  • Explore the amsmath package for enhanced equation formatting
  • Learn about custom LaTeX commands to streamline equation input
  • Investigate LaTeX layout packages like geometry for better document control
USEFUL FOR

Anyone involved in academic writing, particularly mathematicians, physicists, and researchers who require precise typesetting in LaTeX documents.

tomfitzyuk
Messages
14
Reaction score
0
Hey,

I'm trying to learn how to use LaTeX and while I think it's easy how to form equations and symbols, the thing I find most difficult is laying things out how I'd prefer.

I wanted it to look like this but couldn't work out how to do it, if anybody has any tips, examples, tutorials or book recommendations, please post them.

http://img58.imageshack.us/img58/7452/hmm6lw.jpg

BTW, the vertical line is not supposed to be there, please ignore it.

Thanks in Advance
Tom
 
Last edited by a moderator:
Physics news on Phys.org
Assuming you are doing this in a .tex file (not on a forum), the code would look like this:

$\begin{enumerate}\item\begin{enumerate}\item Type what you want here for part 1a.\item 1b goes here...\end{enumerate}\item Now you're on 2\begin{enumerate}\item 2a is here\end{enumerate}\end{enumerate}$
 
Thanks for the reply, what you posted enabled me to be able to do a lot but it's not my most preferred layout, is this possible?

http://img142.imageshack.us/img142/4580/example7kf.jpg

The lines just show how I would prefer it to be aligned. In particular I would want the equation to start on the line of the item.

My code is:
\begin{enumerate}
\item $ z_1 = 1 + i \\
z_2 = 2 - 3i \\
z_3 = 4 + 4i $

\item[i.]
\begin{eqnarray*}
z_1 + z_2 + z_3 &=& (1 + i) + (2 - 3i) + (4 + 4i) \\
&=& 7 + 2i
\end{eqnarray*}

\item[ii.]
\begin{eqnarray*}
2z_1 + 4z_3 &=& 2(1 + i) + 4(4 + 4i) \\
&=& 2 + 2i + 16 + 16i \\
&=& 18 + 18i
\end{eqnarray*}

\item[iii.]
\begin{eqnarray*}
z_3 - z_1 &=& (4 + 4i) - (1 + i) \\
&=& 3 + 3i
\end{eqnarray*}

\end{enumerate}

Which I think is quite inefficient (too much typing per equation, I don't mean the symbols, the whole formatting of each equation, maybe this is just what LaTeX is like) and not to my liking.

Does anybody have any tips?

Thanks in Advance
Tom
 
Last edited by a moderator:

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
2
Views
2K
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • Sticky
  • · Replies 0 ·
Replies
0
Views
23K
  • Sticky
  • · Replies 0 ·
Replies
0
Views
18K
  • Sticky
  • · Replies 1 ·
Replies
1
Views
26K
  • Sticky
  • · Replies 0 ·
Replies
0
Views
21K