Questions tagged [horizontal]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
6 votes
1 answer
320 views

Why are there two commands \> and \: that do the same thing?

The file latex.ltx says: \DeclareRobustCommand\:{\tmspace+\medmuskip{.2222em}} \let\>=\: Why are there two equally long commands \> and \: doing exactly the same thing? To me, they look ...
user avatar
0 votes
0 answers
15 views

Optimize size of graphs & Reduce horizontal space between graphs

I want to put two graphs in pdf format next to each other in one row and the graphs next to each other in the row below. I have managed to reduce the vertical space between the two rows but I do not ...
user avatar
  • 1
0 votes
1 answer
47 views

Why does align character & remove horizontal space?

This is something I've been wondering and annoyed about for a long time but cannot find an answer to. Assume that I have a chain of equations: \begin{align*} a &= b \\ &= c \end{...
user avatar
1 vote
1 answer
28 views

nudge caption left or right along with figure or table?

I periodically need/want to slightly 'nudge' the placement of a figure, or table, to slightly off-centre (xx em to the left, or xx em to the right). This is easy enough with \hspace{xxem} as shown in ...
user avatar
1 vote
1 answer
55 views

How to Redefine the fbox Command to Increase the Default Space Between It and the Beginning of the Subsequent Sentence

Here is a MWE that displays the use of the \fbox command in multiple paragraphs: \documentclass{book} \usepackage{lipsum} \usepackage{xcolor} \begin{document} \parskip 10pt \Large {\color{red}{\...
user avatar
3 votes
2 answers
61 views

width of a control space in relation to a quad, thin, medium, and thick spaces

In the majority of fonts such as Computer Modern, NewTX Math, or TeX Gyre Termes Math, how wide is the control space \ (visibly: \␣) in relation to the other math-mode space commands \quad, \;, \&...
user avatar
0 votes
1 answer
24 views

How to insert references in horizontal mode?

I am defining an exercise environment as follows: \newtheorem{aufg}{Exercise} \newenvironment{aufgabe}[2] % #1: Anzahl der Punkte, #2: Anzahl der Karozeilen unter der Aufgabenstellung {\setcounter{...
user avatar
  • 51
0 votes
1 answer
15 views

How do you make the caption in a Figure fill horizontally?

I have a tex for rendering a figure below, in which the figure caption has text which is not filling the page horizontally. \begin{figure} \centering \includegraphics[scale=0.30]{image} \\ \flushleft \...
user avatar
2 votes
1 answer
124 views

Automatic split rows in a table of data

So I was trying to contain some data I collected during an experiment in a table. There are 25 entries in total, but each row can only contain around 13 entries, which means I have to split them into ...
user avatar
3 votes
3 answers
156 views

Wide landscape tabular doesn't fit

So I'm making this table for a assignment at school but it didn't fit. After making it use landscape it still cuts off at the sides. Is there some way I can let it continue on another page or make ...
user avatar
2 votes
2 answers
71 views

Horizontal and vertical lines in a table

I'm having a problem with horizontal lines, \multicolumn and \cdashline. As you can see in my MWE, I use \multicolumn to put section headings which I close by \cdashline but the vertical lines don't ...
user avatar
0 votes
0 answers
33 views

Multiple horizontally stacked side-by-side listings

I am using acmart. They define a full-text (two-column) listing environment listing*. If I put multiple minteds inside it, they are stacked vertically. I would like to have them side-by-side. Is that ...
user avatar
  • 141
3 votes
2 answers
128 views

Are the Packages etoolbox and scrextend Incompatible? (Trying to Increase Horizontal Space Between Bold Footnotemarks and Their Text)

This question is an extension of How to Make Bold the Footnotemarks Appearing After the Footnote Line Starting with the code from Werner's excellent answer which makes bold the footnotemarks after ...
user avatar
1 vote
0 answers
40 views

I'm looking for general code to get labels the same orthogonal distance from their lines in a forest probability tree

I've got this: \documentclass{article} \usepackage{forest,tikz} \forestset{ ptree/.style={ for tree={ grow'=east, %grow' reverses direction of reading...for horizontal to the ...
user avatar
1 vote
1 answer
69 views

how to reduce horizontal space between figures in tabular

I'm using this code \begin{figure}[ht] \begin{tabular}{ll} % after \\: \hline or \cline{col1-col2} \cline{col3-col4} ... \includegraphics[trim = {3.32cm 10.61cm 3.32cm 10.61cm},clip,width=...
user avatar
1 vote
1 answer
59 views

long table problems with horizontal line

Hi all I want to produce long table so I wrote this code: \documentclass[a4paper,11pt,english]{report} \usepackage{longtable} \usepackage{multirow} \usepackage{graphicx} \usepackage[table,xcdraw]{...
user avatar
  • 327
2 votes
1 answer
61 views

How to Realign a Horizontal Stack with the Above Item

Consider the MWE \documentclass{article} \textheight 8.25in \textwidth 4.75in \usepackage{scalefnt} \usepackage{amsmath,amssymb} %\blacksquare\hspace*{.7em} \usepackage{stackengine,xcolor,lipsum} \...
user avatar
  • 4,871
1 vote
1 answer
47 views

Horizontal spacing in document class book

Here is my document from the beginning: \documentclass[11pt, openany]{book} \usepackage[utf8]{inputenc} \usepackage[a4paper, margin=1in]{geometry} \usepackage[T1]{fontenc} \usepackage{lmodern} \...
user avatar
  • 353
1 vote
0 answers
38 views

Are Lettrines Incompatible with the Adjustwidth Environment? [duplicate]

Consider the following code. \documentclass{book} \usepackage{lipsum} \usepackage{changepage} % for adjustwidth environment \usepackage{lettrine} \usepackage{xcolor} \begin{document} \noindent \...
user avatar
  • 4,871
3 votes
2 answers
85 views

Why \hskip and \hspace* Produce Shifts of Different Measures

I have noticed, for example, that \hskip 20pt and hspace*{20pt} produce horizontal shifts not of the same length. Consider, for instance, \documentclass{book} \usepackage{lipsum} \usepackage{graphicx} ...
user avatar
  • 4,871
0 votes
1 answer
61 views

Table of contents in a tabular environment - how to align horizontal lines between entries?

Problem: I am trying to put a table of contents into a table so that an agenda tick list can be automatically generated from sections/subsections titles that have been defined in another file. ...
user avatar
2 votes
1 answer
37 views

Double Align in Side to Side equations

I want to align two equations side to side. In alignment, I can use $a=b && c=d$ to do that. However, I can only align with one equal sign with that method. That is, \begin{align*} 189410 &...
user avatar
0 votes
0 answers
17 views

glossaries-extra: spurious space with hyperoutside being true and \mathop

Feeding the input \documentclass{article} \usepackage[hidelinks]{hyperref} \usepackage[makeindex,nomain]{glossaries-extra} \newcommand{\goodDomain}{\mathop{\gls{not:goodDomain}}} \newcommand{\...
user avatar
1 vote
0 answers
34 views

Horizontal bar charts with min and max data in pgfplots [duplicate]

I am trying to create a horizontal bar chart like the one in the picture below. For that I want to use data stored in a table like this: \pgfplotstableread[col sep=comma]{ system, Tmin, Tmax, ...
user avatar
  • 11
0 votes
2 answers
52 views

Need more dots after section title in ToC

I would like to fix a little dots glitch in my ToC. Here's a MWE showing the issue: \documentclass[11pt,letterpaper,twoside]{book} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[total={6in,...
user avatar
  • 2,024
1 vote
1 answer
62 views

columns horizontal alignment

good afternoon. How can I leave the final 2 columns, evenly spaced horizontally? Here is the code: \documentclass{article} \usepackage{array,multirow,amsmath} \providecommand\legend[1]{#1} % ?? \begin{...
user avatar
  • 71
2 votes
2 answers
49 views

How do I add a Picture (png) in its full size as an entire horizontal page in my otherwise A4 document?

I am currently working with Texmaker trying to add a png that is 2000x1800 px in size as an entire page into my document, which has an A4 format set. I do not want to have a margin on any pageside for ...
user avatar
2 votes
1 answer
114 views

Latex: How to add dashed lines for matrix?

In a $4\times5$ matrix, \documentclass{article} \usepackage{amsmath,amsfonts,bm,mathdots} \begin{document} $$\left(\begin{matrix} 1 &2 &-1 &3 &4\\ 0 &1 &3 &-2 &...
user avatar
  • 45
2 votes
0 answers
58 views

Adjusting horizontal spacings around product signs, in math mode

This issue may be inexistent to the eyes of most people, but it currently scroches my aesthetical eyes! I would like to adjust the spacings around the usual product signs (scalar product, vectorial ...
user avatar
  • 2,024
10 votes
2 answers
823 views

Horizontal Line in Array

Good evening, I'm trying to achieve following picture in latex, but i can't do it. Can someone help me? This is what I have so far: \documentclass[a4paper,12pt]{scrartcl} \usepackage{booktabs} \...
user avatar
1 vote
2 answers
156 views

Hline too long or midrule too short

Probably due to the specifications I made in tabular, I can't put a line that covers all my columns. If I out hline it's too wide and when I put midrule is too short. Can someone help me to put a line ...
user avatar
1 vote
1 answer
57 views

Table with horizontal cells

Does anyone know how to make this table? I tried this code. \begin{table}[h] \centering \begin{tabular}{clrr} \multicolumn{1}{c}{Order} & \multicolumn{1}{c}{Family} & \multicolumn{1}{c}{...
user avatar
0 votes
2 answers
38 views

Table with predefined dimensions and horizontally and vertically centered cells

I have a hard time making a table that would have predefined dimensions (the whole page) and cells centered horizontally and vertically. I have found solutions for each of those problems individually,...
user avatar
0 votes
0 answers
22 views

Positioning minipages vertically and horizontally

I am trying to put different minipages (boxes) of different length and height to fit the empty spaces best, however I have no idea how to solve the problem: Here's my code and here's what I want to do:...
user avatar
0 votes
2 answers
343 views

cvitems horizontal spacing

I have read a few entries here, but I could not make any of them work for my issue. I am trying to write a cv in LaTeX and am using a template for it. The Template uses the command "cvitem" ...
user avatar
  • 53
1 vote
2 answers
293 views

How can I draw this horizontal decision tree?

I am trying to program in TeX the following decision tree but I am facing some difficulties, especially with diagonal arrows. Some suggestions or help is extremely appreciated!
user avatar
1 vote
3 answers
211 views

Ugly spacings with \mathcal font

I hate the horizontal spacings with letters from the \mathcal font. Is there a way to fix them? Here's a MWE showing the ugliness: \documentclass[11pt,letterpaper,twoside]{book} \usepackage[T1]{...
user avatar
  • 2,024
2 votes
1 answer
810 views

Stata exported tables too wide

I have been trying to upload six-column tables to Latex/Overleaf from Stata. Data exported well but I have been struggling to adjust to Latex format, and some columns don't appear as tables are too ...
user avatar
3 votes
1 answer
216 views

Horizontal gap between side-by-side tcolorbox environments

I'm trying to create a modern layout for my CV using the tcolorbox package. Here's what I've accomplished so far: \documentclass{article} %%% \usepackage{geometry} \geometry{ paperheight=842pt, ...
user avatar
1 vote
2 answers
71 views

how to do a horizontal line with "=" between it?

i can not find how to connect 2 variables with a horizontal line with a "=" inbetween.
user avatar
  • 11
2 votes
2 answers
277 views

Is there a vertical equivalent of \toprule, \midrule and \bottomrule?

I have this table, but I think it would look better if it rotated 90º and became horizontal, to save vertical space and for better reading. I would like to tranpose the table while maintaining the ...
user avatar
  • 161
1 vote
1 answer
43 views

Centering contents seems not to work

I am trying to create a rather unusual table. The problem seems simple but I could not fix it although I have been trying for a week. Here is the code: \documentclass{book} \usepackage{array} \...
user avatar
1 vote
2 answers
103 views

double or triple rule to the right-justified chapter heading

For each chapter I am trying to put a double or triple horizontal rule that starts on the left and continues to the right-justified chapter heading like this: =========================================...
user avatar
  • 165
2 votes
3 answers
110 views

How (!)within the same paragraph(!) to have places where lines are allowed to be too wide and places where lines are not allowed to be too wide?

Assume you have \macroA in a way where \macroA{⟨TeX number-quantity denoting amount⟩} produces an amount of characters A. Assume you have \macroB in a way where \macroB{⟨TeX ...
user avatar
  • 22.9k
0 votes
0 answers
65 views

How to make a line (a horizontal line) in an expression in LaTeX?

My question regards something like in integral with a horizontal line in the middle of an integral sign, but I want to make this horizontal line inside some an expression (or being more specific ...
user avatar
  • 185
0 votes
1 answer
122 views

Increase space between numerations and info in bibliography

I'm currently learning about LaTeX. Regarding the bibliography I wanted to keep it as simple as possible. I tried biblatex and it worked, but I would have had to modify a lot, because all of the ...
user avatar
5 votes
2 answers
234 views

Too much horizontal space in an alignat environment

I'm having a bit too much horizontal space in this MWE, and want a normal spacing: \documentclass[11pt,letterpaper,twoside]{book} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[total={6in,...
user avatar
  • 2,024
6 votes
2 answers
349 views

Why smashing a sum change an horizontal spacing?

I need to smash a sum because its indices take too much vertical space. But then, it also change the horizontal spacing before it, as shown with the following MWE : \documentclass[11pt,letterpaper,...
user avatar
  • 2,024
4 votes
2 answers
907 views

\hspace{1pt} is equivalent to what spacing commands, in math-mode?

I'm using the command \hspace{1pt} as a small space in many maths expressions, to adjust the horizontal spacings to my taste. Frequently, the standard spacing commands \, and \: are too much, and ...
user avatar
  • 2,024
1 vote
1 answer
1k views

Horizontal alignment - subfigure

I am trying to make the second image (top right) horizontally aligned with the first one and I don't succeed. Any suggestions? I already looked for similar questions and I can't solve it with the ...
user avatar