Tagged Questions

{vertical-alignment} is about aligning document elements vertically, e.g. using \raggedbottom or \flushbottom or adjusting the vertical position of several equation or table components. If your question is generally about (vertical) white space, use {spacing} instead.

learn more… | top users | synonyms (2)

2
votes
2answers
257 views

Multi-line equations with single operator referring to multiple lines

I need to include an equation similar to the following in my text and have failed doing so in various tries, including using the align-environment of the amsmath-package. Basically, the text before ...
1
vote
0answers
64 views

Alignment Issues in Equations [duplicate]

Possible Duplicate: LaTex Error Help- Math Related I'm having trouble formatting this \begin{align*} $$f_a = Res (F(z))_{z=0} &= \Big(Res(F(z)_{z=0} +\sum_{\beta} ...
6
votes
2answers
280 views

LaTex Error Help- Math Related

I'm trying to make an equation array \begin{eqnarray*} f^{(a)} (0) &=& \frac{a!}{2 \pi i} \oint_{ |z| = \frac{\varepsilon}{r}} \frac{f(z)}{(z)^{a+1}} dz &=& &=& ...
8
votes
2answers
2k views

\pbox vertical alignment

What's going on here, why are the TEXTs not aligned? \documentclass{article} \usepackage{pbox} \begin{document} \hrule \pbox[c][20pt][b]{\textwidth}{TEXT\\ Short} ...
7
votes
1answer
1k views

Vertical alignment of cells in LyX

How can you set the vertical alignment of table cells in LyX? The right-click menu shows three choices ("Top", "Middle", "Bottom") but none of them is enabled, they are all greyed out.
2
votes
1answer
316 views

Problem balancing two column memoir

I have a problem using \balance on this document: \documentclass[a4paper,10pt,twocolumn]{memoir} \usepackage[utf8]{inputenc} \usepackage{lipsum} \usepackage{balance} \balance \begin{document} ...
1
vote
1answer
237 views

Vertical alignment with array package when the line width is fixed

I created a post earlier on the same topic (Vertical alignment in tables). I got an answer but it triggered another question. Below the solution that has been provided. I would expect vertical ...
2
votes
1answer
346 views

Vertical alignment in tables

I would like to create a table where I control the height of the cells and wish to vertically center all the cells. At first sight, the issue here might look quite similar to Problem with Table ...
4
votes
1answer
345 views

\vfill between items in a list

I want to create a list and have \vfill between all the items. Something like this: \documentclass{article} \begin{document} \begin{itemize} \item One \vfill \item Two \vfill \item Three \vfill ...
1
vote
0answers
33 views

How to automate vfill on last paragraph before a page break in case of underfull vbox [duplicate]

Possible Duplicate: \flushbottom vs \raggedbottom I have my Thesis with nearly 200 pages. I have encountered many underfull vbox problems due to the high of equation-to-text ratio. LaTeX ...
5
votes
1answer
151 views

How to insert a text between two cases in a multi valued function?

I want to do something similar to this but do not know how: I do know how to write multi-valued functions by using cases or align or whatever but do not know how to achieve a text that is to the ...
3
votes
2answers
234 views

Balancing columns, last page of index (using memoir class)

I've just received (very final, I hope) editing requests from the production people at CUP, and -- at the last minute -- they are asking for the two columns of the final page of the index of my book ...
0
votes
1answer
285 views

Adding color to table columns with alignment

I am trying to add color to certain columns in a table for highlighting purposes. In said columns, I have positioned the data presented to be aligned by the decimal point. However, when adding color ...
4
votes
2answers
232 views

settototalheight issue with empty lines

I am using \settototalheight to calculate the height of the text in order to use needspace correctly. This is the code i am using : \documentclass[12pt]{article} \usepackage{graphicx} ...
6
votes
1answer
118 views

Self adjusting vertical line in scalar product

I'm trying to define a new command for scalar product. So far, it looks like this: \newcommand{\ilskal}[2]{\left(#1\left|#2\right)} However, when I was trying to put something riddiculously high in ...
6
votes
1answer
75 views

Getting box dimensions in class file

I want to adjust vertical spacing after the title in a thesis class by measuring the title length (actually, height). To achieve this, I put the title in a box and compute the total height of the box. ...
3
votes
2answers
2k views

Minipage spreading to multiple page

