Skip to main content

Questions tagged [horizontal-spacing]

The tag has no usage guidance.

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

Column spacing when using multicolumn

Trying to make a binder plate for a report but one person has an excessively long title which is throwing off the spacing of the bottom rows. Ideally the logos and adresses would be the same size for ...
Will C's user avatar
  • 1
2 votes
1 answer
106 views

Should an array eat up an explicit \mskip at the end of a column if tabularx is loaded?

Consider \documentclass{article} \usepackage{tabularx} \begin{document} $ \begin{array}{ll} x \mskip100mu & x \end{array} $ \end{document} Before reading further, ask yourself, how far ...
AlMa1r's user avatar
  • 541
1 vote
1 answer
54 views

How to achieve wrapping align left+right and solve the spacing problem after emdash?

I’m currently working on a LaTeX document where I have defined a new command \entry that takes two arguments: \newcommand{\entry}[2]{\markboth{#1}{#1}\textbf{#1} — \hfill{#2}} where it is used in ...
swiftenjoyer's user avatar
1 vote
1 answer
58 views

Why this wrong horizontal spacing in mathmode?

I'm having a spacing glitch that I don't understand, while it should be obvious: \documentclass[12pt,letterpaper,twoside]{book} \usepackage{lmodern} \usepackage{amsmath} \begin{document} Blabla: ...
Cham's user avatar
  • 2,328
2 votes
1 answer
72 views

How to start my text within the align environment from the left margin of page without separating the equation line and text line?

I am writing a journal for publication and because of the page limit I have to write text within the equation line. Here is my code: \documentclass[final]{IEEEtran} \IEEEoverridecommandlockouts \...
Shashank Ranjan's user avatar
0 votes
1 answer
36 views

Problems with text alignment in paragraphs when creating a LaTeX template in RMarkdown

Although I have a lot of experience with R, I'm fairly new to LaTeX, and it's proving to be quite a challenge. I work as a biologist and my current project is to automate the creation of labels for ...
Nico Echarren's user avatar
4 votes
4 answers
326 views

Text beside horizontal line

This question is similar to this one. I also want to write some text beside horizontal lines. The difference is that the content of the cells are commutative diagrams. The solution provided by David ...
Luis Turcio's user avatar
  • 2,759
1 vote
2 answers
82 views

Space modified inside custom symbol

How come my custom \commonroot symbol gets "destroyed" when being used 1 level deeper in the nesting? MWE \documentclass{article} \usepackage{graphicx} \NewDocumentCommand{\lex}{>{\...
Vincent Krebs's user avatar
1 vote
1 answer
100 views

Why don't the BibTeX files care about the spacing after the abbreviation-terminating periods?

In the databases of DBLP, ACM, and Google, we can ask for a citation of a publication in the BibTeX format. Examples: DBLP: @article{DBLP:journals/ior/Dantzig02, author = {George B. Dantzig}, ...
AlMa1r's user avatar
  • 541
7 votes
2 answers
288 views

How to reduce the left-padding of a table cell?

I'm highlighting a table cell by shading it. However, the left-padding is exaggerated. How can I reduce that spacing, that leads to a larger grayed area on the left? \documentclass{memoir} \...
Anna's user avatar
  • 837
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
2 answers
98 views

Inside German abbreviations, how to set the penalty and the width of the internal space including the stretch and shrink attributes?

Continuing How to letter space (German) abbreviations automatically and http://tex.stackexchange.com/a/134856 , some of us tend to typeset a usual or a thin space in abbreviations and write, e.g., d.\@...
AlMa1r's user avatar
  • 541
-1 votes
1 answer
41 views

Any special care needed if a period inside an abbreviation is followed by a \hskip or a \hspace?

Let's assume that we wish to insert some kind of small space inside abbreviations such as i. e., e. g., d. h., z. B., a. C., d. C., и т. д., и т. п., … Above, I entered a hair space “ ” (U+200A). (...
AlMa1r's user avatar
  • 541
2 votes
0 answers
38 views

Spacing between tcolorboxes

I would like to make labels for printing but I would like to have bigger spacing (vertical and horizontal) between the labels. I'm working with tcolorboxes and here's my code : \documentclass[a4paper, ...
TexDuinoCpp's user avatar
0 votes
1 answer
31 views

Adjust horizontal space for 'inline' description*

I wanted to add an inline description as shown in the MWE. I noticed a bigger horizontal space between the optional argument and argument of \item. I've tried quite a view things like labelsep etc., ...
Konstantin Weigmann's user avatar
0 votes
0 answers
66 views

How to typeset deep and multi-page enumerations nicely and quickly?

Consider a mathematical proof with a long a nested case distinction spanning multiple pages: \documentclass{article} \pagestyle{empty} \usepackage{enumitem}%\setlistdepth{6}%% do we need this? \begin{...
AlMa1r's user avatar
  • 541
0 votes
1 answer
85 views

Spacing of a math formula defined by other math formula

I need to make sure that the spacing of some short math formula (like $x^2$) would take exactly the same spacing as some other a bit longer math formula (like $(x+1)^2-1$). The result should be $x^2$ ...
Robertas Vilkas's user avatar
0 votes
1 answer
64 views

Put text within equation centered

I want to put text between the two equations, but have no idea to make this better, which means that I want there is each space on the both sides of "or". The codes: \begin{align*} I = (0,...
Un petit mensonges's user avatar
3 votes
1 answer
161 views

Automatically Indent the Last Line of a Statement a Prescribed Amount

Consider the code, \documentclass[12pt]{book} \begin{document} \thispagestyle{empty} \large \noindent\textbf{How to Automatically Indent the Second Line of This Statement a Prescribed Amount---Say ...
DDS's user avatar
  • 9,768
1 vote
0 answers
32 views

Spacing Issues with Use of Abbrevs Package

Consider the code: \documentclass[12pt]{book} \usepackage{abbrevs} \begin{document} By 2100 \BC, almost universal corruption prevailed. \end{document} which produces QUESTION: How may I adjust (...
DDS's user avatar
  • 9,768
0 votes
1 answer
39 views

Decreasing left-margin horizontal spacing of child entry in glossaries-extra with alttree style

I am trying to change horizontal spacing in a glossary. More specifically, I am using glossaries-extra with bib2gls, using altree style; there are parent entries and child entries in the glossary; ...
Linear Christmas's user avatar
4 votes
1 answer
181 views

Horizontal spacing in math mode with \mathbb

Why? \documentclass{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} \usepackage{libertine} \usepackage[libertine]{newtxmath} \usepackage[scaled=.86]{...
17tmh's user avatar
  • 91
4 votes
2 answers
222 views

Center equation and make big and bold

When using: \begin{center}equation\end{center} The equation goes far to the right instead of being centred. Example: \documentclass{article} \usepackage{cancel} \usepackage[fleqn]{mathtools} \...
Nickotine's user avatar
  • 173
4 votes
3 answers
269 views

increase space between delimiter and adjacent column in matrix

Suppose I have the following simple matrix, constructed in the usual way using bmatrix: Anal-retentive editor asks if the spacing between the delimiter and the adjacent column can be increased for &...
Johnny Canuck's user avatar
0 votes
1 answer
43 views

How to Fix Spacing Between Item Number and Caption in List of Figures

Consider the code: \documentclass[12pt]{book} \usepackage{graphicx,caption} \usepackage[T1]{fontenc} % Allows one to make bold smallcaps. \usepackage{tocloft} \renewcommand{\listfigurename}{\LARGE\...
DDS's user avatar
  • 9,768
3 votes
2 answers
268 views

Remove horizontal spacing between \makebox and \dotfill

I want to present some information in a format which has a scenario described then dotfill to a right aligned result. If the scenario+result would fill the line, I want it to break to the next line ...
jw5801's user avatar
  • 157
1 vote
2 answers
42 views

horizontal space using subfloat

I'm trying to place three figure side by side, the problem is that I don't know how to reduce the horizontal space between the figures that I want to put equal to zero. \begin{figure}[!ht] \...
Adriano Del Vincio's user avatar
3 votes
2 answers
96 views

Extra horizontal spacing of zero width box

I would like to add a pair of gray quotation marks around the text without affecting the surrounded text. For this I tried to use \makebox with zero width. However, I was still getting: To my ...
Jinwen's user avatar
  • 8,618
0 votes
1 answer
90 views

On Scaling Horizontal Spacing Commands

Many horizontal spacing commands are of course, found in What commands are there for horizontal spacing?. I would like to inquire if, say, invoking the \enspace command, which produces a space of .5em,...
DDS's user avatar
  • 9,768
0 votes
0 answers
80 views

With svmono, how to introduce more horizontal space between a theorem head and the theorem contents without occasionally introducing vertical space?

Continuing http://topanswers.xyz/tex?q=3768 , for all the theorem-like environments in our document, we wish to have a little bit more horizontal space (than the default space) separating the head of ...
user avatar
0 votes
1 answer
51 views

svmono: introduce more horizontal space between a user-given theorem name and the theorem contents without occasionally introducing vertical space?

Continuing How to suppress vertical space between theorem heads and enumitem environments? (as opposed to them, we use a Springer class here), for all the titled theorem-like environments in our ...
user avatar
1 vote
0 answers
55 views

Horizontal spacing before and after inline math mode with custom font

I'm using EB Garamond with text and math. The problem is that inline math expressions seem to be way too close to the normal text, like the font hasn't been configured correctly. I'm looking to fix ...
SFDK's user avatar
  • 11
11 votes
1 answer
582 views

Don't stress yourself: relax in skips in math and text modes

Relax and exhale I'm accustomed to seeing \relax at the end of many macros. Often, I don't understand the rationale; sometimes the placement seems more or less arbitrary to me. For example, computing ...
user avatar
1 vote
0 answers
34 views

How to automatically create an appropriate amount of horizontal space between a title and a page number in the table of contents when using svmono?

Feeding \documentclass[deutsch]{svmono}% taken from https://resource-cms.springernature.com/springer-cms/rest/v1/content/20566/data/monographs \usepackage[T1]{fontenc} \usepackage[ngerman]{babel} \...
user avatar
3 votes
1 answer
105 views

\mathord{\gls{relationSymbol}} doesn't kill the space preceding the relation symbol if hyperoutside is false

Feeding \documentclass{article} \pagestyle{empty} \usepackage[makeindex,toc,nogroupskip,nomain]{glossaries-extra} \newglossary[nlg]{notation}{not}{ntn}{Symbols} %%% See http://tex.stackexchange.com/...
user avatar
1 vote
2 answers
66 views

Items of an Enumerate Environment in Paragraph with Adjustable Gaps

Consider the code \documentclass{book} \begin{document} \parindent 0pt \begin{enumerate} \item[I.] The first item. \item[II.] The second item. \item[III.] The third item. \end{enumerate} \vspace{15pt} ...
DDS's user avatar
  • 9,768