Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [vertical]

The tag has no usage guidance.

1
vote
1answer
25 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
232 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
16 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 ...
2
votes
3answers
37 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
55 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
92 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
95 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
73 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
40 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
135 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
75 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
67 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
36 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
110 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
41 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
14 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
112 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
72 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
511 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
60 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
267 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
425 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
42 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
177 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
38 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
117 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
663 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
101 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 ...
0
votes
0answers
24 views

Vertical spacing from a reference point (beginning for me)

I know \vpace{} give us vertical spacing but I want something special. A code, or a group of codes, called it \x{} \x{2cm} gives as 2cm vertical spacing from the beginning of the page \x{6cm} gives ...
1
vote
2answers
480 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
40 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
174 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
81 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
92 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
70 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
566 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
152 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
125 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
184 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 ...
0
votes
1answer
40 views

Require height of certain box

I want a way to create a command (or the equivalent) like \boxspecifiedheight{8in}{This is some text.} which uses 8 inches of vertical space. If the sentence was replaced by 5 or 6 sentences, that ...
1
vote
1answer
123 views

“Actually” plain beamer's frame with (left) sidebar themes: problem with footnotes' vertical position

I'm in the process of creating a customized beamer's frame "actually" plain with a sidebar theme (PaloAlto). By: setting the frametitle's width to \paperwidth instead of \paperwidth-\beamer@...
2
votes
2answers
51 views

Fit vertical text into table cell

I am making a relatively simple table in LaTeX however, I came across a problem. I am trying to make the following table: However, I get the following: My MWE is the following: \documentclass{...
1
vote
2answers
297 views

How to draw such figure?

I am trying to draw figure shown below, how do i proceed to get i don't know Here is my MWE which i tried so far \documentclass{article} \usepackage{chemfig} \usepackage{amsmath} \usepackage{...
1
vote
1answer
165 views

Controlling vertical space within a cases environment

I'm trying to define a function that requires a large amount of text in a cases environment. By adding a \\ I can create some space between the top and bottom lines, but i'd rather create a ...
2
votes
2answers
421 views

PGFplots: Vertical line attached to x-axis

I want to plot a small vertical line from y = 0 on certain x coordinates, connected to a node. However, the vertical line does not stick/connect correctly to the x-axis. \documentclass{scrreprt} ...