Linked Questions

2
votes
2answers
884 views

Is it true that when using \newline to stay in horizontal mode, the information will be on the same page?

I read here that using \newline keeps horizontal mode engaged. Is it true, then, that when I opt for \newline in for example \noindent\rule{\textwidth}{\heavyrulewidth}\newline Here is some text. ...
4
votes
1answer
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-...
4
votes
1answer
1k views

Vertically align two separate TikZ figures below each other using the subfig package

The following minimal working example does not vertically align two rectangles drawn by TikZ. The result can be found here. Somehow the second rectangle seems bolded, but that is not the case when I ...
2
votes
1answer
1k views

Referencing formula before defining it

I'm writing a scientific article and I would like to reference a formula before it appears in the text. In principle it should work, the problem is that I want to use the hyperref package, so that I ...
3
votes
1answer
515 views

Package clash between amsthm and lineno

I found a clash between packages amsthm and lineno. Below is some sample code. Does anyone know what I should do to avoid this ? \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage{...
4
votes
2answers
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{equation} \begin{split} #1 \end{split} \end{equation}} However, now I want to ...
1
vote
1answer
792 views

Why am I getting underfull and overfull errors?

I am trying to compile the following code: \documentclass{article} \usepackage{graphicx,algpseudocode,algorithm,multirow,hyperref,subfig,cancel,natbib,epstopdf,xspace} \begin{document} \clubpenalty=...
3
votes
1answer
897 views

KOMA-Script - paragraph new line without space and parskip

I am currently writing my master thesis with KOMA-Class srcreprt and I am a little bit weird about blank lines in paragraphs, parskips and sectioning vertical space. As I have learned usage of \\ as ...
3
votes
2answers
221 views

How to increase linestretch in inline-enumeration with enumitem?

I would like to increase the linespread within a group. Namely, the linespread within an inline-enumeration. For this purpose, I have the following code. \documentclass[]{article} \parindent 0cm \...
0
votes
1answer
421 views

Paragraph not indenting properly

Paragraph not indenting properly. Here is the code I'm using \documentclass[a4paper,10pt]{article} %----------------------------------------------------------- \usepackage{geometry} \usepackage{url}...
2
votes
1answer
662 views

Have paragraphs with spacing between them inside “flushleft”

In my LaTeX document, I'd like to have two paragraphs which are separated by some smaller vertical spacing. When I use the following code, this works just as intended, automatically: \documentclass[...
0
votes
1answer
987 views

longtable vertical space

If I make longtable, how can I remove the spacing between preceding text and it? Tabular doesn't have this spacing. This example should make clear to you what I'm asking: \documentclass[a4paper]{...
2
votes
1answer
549 views

How to use amsmath environment \Bmatrix inside a glossary?

I´d like to use the following environment from amsmath-package for a glossary-entry but latex fails (TexStudio with pdflatex): \begin{Bmatrix}...\end{Bmatrix} Here is my MWE: \documentclass{scrbook}...
0
votes
1answer
683 views

Do you know why I have this warning: underfull \hbox(\badness 10000), using visual studio code with Latex extension

\documentclass{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage[]{amsthm} %lets us use \begin{proof} \usepackage[]{amssymb} %gives us the character \varnothing \usepackage[...
1
vote
1answer
525 views

Changing the size of things doesn't work via \scriptsize, \normalsize, \large, etc. in math mode

You are supposed to be able to change the size of things via the commands \large \huge etc. However, they don't seem to work in math mode. The following code \documentclass{article} \usepackage{...

15 30 50 per page