\documentclass[12pt]{article} \usepackage{graphicx} \usepackage[parfill]{parskip} \usepackage[none]{hyphenat} \sloppy \usepackage[usenames,dvipsnames]{xcolor} ...
18
votes
3answers
638 views

How do I set annotations on a facing page?

It's common to set an old play (e.g. Shakespeare) with annotations on the left page and reference information on the right. I don't want to do this for a play, but I would like to set a document with ...
5
votes
3answers
191 views

Vertically align multiple labels

I have a sketch with two aligned lines. These lines have a label each. When you look on my example, you will see, that the labels "Top" and "Inlet" do not share the same baseline. Both labels are ...
3
votes
1answer
669 views

Tables: Automatic adjustment of columnwidth to its content gives error “Misplaced \noalign” at \toprule

I am trying to put two tables next to each other, vertically aligned top, with some below listed adjustments I unfortunately can't get together. First, I'd like to know if/how I can avoid the error ...
2
votes
1answer
1k views

Vertical centering of text spanning multiple rows [duplicate]

Possible Duplicate: How to vertically-center the text of the cells? I am using multicolumn to create a table. The code that I have is here: \documentclass[10pt]{article} ...
2
votes
1answer
364 views

Vertically centre the title in mdframed

I wonder how I can vertically centre the argument of \Title inside the frame in the following MWE. \documentclass[12pt]{report} \usepackage[english]{babel} \usepackage{tikz} ...
4
votes
1answer
197 views

How would I typeset a two-column layout, where the headings are on the left side and the contents are on the right?

I'm trying to typeset my resume using TeX. I'll start off by showing an approximation of what I want to do with this picture: Note the red lines in the picture are only for illustrative purposes. ...
24
votes
2answers
1k views

Two rules directly under each other

I'm trying to make two rules of different length (fatness) directly under each other, something like: -------------------- ==================== Where = is a fatter line than -. The vertical space ...
4
votes
1answer
704 views

vertical aligning images in table with \adjustbox only works when not every image is in an \adjustbox

I'm trying to center all images vertically and horizontally within a table cell. Therefore I'm using the adjustbox packet. This is the code I use for my table: \begin{table}[b] \begin{center} ...
3
votes
1answer
842 views

How to draw the following table (simplex tableau)

I would like to draw table, I tried, \begin{equation} \begin{array}{c} z \\ s_1 \\ s_2 \\ s_3 \end{array} \begin{bmatrix} \begin{array}{c|ccccc|c} z & x_1 & x_2 & s_1 & s_2 ...
2
votes
1answer
174 views

Removing space after a graphic

I have the following code and inputted a graphic at some point. When I compile the code, there is a huge white space after the graphic and before the text after the graphic. How do I reduce this white ...
3
votes
1answer
335 views

Aligning two text boxes with a few lines

Here are the two text boxes: \begin{tabular}{l@{}} Date: 3 Jan. 2500 \\ Place: Moon \\ \end{tabular} \null\hfill\begin{tabular}{l@{}} Prof. Neil Armstrong \\ Department of Moon ...
5
votes
1answer
642 views

\resizebox shifts tikzpicture up when in a subfloat environment

Why when I try to re-scale a tikz figure using \resizebox the baseline is shifted up (regardless of how small the scale factor is), and two horizontal floats are not aligned properly. ...
10
votes
3answers
244 views

Aligning cases conditions from multiple nesting levels

\begin{dmath*} y_{ic}[n] = \begin{dcases} y_0 + x_0 - x_0 (1 - k_2)^n & k_1 = 0 \\ k_5 + \left( y_0 - k_5 \right) (1 - k_1)^n + \begin{dcases} ...
6
votes
1answer
170 views

How to obtain the space left to bottom of page

Since it is impossible to use \vfill inside a framebox, is there any way of getting the current height position of text? I want to fill in a framebox so that it uses all the space left on a page, ...
7
votes
1answer
136 views

Alignment in Rotated Text

Does anyone have a workaround to this problem? I am working on my CV, and want to use some rotated text to improve the presentation. Here is a MWE. \documentclass[10pt]{article} ...
4
votes
1answer
403 views

Vertically align table in a page

I would try to align vertically a table in a page. I have a page contains only a table and I would put it at the center of the page. To center it horizontally I used \centering but what command should ...
6
votes
1answer
995 views

