Latex Coding: How to Include Paragraphs Neatly

  • Context: LaTeX 
  • Thread starter Thread starter rocomath
  • Start date Start date
  • Tags Tags
    Coding Latex
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
6 replies · 5K views
rocomath
Messages
1,752
Reaction score
1
how can i include paragraphs into my latex-coding w/o it looking ugly or me having to use dashed-lines to separate words

[tex]for example, this looks ugly![/tex]
 
Physics news on Phys.org
rocophysics said:
how can i include paragraphs into my latex-coding w/o it looking ugly or me having to use dashed-lines to separate words

[tex]for example, this looks ugly![/tex]

\mbox
[tex]\mbox{for example, this looks better!}[/tex]or escape out of math mode(?)
with \] and \[
[tex]\]<br /> for example, this looks better!<br /> \[[/tex]
 
ah i love you! :D i have the latex pdf but it wasn't that clear about \mbox, sweet!

EDIT:

[tex]\mbox{Block A weighs 1.20N and block B weighs 3.60N. The coefficient of kinetic friction between all surfaces is 0.300N. Find the magnitude of the horizontal force F necessary to drag block B to the left at constant speed if A rests on B and moves with it in the 1st picture and if A is held at rest in the 2nd picture.}[/tex]

sigh :( is there one that allows me to type in more?

i'd like to fit this paragraph

Block A weighs 1.20N and block B weighs 3.60N. The coefficient of kinetic friction between all surfaces is 0.300N. Find the magnitude of the horizontal force F necessary to drag block B to the left at constant speed if A rests on B and moves with it in the 1st picture and if A is held at rest in the 2nd picture.
 
Last edited:
[tex]\]Block A weighs 1.20N and block B weighs 3.60N. The coefficient of kinetic friction between all surfaces is 0.300N. Find the magnitude of the horizontal force F necessary to drag block B to the left at constant speed if A rests on B and moves with it in the 1st picture and if A is held at rest in the 2nd picture.<br /> \[[/tex]
 
[tex] \begin{minipage}{3in}\bf\color{red}<br /> Block A weighs 1.20N and block B weighs 3.60N. The coefficient of kinetic friction between all surfaces is 0.300N. Find the magnitude of the horizontal force F necessary to drag block B to the left at constant speed if A rests on B and moves with it in the 1st picture and if A is held at rest in the 2nd picture.<br /> \end{minipage}[/tex]
 
lol i can barely make the 2nd method work

i keep getting this annoying (0), argh!

http://www.mathlinks.ro/weblog_entry.php?t=171422

maybe it's diff. over there
 
Last edited by a moderator:
rocophysics said:
lol i can barely make the 2nd method work

i keep getting this annoying (0), argh!

http://www.mathlinks.ro/weblog_entry.php?t=171422

maybe it's diff. over there

What exactly are you trying to accomplish? If you wish to add text inside formulas, you can do something like this:

\[ \mu_k N - F = 0 \text{ where } N = w_A + w_B \]

If you wish to have math within a paragraph, then you could do something like this:

First, set $\mu_k N - F = 0$, and then substitute $N= w_A + w_B$.
 
Last edited by a moderator: