Questions tagged [vertical]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
49 views

Rotated multi-column header in booktabs

I want to gernerate a cross table with booktabs. Therfore, I have 2 data sets I want to compare to each other. The table should look like the pic below but I do not get it to write the vertical ...
2
votes
0answers
53 views

How does XeTeX rotate glyph when “vertical”?

I was investigating how to typeset vertical Chinese text. I cannot understand how XeTeX rotates glyph when the font is loaded with the vertical specifier. The following plain XeTeX MWE illustrates my ...
2
votes
1answer
27 views

Multirow Table with rotated side header

I’m trying to remove a rule from my multirow table: \begin{table}[ht] \centering \begin{tabular}{@{}cl|cll@{}} & & \multicolumn{3}{c}{\textsc{Columns}} \\ & & A & B & C \\ \...
0
votes
2answers
34 views

How to vertically stretch each row, or whole table, in a tabularx table [duplicate]

I would like my LaTeX produced table to look more vertically stretched, so it wouldn't appear so vertically compact. I would like it to look more like the google docs equivalent (see pic). How would I ...
1
vote
2answers
32 views

Unwanted Vertical Space after Header

I have created a custom header that's perfect except for some unwanted vertical spacing between the header and the body. Currently there's about 14mm of spacing, and I'd like to reduce it to about 7mm....
4
votes
3answers
547 views

How to get rid of vertical white lines in a table?

