Questions tagged [white-space]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

Floating whitespace in a column [duplicate]

I have a whitespace that's taking up about half a page between an image and my text in one of my columns of a two-column paper. It looks like this (contents blurred). How do I get rid of this space? ...
3
votes
2answers
83 views

How to remove a blank page caused by big pictures

I'm using tikzpicture with includegraphics to put a picture on a document. I would like to make the image bigger than usual, but if I do so, a blank page appears. I searched "remove blank pages&...
3
votes
1answer
41 views

Added whitespace when putting brackets around fractions with splitfrac

I'm using splitfrac from mathtools to break up a particularly long line in the numerator of a fraction. When I put brackets around the fraction, however, they leave a line of whitespace in the ...
0
votes
0answers
24 views

How remove the white spaces at start a paragraph [duplicate]

I have this latex and I want to remove the white spaces at start a paragraph (in all (red and blue circles marks) or in the paragraph is not next of chapter (blue circle mark) ). \documentclass{report}...
3
votes
1answer
58 views

Is there any difference between a space and a newline for compilation?

We handle arbitrary user input and attempt to programmatically generate LaTeX for compilation. One issue we sometimes run into is users writing very long lines (paragraphs) of text, resulting in an ...
1
vote
2answers
35 views

Spacing in a multirow table

I am trying to use a multi-row table such that I can have some extra spacing before and after the table's entire header and before and after the first element of the rows. The screenshot is enclosed: ...
0
votes
0answers
33 views

How can I remove unwanted blank spaces

I am using a template of journal; I have got a lot of blank spaces before and after align blocks, here are parts of my code and and an image of what I get. I could not figure out the reason behind ...
2
votes
1answer
26 views

Empty command with one optional argument after an equation causes an extra horizontal indentation