Align siunitx columns in numbers table

Here is a table but it has a problem: the column of 1, 20, 50, and 100 aren't perfectly aligned to others. How can I do that? MWE \documentclass{article} \usepackage{siunitx,booktabs,multirow} ...
1
vote
1answer
94 views

Specifying ymin in pgfplots misalignes images vertically [closed]

I have two plots drawn with the \pgfplots package. In one of them, I specified that ymin=0 when I created the axis since the plotted curve never goes below y=0 (otherwise something like ymin=-0.2 ...
6
votes
2answers
916 views

Setting the vertical distance in \overline

I want to overline a piece of text, but the line is too close to the number, which is not nice, so I want to add some kind of padding between the overline and the text. This is what I've made up so ...
10
votes
1answer
170 views

How I can align a table with a figure from above?

I want to have a table and a figure plotted by \pgfplot in two column but have alignment from above: \documentclass[a4paper,10pt]{article} \usepackage[utf8x]{inputenc} ...
1
vote
2answers
139 views

Header at baseline next to an image

I defined the headmark over \ihead[]{\headmark} and an image over \ohead[\Logo]{\Logo} with the use of koma script. Now I´ve got the problem, that the \headmark is not at the baseline of the head. I ...
3
votes
0answers
269 views

Uneven columns in two-column paper format [closed]

I am writing a paper in two-column format. I avoid using the multicol package as I deal with quite a bit of within-column figures and would rather have them float. However, I am facing a problem that ...
6
votes
1answer
239 views

Horizontal array of enumerated equations

This is for use in work assignments for math students. I'd like to post multiple parts for a given question, without sacrificing too much space for this. So I want a bunch of equations arrayed ...
1
vote
1answer
253 views

How to vertically align text in the headers of a PgfplotsTable?

I am stacking one header by using this macro: \newcommand*{\textstackrel}[2]{\ensuremath{\stackrel{\hbox{#1}}{\hbox{#2}}}}. This makes the other single line headers bottom aligned, which looks bad. ...
1
vote
0answers
42 views

Footnote mark alignment with italic text [duplicate]

Possible Duplicate: superscripts with xelatex? (footnotes, natbib) I'm adding a footnote to a sentence that is italicized, and the placement of the footnote mark seemed to be off. I'm ...
4
votes
2answers
339 views

Need some help with perfecting the layout

\documentclass{article} \usepackage{amsmath} \setlength{\parindent}{0pt} \newcommand{\fac}{n!} \newcommand\test[3]{\left(\begin{array}{@{\,}c@{\,}} #1 \\ #2 \end{array}\middle|\ \ #3 ...
4
votes
1answer
218 views

Two columns: one column for questions; the other for answers

I am using the exam class. \documentclass{12pt,a3paper,landscape}{exam} I would like to split my paper into two columns. One column should be for the question and across from that question would ...
8
votes
1answer
1k views

Vertical Centering in a multicols

In a document I have several multicols units, in which on one side there is an image and on the other side some information in a itemize. Now, depending on the image / information, the two "sections" ...
4
votes
1answer
412 views

Spacing in multicols environment with figures

I have the following lines: \documentclass[a4paper,landscape,12pt,oneside]{scrbook} \usepackage[english]{babel} \usepackage{multicol,lipsum} \usepackage[demo]{graphicx} \usepackage[utf8]{inputenc} ...
7
votes
1answer
108 views

How to control the alignment of the brace in a dcases environment

The following code \begin{equation} \begin{dcases} u = \frac{\sqrt{2}}{2}(i+j)\\ v = k \end{dcases} \end{equation} results in the following display that I find ...
1
vote
2answers
234 views

Change matrix figure layout

I have a figure where I am writing som matrices I want something like but I am getting this, How to change it? I have \begin {figure}[h] \centering \small \textbf{X} \[\left( ...
3
votes
2answers
368 views

latex table layout problem

Hi Im having some trouble aligning the text in the second column of a two column table. The first column the text aligns the way i want but the seconds columns text is not positioning properly. ...
10
votes
2answers
550 views

Position margin notes relative to left margin in plain TeX

I want to add margin notes in the Tufte style to my Plain TeX document. (I'm using eplain, if that matters.) I know that if I were using LaTeX I could just use tufte-latex, but as a thorough ...