Questions tagged [white-space]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
40 views

Too much white space before and after the equation when align and split used together

I have the following latex code: Applying Euler-Maruyama with step size $\tau>0$, we obtain the iteration scheme of $w_k$ and $P_k$: \begin{align*} \begin{split} & w_{k+1} = w_k + \tau P_k,\...
melatonin15's user avatar
0 votes
0 answers
17 views

Adding SVG White Space

The questions I have seen similar to this have been about removing white space from SVGs, but I would like to keep mine. I have a 3x3 grid of SVGs. Each has the same viewBox dimensions. However, ...
pdeqx's user avatar
  • 1
1 vote
1 answer
72 views

Why biblatex sets the space factor fo the period to 1006?

Runnin pdflatex and biber in a loop on \documentclass{article} \pagestyle{empty} \usepackage[backend=biber]{biblatex} \begin{filecontents}[overwrite]{mwe.bib} @article{Test, author = {{The ...
AlMa1r's user avatar
  • 329
4 votes
1 answer
144 views

\phantom not giving correct space?

The code \begin{alignat*}{2} d\bigl(x^{(j)}_j, x^{(i)}_i\bigr) & \le d\bigl(x^{(j)}_j, x^{(i)}_j\bigr) + d\bigl(x^{(i)}_j, x^{(i)}_i\bigr)\\ & < d\bigl(x^{(j)}_j, x^{(j)}_k\bigr) + ...
Atom's user avatar
  • 665
5 votes
1 answer
370 views

Extra Spacing After "s.t."

Whenever I type "s.t." in my paper, there is always extra space after it. It also has this wierd thing when I highlight that extra space, it highlight through some random point in my paper. ...
Everett Holbrook's user avatar
0 votes
1 answer
18 views

I want to remove white space between first \resumeitem and second \resumeSubheadingas highlighted with black arrow

\resumeSubheading {Lahore University of Management Sciences (LUMS)}{} {Undergraduate Teaching Assistant $\mid$ \textnormal{Probability}}{\textnormal{Sept. 2022 -- Dec. 2022}} \...
ark's user avatar
  • 1
2 votes
1 answer
44 views

Are the space and the control space different with respect to stretch and shrink?

Feeding \documentclass{article} \showoutput \begin{document}\noindent A B\\ A\ B\\ A\hskip\fontdimen2\font plus\fontdimen3\font minus\fontdimen4\font B \end{document} to latex yields thrice the same “...
AlMa1r's user avatar
  • 329
0 votes
1 answer
31 views

lyx/latex adds the space symbol (␣) in the generated pdf file when importing some python code

I'm writing a document with lyx and I discovered that for a particular piece of python code, the pdf generated by lyx contains the "␣" instead of a space. Here the code: \documentclass[...
devnull's user avatar
5 votes
2 answers
153 views

White space and double align inside an align environment

I would like to vertically align two separate equations on the same line using the align environment. My code is given below. \begin{align*} (3x+4)(x-3)=0 \implies 3x-4&=0 \quad \text{or} \quad &...
Bell's user avatar
  • 199
1 vote
1 answer
43 views

Remove the gap between a table heading and row

I want to remove the space between the languages and the proficiency levels. This was generated using a tabular component and I'm having trouble removing the large whitespace between the headings and ...
Mark Pampuch's user avatar
1 vote
1 answer
62 views

Huge white space problem after Solidity code: Package xcolor warning: Incompatible color definition on input line 73. Infinite glue shrinkage

I was using the Xcolor package in my latex document, but then I commented and even removed it, but I am still getting the Xcolor problem. I think its stored in the binary version of my document. Now I ...
user2994783's user avatar
1 vote
0 answers
43 views

White space above and below images using two columns

So I'm writing an article using the "LaTeX Templates Journal Article", and I seem to have trouble getting my white space above and below figures under control. I have tried redefining the ...
NooCh's user avatar
  • 11
1 vote
1 answer
29 views

How to remove white space in the right of table

I am new to making table in latex and I am not sure how to fix this white space in the right of the table. Any help would be appreciated. I am using the following code: \documentclass{article} \...
melatonin15's user avatar
1 vote
0 answers
31 views

Whitespace appearing after first figure and before text but not after second figure and before text [duplicate]

I am using the twosided book document class, and I am trying to place two figures with text after each figure. I am noticing that after the first figure, the text is placed at the bottom of the page ...
Charlie Chen's user avatar
4 votes
1 answer
142 views

Unwanted horizontal space with Cref command from cleveref and amsthm

I have a problem with the presence of an unwanted space when I use amsthm and cleveref. The following is a MWE that highlights the issue. \documentclass{article} \usepackage[english]{babel} \...
Kolmin's user avatar
  • 559
0 votes
1 answer
49 views

QR code that contains a Windows Document Path

in my LaTeX document, I need several QR codes in various places. The QR codes should contain file paths in the form of Z:\01 Customer\Projectname A\04 Picture. I intended to define the paths as a new ...
Christian's user avatar
0 votes
1 answer
40 views

Reduce vertical space between acronyms in printed glossary

I would like to reduce the whitespace between the acronyms in a printed glossary. In the below example, there is a lot of whitespace between "DD domain decomposition" and "PDE partial ...
Jared Frazier's user avatar
0 votes
0 answers
41 views

LaTeX - How to make generated pdf properly copyable and keep the newlines?

The situation: I'm trying to generate my resume with Latex, and get a pdf with all the text - no problems here. When I copy all of this text into a plain .txt file though, the formatting transforms ...
terrortinus's user avatar
2 votes
1 answer
179 views

LuaLaTeX adds spaces between glyphs of a font, while XeLaTeX does not

Using the IM Fell Type Fonts I ran into a problem with my document: With these fonts, the generated pdf will have additional, superfluous spaces between glyphs when compiled with LuaLaTeX. (I also ...
Wraith of Seth's user avatar
0 votes
0 answers
33 views

Command with a condition adds white space when written with indentations [duplicate]

I have a command that returns a different word according to a predefined value. \def\isPaper{0} ... \newcommand{\paper}{ \begingroup \def\True{1} \ifx\True\isPaper ...
SIMEL's user avatar
  • 185
0 votes
0 answers
25 views

Trouble using multicols and figures

I'm just learning LaTeX and experimenting with multicol and figures. Firstly I was wondering if there is a better way of inserting a wide figure than what I have been doing where I enter and exit the ...
007Funk's user avatar
1 vote
2 answers
26 views

How to max out a table within a cell of a bigger table

the following tex code creates a 3x3 table, where each of the first two rows are merged into one cell. Each of the first two rows is populated by another 3x3 table. I'm struggling because of ...
John Kim's user avatar
0 votes
1 answer
280 views

How to correctly separate paragraphs with a blank line

I want to end a paragraph with a blank line and start a new paragraph. When I use first paragraph\\ second paragraph I get an underfull hbox error. When I use first paragraph\par second paragraph ...
stimulate's user avatar
  • 107
1 vote
0 answers
61 views

Lots of Unnecessary White Space

EDIT: I have a smaller MWE. I have a document that has lots of footnotes. These footnotes——I believe——have caused unnecessary white space and have made the document quite ugly. Is there a way to get ...
ceramicquasar88's user avatar
2 votes
1 answer
38 views

Why is there extra white space at bottom of page when using xtab and multicol?

Below is my MWE. As seen when complied and on the PDF there is seemingly a large amount of white space on the bottom but not on the top. I have searched around to try and find an answer but as of yet, ...
Harry Spratt's user avatar
3 votes
1 answer
87 views

How to define a macro with correct spacing around it depending on context?

I want to define a simple macro that will be used in math mode formulae. The macro represents a mathematical relation. The way the relation is displayed (boldface etc) is not important. What matters ...
st01's user avatar
  • 569
3 votes
1 answer
57 views

Why does space matter while error-handling in plain TeX?

Following Chapter 6 of The TeXbook, I analyze the errors in the story.tex file containing \errorcontextlines=0 in the beginning, and an erroneous control sequence: \centerline{\bf A SHORT \ERROR STORY}...
Atom's user avatar
  • 665
1 vote
1 answer
42 views

How to prevent wrapping on a space character?

I am creating a list of special characters used for delimitation in my work. "-","_"," " are delimiters But the latex code is wrapping on " " "-",&...
Sven Voigt's user avatar
1 vote
1 answer
42 views

How to set the whitespace between sections to exactly 4 lines?

I am using the book standard class to typeset a two-sided fiction book with chapters and numbered scenes. For the chapter titles, I use the environment “Chapter” and for the scene titles, the ...
Eaglechild's user avatar
0 votes
0 answers
78 views

What is a `\quad`, in plain English? [duplicate]

Thanks to this excellent answer, we know that quad is sub-sequence of a European phrase spazio quadratone. However, what is a \quad in plain English, for those learning LaTeX for the first time?
IdleCustard's user avatar
1 vote
1 answer
83 views

What is an entire English sentence for `\qquad` [duplicate]

An entire English sentence for \dfrac might be as follows: "insert a display mode fraction" Note that dfrac is a sub-sequence of "insert a Display mode FRACtion" What is an ...
IdleCustard's user avatar
0 votes
0 answers
26 views

Weird content spacing in subsection in multicolumn document

I'm trying to get rid of the white spacing in the left column (mainly the white spacing depicted with the blue lines) to move the subsection title 4.4 to the left bottom page - see problem sketch. I ...
Hadishu's user avatar
0 votes
0 answers
24 views

\newenvironment: how to suppress leading space in environment content? [duplicate]

I'm trying to define a new LaTeX environment that takes several arguments, the intention being to typeset the arguments in a fixed manner, followed by some ordinary paragraphs of text. My problem is ...
Robert L's user avatar
1 vote
2 answers
49 views

Reduce white spacing before a SINGLE chapter heading in memoir class

I am using memoir document class. I wanted to decrease the space preceding my chapter headings, and I want to do it individually because I do not want to decrease white space before other headings (...
FueledByPizza's user avatar
1 vote
1 answer
82 views

Trimming common leading whitespace in an environment

I have an executable that performs semantic highlighting of files containing literate code. It outputs a .tex file that I can source snippets from using catchfilebetweentags. One issue I am facing is ...
gallais's user avatar
  • 195
0 votes
0 answers
14 views

Tikzpicture path creating a lot of whitespace [duplicate]

This code \documentclas{article} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage{tikz} \begin{document} \begin{figure} \centering \resizebox{.5\textwidth}{!}{ \fbox{ \...
J. Dionisio's user avatar
1 vote
1 answer
30 views

Undesired Whitespace Between Start of Subsection and Start of Text

After changing my margin size from 1in to 0.5in, an large bit of whitespace apppeared after the title for the first section of my article. How can I prevent this large amount of whitespace from ...
Daniel Lobo's user avatar
0 votes
2 answers
61 views

\ignorespaces does not work inside \ul

I am trying to write a document template in which the necessary text would be set using \def at the beginning, and then used in the text. And I ran into the problem that if there are spaces in the ...
Alexey Ismagilov's user avatar
2 votes
1 answer
39 views

Why does tikz's positioning library add whitespace on the left side of my diagram? [duplicate]

Why does tikz's positioning library add whitespace on the left side of my diagram? With positioning: \documentclass[border=1mm]{standalone} \usepackage{tikz} \begin{document} \pagecolor{white} \...
Jason S's user avatar
  • 2,774
0 votes
1 answer
54 views

Reduce white space between top of page and Chapter, Bibliography and Appendix head titles in report class?

Due to default setting of report class, there is white space between top of page and TOC, LOT, LOF, Chapter, Bibliography and Appendix head titles and I wish to reduce this space. I successfully ...
Shahmeer's user avatar
1 vote
1 answer
51 views

Grid of table ist not as it should be in tabular environment...how to get rid of white space within lines?

I'd like to ask a question concerning tables in LATEX. I produced a table with LATEX, but the grid is not "closed"...see for example the corner on the top right and also some other lines in ...
Bernhard Boehmler's user avatar
0 votes
0 answers
45 views

Weird spaces in latex while using \section and \subsection

I have this very weird behave with latex, by adding \subsection or \section it always gives me a huge blank space between 2 questions without adding any \new... Here pictures : Image 1: : VS image 2 ...
Zokulko's user avatar
  • 131
5 votes
4 answers
345 views

strlen in TeX Language

Trying to implement a simple algorithms in TeX language, I've tried to implement a string length function (potentially a token counter function). I know spacing in TeX engine has a different mean from ...
Daniel Bandeira's user avatar
0 votes
1 answer
83 views

IEEEtran - Whitespace before first author

How do I remove a whitespace which is before the first author of my authorblock? I thought it was some kind of indentation, but I haven't managed to remove it. Here is the code I'm using: \...
noinsanc23's user avatar
0 votes
1 answer
72 views

Can you standarize the whitespaces of the source code?

I want to know if there is a option to set all the whitespaces in my source code. The whitespaces in my CPP code do not look uniform. Sometimes I leave a space before and after the = sign, sometimes I ...
Maroon Racoon's user avatar
-1 votes
1 answer
66 views

Replacing during compilation all spaces with ``{\textcolor{white}{i}} + space''

How can I replace, during compilation, all the white spaces of my document, except in the frontmatter and the bibliography, by \textcolor{white}{i} + <a white space> Here is a MWE to work on. \...
rasha's user avatar
  • 704
1 vote
1 answer
198 views

Beamer left margin setting does not remove whitespace

Using beamer, I am widening block size by 1.05X to get more text inside, using the command \usepackage{changepage} \addtobeamertemplate{block begin}{% \setlength{\textwidth}{1.05\textwidth} ...
wjktrs's user avatar
  • 113
0 votes
1 answer
156 views

how to fill up white spaces in wrapfigure with subfigures

I have the following page where I want to fill up the white space (red drawings) with the paragraph. There is already a post and solution here: which is very cumbersome where I may have to change all ...
banikr's user avatar
  • 17
1 vote
1 answer
53 views

Adjust space in front of opening bracket

How can I globally reduce the space in front of the opening bracket, i.e. between M and [? I have to set the brackets with \left[ and \right]. I know that I individually can insert a negative space by ...
granular_bastard's user avatar
2 votes
1 answer
65 views

Why is there a space behind a character created by the \symbol command? [duplicate]

I defined the following simple macro: \def\greek#1{ \symbol{\numexpr"03B0+#1} } This is supposed to convert numbers into greek characters for numbering purposes (so 1 becomes α, 2 becomes β etc.)...
DLCom's user avatar
  • 183

1
2 3 4 5 6