144k views

### Why should I use LaTeX?

I have heard a lot about LaTeX, but never used it myself. It is mainly used for typesetting professional research papers. But I am not writing research papers. Is LaTeX for me? If yes, why should I ...
553k views

### How to add an empty line between paragraphs?

I have two sections which I'd like to separate by an empty line. Every time I press Enter, LyX removes that empty line between paragraphs. How do I prevent this?
2k views

### What is a primitive, a macro, and how do they compare?

The title pretty much says it all. If it helps, I found myself asking this question when reading this post about \par vs. \\.
4k views

### Downsides of using \par instead of two new lines

Coming from an HTML background using <p> to mark paragraphs I consequently use \par to mark paragraphs instead of using two consecutive blank lines. This feels more semantic (of course I realize ...
700 views

### 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?
306 views

### Looking for an (old?) problem with \\

(No, I'm not looking for a solution. I'm really looking for a problem.) I remember that, a long time ago, I encountered a situation where the \\ (newline) command would insert a blank line if the ...
3k views

### When does LaTex add indentation at the start of a paragraph?

Sometimes a paragraph starts with an indentation (which could be turned off with \noindent) but sometimes it does not. For example, I have currently an article where the section content is not ...
3k views

### What are the differences between \par\vspace{2cm}\noindent and \\[2cm]?

I am designing a titlepage for my report and I am a bit confused in deciding to use either \par\vspace{2cm}\noindent or \\[2cm] (for example). Shortly speaking, what are the differences between \par\...
1k views

### Fine-tune styles and fonts

I'm using the Fourier package to set the fonts in my document, but I'm not very happy with the settings it employs: As I later found out, the sans-serif font above is the Computer Modern Sans—...
3k views

### Using \\ to Start New Line [duplicate]

When I was initially learning to use LaTeX, the professor who taught me the basics instructed me to use \\ as a way to end a previous line and start a new line of text. However, many of the veteran ...
130 views

### Evaluate expression/macro at the end

Suppose you have a document where you want to mention how many sections there are in the beginning. For example, something like this: \documentclass{article} \begin{document} Abstract\\There are ......
211 views

### LaTeX: Why \\ causes no paragraph break for fully justified text, but does so for \raggedright, \raggedleft, and \centering?

Note: This question is not about getting a desired visual effect in pdf, it is concerned with LaTeX/TeX internal algorithm. In the following code, presence of \\ sometimes produces a new internal tex-...
138 views

### Help with a \newcommand not working with autonum

I am writing my thesis. To write math formulas I created the command \eq as follows. \newcommand{\eq}[1]{ $$\begin{split} #1 \end{split}$$} However, now I want to ...