Questions tagged [white-space]
The white-space tag has no usage guidance.
282
questions
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: "...
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
\...
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 ...
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{...
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 ...
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....
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 ...
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]
\...
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 ...
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]{...
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 ...
1
vote
1
answer
35
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 \...
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 ...
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 ...
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 ...