Questions tagged [paragraphs]

{paragraphs} are distinct text divisions that begin on a new, usually indented line. In TeX, a paragraph is ended by the \par command or at least one blank line. If your question is about the \paragraph or \subparagraph sectioning commands, use {sectioning} plus {sections-paragraphs} instead.

1329 questions
39
votes
3 answers

In how many ways can you create a paragraph in LaTeX?

How many ways are there to indicate the beginning of a new paragraph in LaTeX? Only way I know of is the double linebreak.
gablin
  • 17,006
23
votes
4 answers

How to layout irregular paragraph shape

I have found this in the cover of seminar(one tool to make slide) document. The final result I have captured below: The complete document can download here. I wonder how to make this. Is there any easy way?
pythonee
  • 2,567
20
votes
2 answers

Why does \everypar not work?

I tried to put a \P (¶ sign) after each paragraph. Therefore, I chose the \everypar={\P} command. First of all, I figured out that LaTeX redefines it internally after \begin{document} Hence, I placed my code inside the document…
Matthias
  • 321
12
votes
4 answers

Why is the use of a doubleslash as a newline indicator outside of tabular bad

I recall seeing some comments that using a \\ to start a new line is a really bad idea outside of tabular type of environments. What are the reasons for this?
Peter Grill
  • 223,288
10
votes
1 answer

How to disable new paragraph at empty line?

With the goal of making the latex source easier to parse, I was wondering if one could (locally or globally) disable the latex default behaviour of creating a new paragraph when it encounters an empty line. Obviously, I can always just put a % on…
9
votes
1 answer

Execute command at every *end* of a paragraph?

I'd like to execute something at every end of a paragraph (writing sth. to aux file). So I modified \par using \let\oldpar\par \def\par{% \protected@write\@auxout{}{\string\ParHere}% \oldpar% original version of \par }% That works pretty…
LaTechneuse
  • 1,339
9
votes
2 answers

Add a period after each paragraph title

I tend to use \paragraph{text} to structure my text (instead of \subsubection for example). The text in the paragraph is printed bold and some extra spacing is inserted. I would like to alter this by having latex print a period after the bold text.…
hfhc2
  • 852
7
votes
1 answer

What is a good way to write exponentials within paragraph?

I want write a paragraph that has an exponential term in it, like `the complexity is on the order of 10^5'. This exponential changes the spacing between the lines of the paragraph. I have seen in some textbooks that they make the size of the base…
dagcilibili
  • 438
  • 3
  • 9
6
votes
1 answer

Going back to the end of the previous paragraph

Is there a way to define a TeX command that checks if the current position in the text is at the beginning of a paragraph, and if true, then to go back to the end of the previous paragraph? Edit: The aim is to solve the following problem. I have a…
digital-Ink
  • 3,083
6
votes
1 answer

How to fill the last line of a paragraph and not the first

I have a parbox which is right-justified. When the words do not fill an entire number of lines, the last line is incomplete: \documentclass[preview]{standalone} \begin{document} \fbox{\parbox{10cm}{\raggedleft Some text some text some text some…
JPG
  • 2,019
5
votes
1 answer

What is the difference between \\ and skipping a line?

What different effects do ending a paragraph in the following three ways have? 1. words words words words words words 2. words words words\\ words words words 3. words words words\\ words words words
Abijah
  • 475
  • 3
  • 11
5
votes
2 answers

Inset paragraph with vertical text next to it

I'm looking for a way to inset an entire paragraph and add a vertical line to the left of it with some vertical text in the middle (text need not be a variable, there's only going to be 3 or 4 different words in total): I have no idea where to…
5
votes
2 answers

Text indentation for dedication page

I am using stock book template and would like to create a dedication page. I have used this answer to align the text vertically and my current code is the following: \cleardoublepage \vspace*{\stretch{3}} \textbf{DEDICATION} Lorem ipsum dolor sit…
alesc
  • 761
5
votes
2 answers

Paragraph settings

I am using the paragraph settings shown below: Correct use of \paragraph titles? 1) How can I reduce the size between the paragragphs? 2) Should I reduce the gap between paragraph title and text, and if yes, how can I do…
Jens
  • 1,431
4
votes
1 answer

How can I ensure the next things is always at the start of a new line?

I have an environment that needs to ensure that its body always starts on a new line, but that doesn't add extra blank space when doing that. What I have works well, except with a few corner cases relating to \paragraph{...} without any text between…
BCS
  • 251
1
2 3 4 5 6