{horizontal-alignment} is about aligning document elements horizontally, e.g. typesetting paragraphs using \centering or \raggedright or adjusting the horizontal position of several equation or table components. If your question is generally about (horizontal) white space, use {spacing} instead.

learn more… | top users | synonyms (6)

2
votes
1answer
28 views

Aligning the rightarrows in latex [duplicate]

How to align all the $\rightarrow$s so that that all come in a line and not in a zig zag manner? The MWE: \documentclass{article} \usepackage[english]{babel} \begin{document} \begin{enumerate} \item ...
3
votes
1answer
42 views

Headings with a hanging subhead

I use this piece of code to add a subhead (usually a quick reference) in my notes: \newcommand{\mysection}[2]{\section[#1]{#1\\*[.6ex]\normalsize\textit{#2}}} I'd like to make the subtitle hanging ...
5
votes
5answers
204 views

How to align decimal points when using cases statement

I have a statement like \begin{equations*} \begin{cases} {\zeta}_{A} = -10.1234567 \cdots, \\ {\zeta}_{B} = 1{,}001.2345678 \cdots. \end{cases} \end{equations*} How do I align the decimal points ...
2
votes
1answer
29 views

LaTeX Multiple Table Alignment Horizontally and Vertically

I am trying to align multiple table and tried in several different ways, unfortunately none of them works. Here i have attached a sample code for your perusal. Will you please suggest me how to get ...
2
votes
2answers
105 views

When I type the following code, the table comes above the question. How can I make it appear below the question?

\begin{question} Calculate the reverberation time of hall of 1500 \si{m^3} volume having a seating capacity for 120 persons when \\ (i) when the hall is empty \\ (ii) with full capacity audience \\ ...
2
votes
1answer
49 views

Aligning header to the right in ConTeXt

I am typesetting a novel in ConTeXt and one of the things I was in need was a way of typesetting headers for scenes. A scene as I understand it, is simply a couple of lines which separate paragraphs, ...
3
votes
2answers
52 views

Error \centering with \multicolumn

\documentclass[a4paper,10pt]{report} \usepackage[utf8]{inputenc} \usepackage{booktabs} \usepackage{multirow} \begin{document} \begin{table}[ht!] \caption[Structural properties of $5$ networks ...
2
votes
2answers
42 views

tikzpicture and array side by side in subfigure won't align

I am trying to align side by side a tikzpicture (an image of a network) and an array (a matrix) but no matter what I do they wont align properly. Two arrays side by side and two tikzpictures side by ...
3
votes
2answers
125 views

Two logos and text in the footer

I'm trying to put two images and some text in my document footer, all aligned side by side with the page number, something like this: I could get to the basics using fancyhdr, but it obviously ...
2
votes
1answer
59 views

Can't center or “enter” (in the right column) inside a two- (or more-) column translation-tabular

This article is a follow-up of my old post: Drawing a vertical line inside a tabular or inside the parallel package (and how to expand parallel to have more than 2 columns. Still, it seems impossible ...
5
votes
1answer
85 views

Logarithmic bar plot

I'm currently trying to create a diagram, with a logarithmic scale on y axis. This mostly works, except that the value of nodes near coords is wrong. Without ymode=log it shows e.g. 20551 as label. ...
2
votes
2answers
62 views

Insert a picture of my signature right under my name to the right

I have the following document as follows. I need two adjustments. I need signature in print and signature as a picture on the right hand side of the page (which is on the left as it stands now). ...
3
votes
1answer
36 views

Removing extra space in alignat

I have two little problems with the alignment here: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{alignat*}{6} \Phi \left(\sum\limits_{m\in M}r_m\delta _m + \sum\limits_{m\in ...
7
votes
3answers
125 views

Reposition Text around Images

So I'm trying to work on a visual layout for a kind of Xmas card. The idea is to have a pictures in the upper left and lower right corners with the family name and date centered in the upper right ...
6
votes
3answers
125 views

No hyphenation in TOC entries, please

I have some very long section titles and do not want their entries in the TOC to be hyphenated. \documentclass{scrreprt} %\usepackage[ngerman]{babel} \usepackage{tocloft} ...
1
vote
1answer
26 views

Missing } inserted \end{center} i got this error while running following code

\documentclass[a4paper,12pt]{report} \usepackage{graphicx} \begin{document} \begin{center} {\normalsize{A Dissertation on}}\\ \renewcommand{\baselinestretch}{1.1} \vspace{5mm} {\Large\bf ...
5
votes
3answers
49 views

Array environment cell over two rows keeping alignment

I am trying to span braces over two rows while keeping the aligment in the following example correct alignment in this case the alignment is correct. I think I am nearly there, any help would be ...
0
votes
0answers
14 views

Flush left equations in beamer column [duplicate]

When I do this in beamer: \begin{column}[T]{0.6\textwidth} \begin{equation} F = m a \end{equation} This is Newton's law. \end{column} the equation sits in the center of the column while the text ...
2
votes
3answers
65 views

Change row vertical alignment in a table

I am trying to produce a table that changes the vertical alignment of the cells for different rows. At the moment I have set up my table so that all the columns are middle and center aligned. However, ...
3
votes
1answer
42 views

problem centering table

I have tried many combinations for centering following table, but none seems to work... Help much appreciated.. \RequirePackage[l2tabu, orthodox]{nag} \documentclass[12pt]{article} ...
3
votes
1answer
83 views

Aligning the \text in formula

I have, let's say, 5 of the equations spread throughout the document and I want them to be aligned similarly. The equation consist of two parts -- the formula itself and short descriptions (let's say ...
3
votes
2answers
65 views

Caption misalignment with minipage and adjustwidth

I'm trying to fit two over-sized figures side by side on one page. I tried using minipage and adjustwidth, but the caption on the second figure kept mis-aligning to the left, as shown below. I tried ...
4
votes
1answer
25 views

I want to decrease the indent to checkboxes in exam class

The indent to the checkbox is to big. I want it to be aligned with the first letter of the question. \documentclass[11pt,a4paper,addpoints]{exam} \usepackage[utf8]{inputenc} \usepackage{amsmath} ...
4
votes
3answers
126 views

How may I align the following set of equations as represented in the image?

If IEEEeqnarray environment is not best-suited for this particular alignment, what could be the best environment to be used? \documentclass[11pt,a4paper]{article} \usepackage{blindtext} ...
4
votes
1answer
33 views

Amsmath double line equation alignment centered

I need an equation that consists of three parts (or one equation including 3 equations in total), it should look like this: My code for now gives me the following: So I would like to have the two ...
3
votes
2answers
39 views

Caption shifted left with `\captionof` in a list environment

I use the \captionof command from the caption package within a list environment. I would expect the caption to be centered with respect to the page, or to move right because of the indentation of the ...
3
votes
3answers
46 views

Make use of makebox in custom environment

I am working on a custom environment, that might get larger as \textwidth (so \centering won't work), but should nevertheless be centered. I'm currently manually wrapping it with \makebox but would ...
1
vote
1answer
33 views

Cannot center tikz picture in tabular environment

Consider the following MWE \documentclass{article} \usepackage{tikz} \usetikzlibrary{fit} \begin{document} \newcommand\addvmargin[1]{% \node[fit=(current bounding box),inner ysep=#1,inner ...
3
votes
1answer
25 views

How may I left-align (horizontally) the phrase 'whence, by rules already established for monomials' of the following?

I would like my phrase shifted more towards left-hand-side. \documentclass[11pt,a4paper]{article} \usepackage{blindtext} \usepackage{mathtools} \usepackage{IEEEtrantools} ...
4
votes
2answers
186 views

How may I left-align (horizontally) the word 'Similarly' with the word 'This' in the following?

\documentclass{article} \usepackage{mathtools} \begin{document} \begin{equation*} (a+b)(a+b)=a^{2}+2ab+b^{2}. \end{equation*} This may of course be written \begin{flalign*} ...
3
votes
2answers
66 views

LaTeX chord making

I'm making a ukulele songbook and i used this code to make chords rise above the text. but it makes a small space before the word (when you put chords above). Do you know how to fix it? ...
4
votes
2answers
32 views

Special alignment about split environment

I have some trouble in formatting my formula, so far I am able to get it look like this: What I want is this: Here is my MWE I am using split, I don't think I can use align because it will break ...
1
vote
2answers
33 views

Is it possible to use \underbrace across align* environment?

I have two sets of equations in an align* environment and they are all just how I want them, but I want to draw an underbrace from the left bottom equation to the right bottom equation, but it throws ...
4
votes
1answer
46 views

Aligning the LOT and LOF captions

I try to align the captions in the LOT and LOF flush left. I had to add a word before the table and figure numbers. After I added these I could not make it flush left as you can see here on the ...
9
votes
6answers
272 views

Center hyphen between words

I have to center '-' mark in each line and it should be in the same location of each line. How would I do that? \begin{flushleft} $I(b)$ - interrogating signal\\ $h_n$ -forward ross ...
3
votes
3answers
57 views

Integer padding with something other than a zero

Consider the following example: \documentclass{article} \usepackage{siunitx,collcell} \sisetup{minimum-integer-digits=4} \begin{document} \begin{tabular}{S} {Header} \\ 1234 \\ 234 \\ 34 \\ 4 ...
3
votes
1answer
28 views

Beamer - multimedia package - movie centering not working for frame larger than `width=\textwidth`

I am trying to embed a movie in beamer using the multimedia packaged and I am having trouble centering it. I am setting the width=1.1\textwidth so the movie extends into the margins of the ...
9
votes
1answer
130 views

How to center chapter, section an subsection using memoir?

I am trying to centre chapter, section and subsection using memoir, with the following code: \renewcommand{\chapnamefont}{\centering\normalfont} \renewcommand{\chapnumfont}{\centering\normalfont} ...
3
votes
2answers
53 views

horizontal alignment of two tables with variable vertical space

I would like to have 2 very simple tables like these: \begin{center} \begin{tabular}{rl} text:&text2\\ &text3\\ something:&other stuff \end{tabular} ...
2
votes
2answers
148 views

Aligning of “=” sign in three-row formulas

How to align a "=" in the last formula that it was under the last sign "=" of the second formula. Here is my attempts \begin{align} E=\dot{\theta}\frac{\partial L}{\partial \dot{\theta}}-L &= ...
4
votes
2answers
133 views

How to horizontally align items with equations in multicols package

I am using the multicols package in combination with enumerate environment, with equations in each item. Each item is aligned horizontally with its equation, and I like that. Whay I dont like is that ...
2
votes
1answer
56 views

How to add horizontal line for subtraction in array

I already have this: \documentclass{article} \usepackage{amsmath} \begin{document} $k:\left\{ \begin{array}{cccccc}x & = & -3+3\lambda & \Big| & 4 & \Big| \\ y & = & ...
4
votes
1answer
17 views

\if leqno or reqno: command to check whether left or right eq. Numbers were set

I am defining my own command and need to check, which mode the user has set, whether reqno or leqno. Is there a way to do this?
2
votes
1answer
50 views

pgfplots : Row title in legend

I would like to add a title to each row of my legend in pgfplots. I achieved this with this example : \documentclass{article} \usepackage[pdftex, active, floats, tightpage]{preview} ...
2
votes
1answer
39 views

How to center a pgfplot? [duplicate]

I am trying to center a graph made with pgfplots with \centering. If I put \centering within a group to limit its scope, the graph does not get centered. If I don't limit the scope of \centering, then ...
2
votes
2answers
27 views

How can I use an align environment or tabbing in the algorithm environment?

I would like to have these expressions aligned so that the kerning and slightly different character widths do not result in an uneven overall appearance. I tried using an align environment within ...
1
vote
1answer
45 views

Align tikz picture on the right side of the screen, next to text

I want to have some code, and then on the right side of it a tikz picture. I tried 'flushright' but that didn't work. This is my code: \documentclass{article} \usepackage{amsmath} \usepackage{tikz} ...
2
votes
1answer
32 views

Horizontally align objects inside arrays of different equations

In this set of equations... ...is it possible, to horizontally align the columns with the xes? More precisely, I would like to shift the right hand side of the upper equation, such that the xes ...
2
votes
1answer
32 views

Text-Align inside Caption

I've some problem with formatting my figure captions form my thesis. First i'd like to describe my final result. Caption above: align left Caption below - first row (source): align right Caption ...
4
votes
3answers
54 views

Using horizontal fill to center doesn't work

I want to use the symbol for logical disjunction (the 'V'), but I want this to be in the center of the two 'x = ..'. Right now it's like this: This is the code I'm using: \paragraph{a)} $ ...