Latex Documentclass Article: How to Cut Off Text Lines and Create New Paragraphs

In summary, to start a new paragraph in Latex, leave a blank line in the source document. A single carriage return has no effect.
  • #1
ladil123
45
0
Hello!

Im writing a technical report with "article" as documentclass in Latex

How can I cut off a line?
I have a long piece of text and I want to cut it of like a new paragraph

how do I do that? I have tried to use // but that's wrong...

thanks
 
Physics news on Phys.org
  • #2
ladil123 said:
Hello!

Im writing a technical report with "article" as documentclass in Latex

How can I cut off a line?
I have a long piece of text and I want to cut it of like a new paragraph

how do I do that? I have tried to use // but that's wrong...

thanks
To start a new paragraph in latex, simply leave a blank line in the source document. A single carriage return has no effect in latex. For example,
Code:
This is paragraph one.
This is still paragraph one and will in fact appear on the same line as the previous sentence.

This is paragraph two
 
  • #3


Hello there! As a fellow scientist, I understand the importance of formatting technical reports correctly. To cut off a line and create a new paragraph in Latex using the "article" documentclass, you can use the command "\par" or "\newline" to indicate a line break. This will create a new line without indenting it. If you want to create a new paragraph with an indent, you can use the command "\indent" before the text of the new paragraph. I hope this helps and happy writing!
 

1. How do I cut off text lines in a Latex document?

To cut off text lines in a Latex document, you can use the \linebreak command at the end of the line where you want to break the text. This will create a line break without starting a new paragraph. Alternatively, you can use the \newline command, which will also create a line break without starting a new paragraph.

2. How do I create new paragraphs in a Latex document?

To create a new paragraph in a Latex document, you can use the \par command, which will start a new paragraph on the next line. Alternatively, you can leave a blank line between two blocks of text, which will also create a new paragraph.

3. Can I control the length of text lines in a Latex document?

Yes, you can control the length of text lines in a Latex document by using the \parbox command. This allows you to specify the width of the text box, and the text will automatically wrap within that width. You can also use the \linewidth command, which will automatically adjust the width to the current line length.

4. Can I adjust the spacing between paragraphs in a Latex document?

Yes, you can adjust the spacing between paragraphs in a Latex document by using the \parskip command. This allows you to specify the amount of space between paragraphs. You can also use the \linespread command, which will adjust the overall line spacing in the document, including between paragraphs.

5. How do I indent the first line of a paragraph in a Latex document?

To indent the first line of a paragraph in a Latex document, you can use the \indent command at the beginning of the paragraph. Alternatively, you can use the \parindent command to set the indentation for all paragraphs in the document. You can also use the \noindent command at the beginning of a specific paragraph to prevent indentation.

Similar threads

  • MATLAB, Maple, Mathematica, LaTeX
Replies
5
Views
369
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
933
  • MATLAB, Maple, Mathematica, LaTeX
Replies
9
Views
3K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
3K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
5
Views
3K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
5
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
11
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
4
Views
3K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
8
Views
11K
Back
Top