Questions tagged [white-space]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
47 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
56 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
35 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
22 views

Blank space left about litemized 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{...
5
votes
3answers
297 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
12 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
48 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
20 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
34 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
20 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
55 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
16 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
84 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
29 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 ...
0
votes
0answers
16 views

Reduce Space Between Graphs in LaTeX Multicolumn and Only Post One Group of Images at Top of Each Page

So i'm creating an academic paper using usenix format - https://www.usenix.org/conferences/author-resources/paper-templates, with 2 columns and i would like these 2 lines of graphs to be at the top ...
3
votes
3answers
89 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} \...
0
votes
0answers
46 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
84 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
59 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
67 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 ...
3
votes
4answers
139 views

Whitespace characters

I am defining a command that uses an subscript somewhere. I want the subscript to dissappear when I leave its corresponding command-input open, but then LaTeX will trow an error since no character was ...
0
votes
1answer
41 views

how to break line \mychapter on page but not in toc

how to line break this \mychapter? if i use \chapter i can break line using \chapter[line 1 line 2]{line 1 \\ line 2} \documentclass{report} \newcommand{\mychapter}[2]{ \setcounter{chapter}{#1} ...
1
vote
1answer
24 views

adding space upper and down Image

I have more sequences of the image with the text between there, from this post I resolve the problem of the withe space but now I have too a little space from the image. I want to add the space upper ...
0
votes
0answers
35 views

Removing white space in LyX from table

I am using LyX and am trying to fit a table in the an A4 size. I have managed to get the table in landscape however I am not sure how I can make it in the centre. I already have tried using the ...
2
votes
1answer
37 views

Unwanted white space on left side of Tikz Picture

I am trying to recreate this: This is what I have so far: You might not be able to tell from this image, but there is some white space to the left of the picture, and I'm not sure why. I was ...
2
votes
1answer
27 views

How to add a non-breaking space after “ed. by” in BibLaTeX?

I tried this: \DefineBibliographyStrings{english}{% byeditor={ed.~by\penalty10000}, } but it didn't work. Any other ideas?
4
votes
1answer
82 views

TikZ Overlay: Inject content at the start of the next paragraph?

Problem Statement I'd like to conditionally add a TikZ overlay at the start of some paragraphs or figures. In this example (see code below), I'd like to conditionally insert red boxes around the ...
1
vote
1answer
53 views

Latex only letting me put 3 subsection per page, then the numbering starts pilling up unless I add a new page

I´m trying to make some specifications fit on one page, but the \subsection{} command keeps messing things up unless I create a \newpage. I'm using overleaf. When I do this: \documentclass[11pt, ...
0
votes
1answer
83 views

Remove blank page at the beginning of document

*Edited from original post to provide minimal working example as otherwise the question is useless as pointed out in the comments. I'm trying to create a simple A4 page document with a figure (a tikz ...
5
votes
2answers
72 views

Shift children and subtrees horizontally in forest

I am trying to draw a tree diagram with forest package. In order to have the diagram fitting within the page margins, I moved down the subtree of NastranBulkData object, as you can see from the image. ...
0
votes
1answer
74 views

Why does this scientific journal's LaTeX article template compile correctly on Ubuntu, but not on Windows?

I downloaded the "LaTeX article template" from this page: https://www.rsc.org/journals-books-databases/journal-authors-reviewers/author-tools-services/ I use Ubuntu, but am collaborating with someone ...
1
vote
1answer
69 views

Change the size of spaces between words in TikZ environment

I tried to change size of spaces between all words (inter word spacing) in a TikZ node but it seems not working. Anyone knows another approach that could work? \documentclass[12pt]{article} \...
3
votes
0answers
40 views

How to preserve trailing blank lines in lstinputlisting with linerange option?

Here is my code in foo.tex: \documentclass{article} \usepackage{listings} \begin{document} \lstinputlisting[linerange={1-2,7}]{foo.tex} \end{document} This code in foo.tex reads itself and ...
2
votes
1answer
58 views

Make xparse not gobble end of line character on optional argument

When using xparse to define a new environment with an optional argument O{}, the first end of line character is gobbled as can be seen in the following example document: \documentclass{article} \...
0
votes
1answer
66 views

TexWorks XeLaTex section/paragraph word count

I realize this question has been asked a often, but as I do not have admin rights on my PC (i.e. no way to install pearl) and find copy-pasting text to word or elsewhere annoying, I hope I can find ...
4
votes
1answer
82 views

TikZ: How to avoid white space when using “seam allowance”?

Assumed we have this very simple Minimum Working Example (MWE) to draw a straight line: \documentclass[tikz]{standalone} \usetikzlibrary{intersections,decorations.pathmorphing} \begin{document} \...
1
vote
0answers
49 views

Automatic insertion of random art to minimize white space?

Are there any packages or tricks for automatically inserting random flourishes or clip art to fill up white space or otherwise ameliorate vertical badness (if that's the right term)? If not, would it ...
-1
votes
1answer
144 views

How to reduce whitespace on Twenty Seconds Resume

I'm just curious if there is any way to reduce the amount of white space between the gray rectangular section (drawn using tikz) and the text to the right in the Twenty Seconds Resume format found ...
1
vote
2answers
62 views

Squish 3 images together horizontally

I have three graphs together on a page: \documentclass[a4paper, 12pt]{article} \usepackage{ifpdf} \usepackage[latin1]{inputenc} \usepackage[margin=2cm, left=2cm, top = 1.7cm, bottom=1.7cm]{geometry} ...
0
votes
0answers
45 views

How to remove extra space between sectioning and text in TEX

I'm currently writing my final project report, while inputting all chapters in one main file only the second chapter adds some extra spacing between the section, subsection... and the text and ...
0
votes
0answers
55 views

Why does \hat{} create whitespace following its appearance with tex4ht?

I noticed that in the html output from a tex4ht run, there are spaces after the \hat{}. However, in the dvips output, there are no spaces. Is there a workaround for this? My guess is there needs ...
2
votes
1answer
104 views

Leaving Whitespace for Hidden Text, Math, and Figures

I have used a variety of commands to hide answers to questions in documents. I use a boolean to to determine whether the material should be hidden, i.e. hideans True then hide, hideans False then don'...
1
vote
1answer
62 views

\hfill -like command in the middle of a paragraph

I want to align the contents of a paragraph such that it is justified, BUT the white space at the end of the paragraph (on the last line) is moved inside the paragraph at a place where a \hfill-like ...
0
votes
0answers
29 views

No whitespace between name and year in Bibliography when one author

I am getting no whitespace between the author and year in my bibliography when there is only one author. This does not happen when there are more than one authors. Is there any way to fix this? ...
2
votes
1answer
158 views

How to control white-space dimensions around author block with authblk and geometry?

I am trying to control the white-space dimensions around my author block using authblk and geometry. How can I control the distance between the top margin and the title, the title and the author list,...
1
vote
1answer
42 views

How to reduce white space around floats to prevent them from taking an entire column

I have a two column document that features a couple of high aspect ratio (tall) floats which, including the caption, take up more than half, but not a full column. When I compile Latex always seems ...
0
votes
1answer
36 views

TikZ: Inexplicable whitespace when predefining shapes

Assumed we want to predefine some shapes for later usage in a TikZ-picture. Minimum Working Example (MWE): \documentclass{standalone} \usepackage{tikz} \begin{document} \def\testone#1#2{ ...
0
votes
1answer
43 views

pagenote converts spaces to newlines and breaks verbatim typesetting

I want to typeset verbatim end notes (using minted). Unfortunately pagenote converts all spaces in my page notes into newlines, as the following minimal example shows: \documentclass{memoir} \...
4
votes
1answer
114 views

Japanese quotation marks do not display as full-width

When I use Japanese quotation marks at the start of a line, the whitespace at the beginning of the character seems to get cut off, moving the quotation mark half a space forward. This puts the text ...
1
vote
1answer
32 views

Citation on first line causes whitespace indent

tex code: \documentclass[a4paper,12pt]{article} \usepackage{cite} \setlength\parindent{0pt} \begin{document} \section*{First Chapter} \cite{naiveset} First line. \newline \cite{knuthwebsite} Second ...