When coloring rows of my table with a dark color, I get these white vertical lines where borders would normally be. How can I get rid of them? \documentclass[11pt, a4paper]{scrbook} \usepackage[left=...
3
votes
2answers
143 views

thickness of \lfloor and \vert

For some reason, I have to use both \lfloor and \left\vert in my latex file. But as the number of lines increase, it is clear that their thickness are not the same, which does not look nice to me :( ...
5
votes
1answer
81 views

How should I add a bit of space below a substack in an overset?

Consider the following equations: \documentclass{article} \usepackage{amsmath} \begin{document} \[ \int_Y \left( \int_X f(x,y)\,dy\right)dx \overset{\substack{\text{Fubini's} \\ \text{theorem}}}{=} ...
2
votes
1answer
124 views

How to display traditional Mongolian in a Latex environment correctly

I want to display traditional Mongolian in a Latex environment.Traditional Mongolian text displays text from top to bottom, left to right, and can be encoded in Unicode.The key is to mix English, ...
0
votes
2answers
64 views

In the enumitem package, how can I independently adjust the vertical spacing between the final item in a list, and a brand new paragraph?

I'm typesetting a document for which I face certain constraints: The .tex file contains unicode characters, therefore I need to use a unicode-capable engine such as XeLaTeX to compile it. The ...
0
votes
0answers
27 views

Vertical Divider Between Minipages

I'm currently using the altacv template, and I was wondering -- is there any way to put a vertical divider between the two columns? Thanks in advance!
0
votes
0answers
40 views

Vertical lines inside matrices disappear when exporting to pdf

All the vertical lines inside the matrices disappear when i export to pdf. Any suggestions?
1
vote
1answer
33 views

Change vertical Distance in my Cover Letter - ModernCv

I am currently writing an application with moderncv that is almost finished but I have small problem that I cant fix on my own. I my example \documentclass[10pt,a4paper,sans]{moderncv} \...
0
votes
0answers
123 views

How to reduce space above and below minted?

I'm using minted to display some code in my document and I noticed an uncomfortably large space above and below the minted environment and I wasn't able to find out where does the space come from, and ...
0
votes
1answer
25 views

The last vertical line is broken … How do I leave it as a single line?

I tried to make a representation of a list of data structure as in the example below. \documentclass[a4paper,12pt]{article} \usepackage[margin=3cm]{geometry} \usepackage{array} \usepackage[table]{...
1
vote
2answers
44 views

How to remove the interuption of a vertical line in a table

I have seen similar questions here. However, all of the code in the other started with \begin{tabular}{|c|c|c|c|} which I want to avoid. How do I get rid of the space between the vertical line? \...
7
votes
1answer
72 views

Vertical space between theorems from a distant figure

I encounter a weird vertical space in the following situation : In my .tex, I have two theorems seperated by a picture, but in the .pdf, the picture is put somewhere else (and that's ok with me), but ...
1
vote
0answers
49 views

Float object vertical spacing with “Here definitely” settings using scrbook

Vertical gap before float object is too small and after it is too big. For this example I used to set Here definitely positioning, but gaps are similar for every other float placement settings. I ...
1
vote
1answer
193 views

Fill remaining page with image

I hope to fill the remaining vertical space with an image. This has been done here; https://blogs.gnome.org/muelli/2011/04/perfectly-scale-an-image-to-the-rest-of-a-page-with-latex/ However I cant ...
0
votes
1answer
55 views

Longtable: Vertical Line not complete

I am using the longtable LaTeX package to create a multi-page table with three columns, one of which contains only images. However, the vertical line between the middle and right column does not ...
0
votes
1answer
31 views

How to decrease the distance between title block and text in Koma's scrartcl

With \documentclass[a4paper,12pt]{scrartcl} \title{Lorem ipsum} \usepackage{etoolbox} \makeatletter \providecommand{\subtitle}[1]{% add subtitle to \maketitle \apptocmd{\@title}{\par {\large #1 \...
1
vote
1answer
79 views

tikzpicture / How do I increase the vertical spacing between 2 Rectangles when the text is outside?

I'm trying to make a bar graph with the text above its corresponding rectangle but I'm not able to change the vertical spacing between each rectangle. Here's the code snippet: \documentclass{...
0
votes
1answer
44 views

How to calculate ratio for vertical list?

In TeXbook p.110 it is said: ...computing badness ratings ... more or less as it does when breaking paragraphs into lines. On page 112 of TeXbook there is example of page building. Let's use this ...
6
votes
1answer
186 views

How to get rid of empty vertical space in a table?

I'm trying to remove the empty white space in my table after the list. \documentclass[a4paper, 11pt]{report} \usepackage[utf8]{inputenc} \usepackage[left=22.5mm,right=22.5mm,top=30mm,bottom=30mm]{...
1
vote
1answer
127 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, ...
4
votes
2answers
259 views

Stretching a curly bracket to get better vertical symmetry

As can be seen in the following MWE, \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation*} \left\{ \begin{aligned} a&=\frac{b}{c} \\ a&=e ...
4
votes
2answers
24 views

How can I adjust the vertical / horizontal alignment of a table and its caption in a minipage?

I want my captions to be the same width as my table with appropriate wrap around. So I created a new command to do it. The MWE is below. The problem is that while the table and caption are flush on ...
3
votes
3answers
47 views

Table vertical lines missing

Hi the vertical lines of the table (of the right side) are missing (photo below). I would like to know what's wrong with my code: \begin{table*}[t] \centering \begin{tabular}{|c c c|} \hline \\ ...
0
votes
1answer
45 views

Space between \paragraph{} and text [duplicate]

how do I put the text on a new row under a paragraph? My code is the following: \paragraph{Title} Some text, Some text, Some text, Some text, Some text. Right now It ends up like: Title Some text, ...
3
votes
3answers
131 views

How to get vertical-mode math-expression inside tikz node?

I am aware that \boxed automatically invokes display-mode math, so \boxed{2+2=4} is equivalent to frame drawn around $2+2=4$. But how do I get vertical-mode math expression inside tikzpicture node to ...
2
votes
2answers
141 views

How to get rid of (or make even) vertical space above and below math mode (`\[…\]` and `\begin{equation}`)?

I have difficulty removing spaces (or making them even, or setting them to custom values) above and below vertical math mode. This is a re-write of the previous question whose code contained hrule's ...
3
votes
2answers
118 views

Vertical alignment in tabular varies depending on compiling environment

I'm having problems (again) with vertical alignements in tables, but apparently, the code is problematic when compiled on my computer, but not when compiled on overleaf. For instance: Overleaf ...
1
vote
1answer
170 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
51 views

Change position of graphics in multicol environment

In a three-column document (using the multicol environment), I am having trouble to position inline graphics. From my understanding, no floating objects can be used in the multicol environment. I ...
5
votes
1answer
166 views

context: line between margin and text

I work with ConteXt. Here at StackExchange I found a code for LateX to put a line between the text and the margin/marginparagraph. This line is visible in the image below. After that, I switched to ...
1
vote
1answer
173 views

how to add vertical space between words and the underline effect?

I searched around here and did not find anything accurate to what I wanted. I would like to know other ways to increase the decrease in the space between underline and words as well as in this MWE ...
2
votes
1answer
83 views

How do I use \includegraphics with booktabs?

I'm making a reference document for my students regarding the 14 Bravais lattices. I've gotten this table to work but it is messy. Does anyone have suggestions on how to clean it up? (I've added ...
1
vote
1answer
50 views

Picture in LaTex table vertical centered

This is my first post here so please understand if I did something wrong. I want to have a table in LaTeX where icons should be displayed in the first column (centered) and text (vertically centered) ...
4
votes
2answers
120 views

Add vertically-aligned text between two enumerate items

I'd like to get something like this: MWE: \documentclass{article} \begin{document} \begin{enumerate} \item $Y^2 - 1 = 0$ \quad (text) \item $Y^2 + 1 = 0$ \quad (text) \end{enumerate} \end{...
0
votes
1answer
43 views

Vertical spacing inside \equation

I am writing my master's thesis and noticed that the spacing when using fractions is very small. T \begin{equation} \label{ASF} f_{ij}^{t}=\dfrac{\sum_{d=1}^{365}(Unique\; daily-user\; searches\; ...
2
votes
1answer
295 views

Avoid vertical spaces before figure to fill the page

I'm writing a latex document which contains a table. This table is doesn't fit the actual page so it's placed in the next page. The problem is that vertical spaces are added automatically in the ...
2
votes
3answers
54 views

How to left align equation numbering within multicolum?

I have the following code: \documentclass[11pt, spanish]{article} %\usepackage{babel} \usepackage[latin1]{inputenc} \usepackage{geometry} \geometry{legalpaper, a4paper, %top=25mm, %bottom=25mm, ...
8
votes
1answer
94 views

align* has extra leading vertical space in mdframed

The problem Inside an mdframed environment, placing align* at the start of the environment produces extra vertical space above, whereas using \[\] instead does not create as much vertical space. ...
8
votes
3answers
645 views

Commenting an equation with a vertical bar

I want to use a vertical bar to comment on solving a simple equation. Do you know a way to do that with LaTeX ?
1
vote
2answers
220 views

Complex tables with multiple rows and columns and text in vertical

I am having difficulties with making this table, as it has multiple columns and rows and some text in vertical. Does anybody know what commands should I use? Thank you
2
votes
4answers
340 views

How can I make a curved graph in Tikz and vertical lines from the x-axis to that graph?

I am basically trying to make this figure in Tikz only better, but I can't figure out how to make the vertical lines from the x-axis to the graphs M(x). The function is M(x)=−1/2·q·x^2+1/2·q·L·x, ...
11
votes
4answers
605 views

Put vertical rotated text within minipage environment

I am creating a cheat sheet for a class and wanted to add some vertical text here: How do I go about doing this? Here is the code that I have thus far: CODE \documentclass{article} \usepackage[...
1
vote
1answer
29 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?
1
vote
1answer
66 views

How to define vertical line correctly in axis environment?

I Would like to have three vertical dottetd lines from top to bottom to visibly divide the 4 functions. How can I do this. \documentclass[letter,12pt,twoside]{article} \usepackage{tikz} \...
2
votes
1answer
448 views

Vertical Centered Horizontal Line on the same line as text?

I'm trying to modify awesome cv so that the horizontal line is centered vertically in the line. The relevant line of code in awesome-cv.cls is the following declaration: \def\vhrulefill#1{\...