Latex Coding: How to Include Paragraphs Neatly

  • Context: LaTeX 
  • Thread starter Thread starter rocomath
  • Start date Start date
  • Tags Tags
    Coding Latex
Click For Summary

Discussion Overview

The discussion revolves around how to format paragraphs neatly in LaTeX without compromising aesthetics or readability. Participants explore various methods and share their experiences with LaTeX coding, particularly in relation to including text within mathematical environments.

Discussion Character

  • Technical explanation
  • Exploratory
  • Debate/contested

Main Points Raised

  • One participant expresses frustration with the appearance of paragraphs in LaTeX and seeks alternatives to using dashed lines for separation.
  • Another participant suggests using the \mbox command to improve formatting, indicating that it allows for better presentation of text.
  • A third participant shares their appreciation for the \mbox command but questions its limitations regarding text length.
  • Some participants discuss the use of the minipage environment as a potential solution for formatting longer paragraphs.
  • There are mentions of difficulties encountered when trying to implement certain methods, including receiving unexpected outputs.
  • One participant provides examples of how to incorporate text within mathematical expressions, suggesting ways to blend math and text in a single line.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best method for including paragraphs in LaTeX. Multiple approaches are discussed, and some participants express challenges with the methods proposed.

Contextual Notes

Some participants note limitations with the \mbox command regarding text length, while others mention issues with formatting that lead to unexpected results. The discussion reflects varying levels of familiarity with LaTeX coding.

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:

Similar threads

  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 23 ·
Replies
23
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K