Questions tagged [vertical]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
44 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
25 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
30 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
18 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
52 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
38 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
175 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
34 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
244 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
19 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
40 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
38 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
67 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
96 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
101 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
102 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
43 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
144 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
99 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
69 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
42 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) ...
0
votes
0answers
26 views

Increase lstlisting vertical space in toc

I have found this post but the solution is not working for me. Grouping the list of listings by chapter I am using the package listings \usepackage{listings} \lstdefinestyle{sharpc}{language=[Sharp]...
4
votes
2answers
112 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
0answers
44 views

Vertical line in chapter name

I added the vertical line after chapter number with following comma nds: \usepackage{titlesec, blindtext, color} \newsavebox\theCT \definecolor{gray75}{gray}{0.75} \newcommand{\hsp}{\hspace{20pt}} \...
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\; ...
0
votes
0answers
17 views

Glossaries increase vertical spacing without affecting the rest of the document

I need to increase the vertical spacing between the glossary entries. I found this solution: How to increase vertical spacing between entries when using glossaries long style? The problem is that if ...
2
votes
1answer
135 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
52 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
77 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
537 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
93 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
294 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, ...
8
votes
3answers
466 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
24 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
43 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
222 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{\...
0
votes
0answers
46 views

Irregular Vertical Space Between (Customized) Sections

I created the following code with help from a template (already hollowed it out as far as I could such that the effect still remains): \documentclass[11pt,a4paper]{article} \usepackage[margin=0.75in]{...
2
votes
1answer
122 views

Add vertical labels on left side of tikzpicture

I have a flowchart using tikz, and I'd like my legend to include a vertical label on the left side of the tikzpicture. Like above text. (Excuse my 10 second Paint MS flowchart)
4
votes
2answers
758 views

Space around vertical bar/pipe

I am new to Latex and am giving it a try on a homework assignment. My professor's notes (which are written in Latex) include a formula that looks like this: When I try and recreate this formula ...
1
vote
1answer
104 views

Align equations on equal and vertical bars between equals

I am aligning some equations using the \begin{aligned} from amsmath package. This aligns the equations using the = as alignment point, which is nice, but I also want a vertical line drawn between ...
1
vote
2answers
523 views

Problem with \vline in tabular

is there a way to have the solution in the figure? without \multicolumn{}{} in every number? Thanks \documentclass[12pt,a4paper,oneside,openright]{book} \usepackage{makeidx} \usepackage{lipsum} \...
1
vote
1answer
41 views

Summary spacing problem

Goodmorning, I'm trying without any success to vertically align the "abstract" word in the first page of my final thesis. I'm able to do it if I don't insert the "edit with latex" sentence but I'd ...
1
vote
1answer
204 views

Tables in LyX: too much vertical space in cell with fixed column width and wrapped text

In a cell with fixed column width and wrapped text in a table - the table is generated entirely in LyX, rather than LaTeX - there is too much vertical space in that cell. Image below; problem ...
0
votes
1answer
87 views

\begin{array}{ccc:ccc} : No error, but just not working properly

I would like to add a vertical dashed line between the third and fourth column. The following is my code. This code is working well with my thesis template, but a vertical dashed line is not appearing ...
1
vote
1answer
104 views

Create custom chapter template in scrbook

I am in the final format alignment of my dissertation with the publisher. Unfortunately, there are some requirements that I need to fulfill but struggle with implementing. I am using scrbook. In the ...
0
votes
0answers
77 views

How to get rid of vertical white space in general?

There seem to be a lot of specific examples online -- how to get rid of white space around an equation, how to get rid of white space around a list. Is there no one way to remove these big bands of ...
3
votes
1answer
658 views

tabu m-column vertical alignment not working after package updates

After MIKTEX package updates vertical m-column alignment in tabu does not work anymore. See MWE below \documentclass{article} \usepackage{tabu} \begin{document} \tabulinesep=3pt Result using tabu: ...
3
votes
1answer
185 views

Divider between two specific table columns?

I have a table that logically looks like this: ----------------------------------------- | METACOLUMN A | METACOLUMN B | ----------------------------------------- | 1 | 2 | 3 | 4 | 1 | ...
2
votes
4answers
127 views

vertical spacing in one equation (not align)

\begin{equation} I_D=\frac{I_{sc_n}+K_i\Delta T}{exp\left(\frac{V_{oc_n}+K_v\Delta T}{nN_sV_t}\right)} \end{equation} That's my equation and here's its appearance I think I can change the vertical ...
2
votes
1answer
199 views

Text on both side of vertical line

I want text on both sides of a vertical line, that expands over several rows. Until now it worked for me using this code. But apparently that works only if the text with more than one row is on the ...