Questions tagged [horizontal]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
36 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 &...
2
votes
0answers
40 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 ...
10
votes
2answers
348 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} \...
1
vote
2answers
38 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 ...
1
vote
1answer
51 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}{...
0
votes
2answers
27 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,...
0
votes
0answers
17 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:...
0
votes
2answers
72 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" ...
1
vote
2answers
102 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!
1
vote
3answers
69 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]{...
2
votes
1answer
157 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 ...
3
votes
1answer
131 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, ...
1
vote
2answers
67 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.
2
votes
2answers
105 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 ...
1
vote
1answer
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} \...
1
vote
2answers
50 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: =========================================...
2
votes
3answers
106 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 ...
0
votes
0answers
44 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 ...
0
votes
1answer
68 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 ...
5
votes
2answers
135 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,...
6
votes
2answers
241 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,...
4
votes
2answers
370 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 ...
1
vote
1answer
414 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 ...
4
votes
1answer
227 views

Tabular-like alignment in algorithm

Is there a way to encapsulate every line in some dotted lines, and add on the right side 2 columns such that it would look the the picture below? And on every line I can write math equations or ...
0
votes
1answer
46 views

Multiple equations of a system on one line

I tried to write a system with multiple equations on every line. I have this: And I have the following error: Extra alignment tab has been changed to \cr. Could you please help? Thanks a lot!
0
votes
1answer
124 views

Change the horizontal size of the blocks in tikzposter

How do I make the 3 blocks have the same horizontal size? Something like dividing the poster into three. Because as you can see, the poster is provided in such a way that the last "column" of blocks ...
1
vote
1answer
44 views

Command to check the amount of horizontal space

Please, this is very important because I depend on it to finish my master's dissertation. So, I looked everywhere for an answer, but I could not find it.. Basically, I want to know if there is any ...
1
vote
1answer
1k views

Horizontal and vertical lines in pmatrix

I am trying to replicate the following matrix in TeX: So far, I have this (the elements in my TeX are supposed to stay in that way): \documentclass[11pt,a4paper]{article} \usepackage{amssymb, ...
15
votes
1answer
256 views

Understanding LaTeX 2e's \@esphack

I'm reading source2e.pdf and I have problems in understanding the sense of the definition of LaTeX 2ε's \@esphack: Commands like \label{...} , which themselves do not/shall not produce ...
0
votes
1answer
57 views

How do I fit a landscape table to page width?

this is my latex, the columns always see to go over the page width. I know I set width using p instead of l. However, using p, the tables disappears to the next page where it is portrait mode. \...
2
votes
0answers
134 views

Spaces between numbers or letters within math mode in Beamer

I have been looking in the and Latex companion, and I did not find what I want to make. I write transparencies in beamer for my lectures, and I have observe that the space between numbers or letters ...
0
votes
0answers
93 views

Horizontal oriented Feynman diagram with loop is not produced horizontal

I tried to make a simple first order loop diagram of a photon with a virtual fermion loop. This works, except from the last horizontal photon (wavy) line. This is the syntax I used with the tikz-...
1
vote
1answer
514 views

Is a \vspace placed on the end of a paragraph a bad LaTeX coding?

After a comment of @DavidCarlisle in a question about \vspace usage I tried to find out if, when and why a \vspace command should be avoided to added as a last command of a paragraph in order to add ...
2
votes
1answer
87 views

How to increase the horizontal spacing around `=&' in the align environment?

I found it too squeezed around the operators when I use align for multiple lines of equations. See the example. \begin{align*} &a + b \\ =& c + d \\ =& e + f \end{align*} How to increase ...
2
votes
1answer
173 views

Adjust spacing between personal information & photo columns in moderncv classic

I wish to reduce the spacing between the personal information column and the photo column in moderncv classic style. Here is a MWE \documentclass[11pt,a4paper,sans]{moderncv} \moderncvstyle{classic} ...
1
vote
0answers
1k views

LaTeX package to insert fancy horizontal lines [duplicate]

I received a pdf written in LaTeX in which I noticed the use of the following horizontal spacer: Do you know which LaTeX package provides that one? Thanks a lot, Cheers
1
vote
1answer
37 views

How to generate a matrix in a box with lines separating the lines and columns?

This is what I'm trying to do, can anyone help?
2
votes
1answer
320 views

How to set a defined horizontal padding between \includegraphics images

How can I set a fixed horizontal padding between my images? I'm using (in my master file): \usepackage[export]{adjustbox} With this in my included file: \newcommand{\vastehoogte}[1]{\...
3
votes
4answers
236 views

Horizontal line without indenting

This is the result I want to have (I want to obtain the result that most resembles this mathematical expression): What I have tried is this: \[ \begin{aligned} 01\: 1011 \: 0110\\ 11\: 0001 \...
4
votes
2answers
454 views

Shadowed Horizontal Line

I'm looking to insert a \hrulefill line with a shadow. Something that looks like this: Help would be much appreciated.
3
votes
2answers
72 views

Horizontal alignment on bmatrix environment

I'm writing a report that contains a lot of matrices. At some point in the text, I've written the following code EDIT: as I've been told, I'll upload a code that better represents the problem I'm ...
1
vote
1answer
959 views

Horizontal space between bullets and text in enumerate

I have several enumerated lists. The bullets and the paragraph are too close, in my opinion, so I want to be able to make more white space between the bullet itself and the text that comes after, but ...
0
votes
1answer
333 views

How to add space between math symbols faster than existing methods

I have several equations that needs extra space between math symbols. Is there any way to add space between each symbol faster than adding \, \: \quad etc, to the code? It takes a lot of time to ...
1
vote
2answers
742 views

Horizontal alignment in minipages

I'm having another trouble with horizontal alignment. Someone suggested in my last question to use minipages intead of multicol. I did use and everything was perfect, but I'm trying now to make three ...
1
vote
1answer
64 views

How to position a line the whole width of a page on a line of text, but not over text?

I am in the midst of creating my own custom latex class for a CV layout and am wondering how to do so. Here is a picture of what I'm talking about that I created in a word document: Specifically, how ...
6
votes
1answer
123 views

Interference between `ragged2e` and `tcolorbox`: Additional spacing for centered bold text

When centering bold text in a tcolorbox using [halign upper=center], additional horizontal spacing occurs when the package ragged2e is loaded additionally. I guess this is unintended behavior. – Is ...