Skip to main content

Questions tagged [white-space]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
2 answers
64 views

Spaces removed in class option via l3keys

I define a class kv-option via l3keys, as example I use title. If I want to set the title via \documentclass[title = {My first title}]{Testing} it works but whitespaces are removed (Result: "...
Dave's user avatar
  • 327
1 vote
1 answer
39 views

Adding Text to the White Space of a Cropped Image

Consider the code: \documentclass{book} \usepackage{pstricks} \usepackage{graphicx} \usepackage[active,tightpage]{preview} \PreviewEnvironment{pspicture} % Paddings. \PreviewBorder=1cm\relax \...
DDS's user avatar
  • 9,768
0 votes
1 answer
26 views

Remove newline from input

Is there a way to remove a single newline character from an input? Something like this \edef\test{\removenl{ Hello World % }} % \test should have ` Hello World ` Context: Consider a file.txt that ...
Tohiko's user avatar
  • 1,833
1 vote
1 answer
52 views

ebproof Proof Trees: Side conditions overlapping

I am using the ebproof package to make derivation trees for inference rules. These rules have premises above the judgement, and side conditions on the left: To generate this, I use: \begin{...
M. Salman Khan's user avatar
5 votes
2 answers
287 views

Has the handling of whitespace by \alltt changed recently (i.e. since 2021)?

after moving to a new computer (and installing a current (2024) texlive system), I noticed that the layout in my document was messed up in several places. After some experimenting, it turned out that ...
Jan's user avatar
  • 367
0 votes
0 answers
44 views

Wrapfigure not showing image

I have used wrapfigure before with no issues. But this time it just creates the space where the image should be shown. But this one time it only shows me a blank space where the image should be placed....
ItsPjotr's user avatar
0 votes
2 answers
43 views

Whitespace beneath wrapfig

I am using wrapfig to have text cleanly flow around an image. I have a block of text with an image to the right, then a fillwithlines followed by more text. I cannot get the second block of text to ...
sideways8's user avatar
0 votes
1 answer
40 views

Is there an option, within tabularx, to add a vertical whitespace both above and below the table?

Is there an option within tabularx to add a vertical whitespace both above and below the table? \documentclass{article} \usepackage{tabularx} \usepackage{lipsum} \begin{document} \lipsum[1] \...
Ommo's user avatar
  • 849
0 votes
0 answers
37 views

Longtblr does not break properly and leaves whitespace

How to make longtblr break properly and automatically, without leaving whitespace at the bottom of the page? In other words, I would like that the text arrives to the bottom of the page, and after ...
Ommo's user avatar
  • 849
0 votes
1 answer
33 views

Add a variable to longtblr, representing a vertical distance

This is a follow-up question to Add a long text in a longtblr spanning the entire width of the table. Given the following table (a longtblr): \documentclass{article} \usepackage[a4paper,margin=1mm]{...
Ommo's user avatar
  • 849
0 votes
1 answer
33 views

How do I align two rows of characters inside a tikzpicture node, when the second line contains mainly whitespace?

I'm using tikzpicture to draw diagrams/flowcharts in my dissertation and I have encountered an alignment problem inside a node. The node contains two rows, the top row is the variable names and the ...
Michelle's user avatar
  • 551
1 vote
1 answer
34 views

"\vspace" not working in a 2-column document created with "paracol" [duplicate]

In the following MWE, I have a 2-column document (created with paracol) where I tried to add both: a vertical whitespace between the top margin and the "Header", which worked by using \...
Ommo's user avatar
  • 849
1 vote
2 answers
40 views

How to align the flags (from \worldflag) to the text within a table (and, consequently, remove the resulting whitespace from the table cells)

In the following example, it looks like that the \worldflag command pushes the flags to the top of the table cells, creating some vertical whitespace. How to vertically align the flags to the text ...
Ommo's user avatar
  • 849
1 vote
1 answer
40 views

How to remove top and bottom whitespace of longtblr?

Similarly to How to remove top and bottom whitespace of longtable?, I would like to know how to remove top and bottom whitespace of longtblr, i.e. the whitespace between the text (both before and ...
Ommo's user avatar
  • 849
0 votes
2 answers
70 views

Add spaces between letters of a word

In xelatex or lualatex, how can I get pararaphs to stretch words with tiny spaces within words as the last resort of typesetting? It seems that everyone just wants tiny little hspace of fixed size ...
Tad Pole's user avatar
2 votes
1 answer
155 views

babel+newtx+superiours+stmaryrd+LS1+LS2+biblatex+biber+\cite+\mathsf+\mathit+\mathbf+\printbibliography = swallowed space after math mode

Running pdflatex+biber in a loop till stabilization on \documentclass[USenglish]{article} \pagestyle{empty}% only to omit the page number \usepackage{babel} \usepackage{newtx} \usepackage{superiors} \...
AlMa1r's user avatar
  • 541
0 votes
1 answer
54 views

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

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
42 views

Adding SVG White Space [duplicate]

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
75 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
  • 541
4 votes
1 answer
179 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
390 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
23 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
45 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
  • 541
0 votes
1 answer
32 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
160 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
57 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
80 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
60 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
35 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
158 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
  • 569
0 votes
1 answer
51 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
66 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
44 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
190 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
27 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
30 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
489 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 ...
simulate's user avatar
  • 107
1 vote
0 answers
68 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
48 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
94 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
61 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
44 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
43 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
1 vote
1 answer
107 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
  • 1,250
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
58 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
103 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

1
2 3 4 5 6