Consider the following minimal example: \documentclass{minimal} \newcommand{\CMDI}[1]{} \newcommand{\CMDII}[2][]{} \begin{document} \begin{equation} 3.14 \end{equation} \CMDII[...
0
votes
0answers
16 views

Strange vertical space with svmult and subequations environment

When using the class svmult and the environment subequations from amsmath, an ugly vertical space is inserted between text and formula, when a \label command is used. Moving the subequations env. in ...
0
votes
2answers
28 views

How to apply title line breaks on the title page, but not in the page headlines?

I would like to have a macro which pass the book title both to the title page and to the page headlines. Unfortunately if I pass the title containing new line command (to break line on title page) ...
1
vote
1answer
110 views

Inkscape svg converted to pdf, too much white space under figure

I made an svg file with Inkscape, which I saved as a pdf with the "Omit text in PDF and create LaTeX file" option. I also checked "Use exported Object's size". When using the ...
3
votes
1answer
47 views

Extra space when using (re)newcommand

I have examined this question, where the OP wanted to discard the effect of \color when it is used inside an other \textcolor. @Rmano was faster than me and answered the question with the same way ...
0
votes
1answer
31 views

Whitespace through empty figure environment

I am trying to alter my documents bottom margin for a single page. I have looked at all sorts of posts concerned with the geometry package and so on and have not found a solution for my needs. (See ...
0
votes
0answers
29 views

vskip and unskip after section heading

I've defined a macro that puts images and text in a table and puts some whitespace around it like that: \newcommand{\iec}[3]{% \unskip \vskip 0.5cm \begin{tabular}{cl} \adjustimage{width=1.5cm,valign=...
2
votes
2answers
62 views

Multiple Vertical alignment on two rows

I making a presentation using beamer. My question is simple. How can I align 2 rows in 2 different part ? I have in the 1° slide this: Advisor: Prof. Latex Tex Co. Advisor: Prof. Tex Latex And this ...
1
vote
1answer
31 views

Tight square of subfigures

I'm trying to create a tightly knit group of 4 subfigures, in a simple square configuration. I'm able to do this but I would like to remove the whitespace. I'm not sure about the linewidth numbers. ...
6
votes
1answer
85 views

When are \space tokens discarded?

Consider this example: \obeyspaces b \bye The output is b. Why is the \space discarded? It is not discarded during pre-processing because it has catcode 13 - it is discarded during tokenization, ...
1
vote
0answers
32 views

large Spaces in documents [closed]

please I'm new in latex. I have a problem with my paper which is the existing of a lot of white spaces between paragraphs, table and its comments and so on. I don't know how to fix it. I tried to use ...
0
votes
0answers
24 views

Unwanted space in text where float is positioned in the code

I am new to Latex, so I hope I am using the correct vocabulary to describe my problem. I couldn't find an answer to it. When I am including a figure in the code, it is displayed at a different ...
0
votes
1answer
40 views

Reduce horizontal whitespace in aligned equation

I am using the following code to create an aligned equation: \documentclass[a4paper,12pt]{article} \usepackage{Z_costumpreamble} \begin{document} \begin{align} % equation 3 Y\textsubscript{i,P}...
0
votes
0answers
36 views

How to get rid of huge random whitespace in the middle of the paragraph?

\documentclass[12pt]{report} \usepackage{graphicx, longtable} \graphicspath{{images/}} \usepackage[margin=1in]{geometry} \usepackage[table,xcdraw]{xcolor} \usepackage{tabularx} \usepackage{varwidth} \...
0
votes
2answers
52 views

Removing extra vertical space before chapter heading

I'm trying to remove some extraneous extra space that appears before chapter headings in the book class. I've used titlesec to set the space-above to 0pt, but there is still about one line's worth of ...
3
votes
1answer
53 views

Swallow space before command

Is there a way to swallow one space (or more spaces) before a command? E.g.: xxx \mycommand{}yyy which results in xxxyyy
1
vote
3answers
64 views

Print final spaces of an argument

I would like to print spaces that are at the end of an argument. Here is my M(not)WE. \documentclass{article} \newcommand\printspaceinarg[1]{% ]\texttt{#1}[% } \setlength\parindent{0em} \begin{...
0
votes
0answers
39 views

How to print spaces and tabs as spaces and tabs in 'lstlisting's?

Consider the following: \begin{lstlisting} int main(void) { printf("hello world"); return 0; } \end{lstlisting} [Note: the text is not actually rendered blue, I just tried to select it ...
0
votes
1answer
22 views

tagging package and subfigures: faulty vertical alignment

I'm using the great tagged package to compile my document using graphics of different qualities and/or file formats. The MWE \documentclass{article} \usepackage{subcaption} \usepackage{graphicx} \...
2
votes
0answers
90 views

Reduce whitespace after \ref

I have the following latex file: \documentclass[AMA,STIX1COL]{WileyNJD-v2} \usepackage{moreverb} \usepackage{algpseudocode} \usepackage{algorithm} \usepackage{tabu} \usepackage{tabularx} \usepackage{...
2
votes
3answers
180 views

Remove leading whitespace from expansion of command

I'm working with a program that converts markup to LaTeX documents; customization of the output is limited to defining commands to insert in the preamble. A certain markup construct gets converted to ...
2
votes
2answers
93 views

Skip space after optional argument

I have a command where the first argument is optional: \documentclass{minimal} \newcommand{\z}[2][]{\texttt{\underline{#1} #2}} \begin{document} \noindent \z[First]{Second}\\ \z{Only} \end{...
0
votes
1answer
83 views

White space before the landscape table

I have big table and I want it to be placed on whole page horizontally. I used \landscape but the problem is generating half page of white space before the table and the remaining of the text comes ...
0
votes
1answer
44 views

Get rid of extra horizontal space between words in bibliography

There is additional horizontal whitespace between words in my bibliography entries. I assume latex does this to align line breaks. But this whitespace is too large. I want to remove the extra ...
2
votes
1answer
51 views

Fitting a table in 2 column paper format

I am having a hard time trying to fit a table in my 2 column latex paper. \documentclass[nocrop]{bioinfo} \usepackage[english]{babel} \usepackage{dsfont} \usepackage{natbib} \...
1
vote
1answer
62 views

trouble matching %s in LuaTeX argument containing LaTeX command

I hope I can communicate this clearly. I've been trying to pass an argument to a Lua function that contains LaTeX commands. Normally this works fine, but if Lua tries to match/sub %s within this ...
1
vote
1answer
38 views

How can I make two adjacent images have NO whitespace?

This is sort a follow-up to my question How can I make a series of images (with some text) flow with minimal whitespace?. There are a couple differences from that question that hopefully simplify ...
0
votes
1answer
41 views

Blank space left about itemized list. How to remove this vertical space?

I am trying to remove vertical space inserted when I start a itemized list inside a table using the \tabular command: \begin{tabular}{@{} p{0.18\textwidth}|p{0.82\textwidth}} \raggedright \textbf{...
6
votes
3answers
321 views

\somepenalty=10000 vs. \somepenalty 10000 vs. \somepenalty10000

Replacing the equality symbol with a space below or omitting the symbol at all \documentclass{article} \pagestyle{empty} \usepackage{lipsum} \begin{document} \interlinepenalty=10000 % or \...
1
vote
0answers
14 views

Whitespace lost with fixme PDF margin notes (pdfcmargin)

When using the fixme package with pdfmargin layout a whitespace is lost. This minimal example \pdfoutput=1 \documentclass{article} \usepackage{fixme} \fxsetup{draft,layout=pdfmargin} \begin{document}...
0
votes
1answer
58 views

Wrap item with vertical margin

I have some cases where I will have an item in between two paragraphs. For example: Alfa bravo: \includegraphics{a.jpg} charlie delta: \begin{verbatim} echo foxtrot \end{verbatim} golf hotel the ...
1
vote
0answers
22 views

Spurious space using \path (wihout draw options) [duplicate]

I'm trying to extract coordinates from a named coordinate, then to use it for an additional drawings in the next code \documentclass[tikz, border=0.5]{standalone} \usepackage{tikz} \usepackage{...
0
votes
0answers
40 views

Large amount of whitespace between figure and text. Using vspace doesn't work

I have the following figure: \begin{figure}[t!] \centering \includegraphics[width = \columnwidth]{figures/fig.pdf} \caption{Caption} \label{fig:pipeline} \end{figure} There is a ...
0
votes
0answers
37 views

weird space between url and https, using \bibliography (bibtex)

currently, I'm preparing my references using \bibliography{mybibfile} and at the beginning, the URL was too long in my references. So, I found that I should use: \usepackage[hyphens]{url} \...
1
vote
0answers
58 views

Phantom does not work without protected keyword in xdef [duplicate]

I'm trying to align labels, but it seems that space has a different width then digits are. \documentclass[tikz, border=0.5]{standalone} \usepackage{tikz} \makeatletter \newcommand*\bigcdot{\...
0
votes
0answers
19 views

When using description/item, long item names add and extra empty line

When using description/item, long item names add and extra space. I would like to know if there is a way to remove the extra empty lines that appear after items named "This item name is longer than ...
2
votes
0answers
178 views

A valid alternative(s) to siunitx package [duplicate]

Although this question is very simple in the substance, I would like to ask it anyway. Visibly if I use the comma within the mathematical environment you can see a small space that I have underlined ...
1
vote
1answer
41 views

Undesirable empty spaces between rows while using longtable

I am using longtable which consist of 4 columns & 7 rows of reasonably consist of long sentences. The problem is that when one row was typeset it leaves more space on that page & prints the ...
4
votes
3answers
132 views

Increase the vertical space in a fraction

I intend to create a vertical space between the number 39 and the horizontal bar of the fraction, so as not to get crowded. How can I create the vertical space? \documentclass[a4paper,11pt]{book} \...
1
vote
0answers
104 views

How to remove the whitespace for this section in YAAC resume?

I am building up my CV in Latex using this cv format YAAC: Another Awesome CV. But the projects section in metadata class is creating whitespace and that makes my cv very weird. I have tried \...
1
vote
1answer
108 views

How to measure “whitespace” surrounding \textbullet?

There is a space on both sides of \textbullet as well as below it, and the space is actually part of the bullet itself. Does anyone have any idea how to measure it? I want to get rid of it by using ...
0
votes
1answer
1k views

How to remove white space after table and before new section?

Kindly please help me soon, I must submit my paper as soon as possible and still there is a problem and white space and though I used htp for table, my table come between the text! also, I've searched ...
1
vote
0answers
71 views

How to add white space to variables? [closed]

I use variables in math mode with subscripts before and after the variable name itself, like {}_{B}\vec{a}_{GP}^{} In case I have equations where these are multiplied, one cannot tell which ...