{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)

4
votes
2answers
54 views

How to do horizontal letterpaper in two halves with imposition?

I'm going to be manually binding the pages I print to turn it into a physical hard-cover book. To do this, I plan to print it on letter paper, fold each paper in half, and hold it horizontally to ...
1
vote
1answer
34 views

Problem with title page when justified in Tufte-Book

I am using Tufte Book template and defined a new paper size (10x7 inches) in .def file. Its working fine. When I use justified option in preamble ...
1
vote
1answer
46 views

Align colored numbers in table

How to align colored numbers in the last line with other numbers in the same column? \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{amsmath} ...
2
votes
2answers
30 views

Centering text in a table

I have a table which needs to expand to the width of my page and I do this by \begin{table}[H] \centerline{ \begin{tabularx}{\textwidth}{|X|X|} \hline \textbf{Number} & \textbf{Probability} \\ ...
2
votes
1answer
38 views

centering the figures in pdf documents

I used the following to insert pdf file in latex document: \documentclass[standard]{letter} \usepackage[usestackEOL]{stackengine} \stackMath \usepackage{graphicx} \def\imgi{} \begin{document} ...
1
vote
0answers
11 views

Justify text in beamer poster [duplicate]

I am using the beamer Poster Template from this page: LaTeX Beamer Poster Theme and Template and I am trying to justify the text but I cannot find any option. There is a similar question concerning ...
2
votes
1answer
27 views

Microtype, raggedright and varwidth doesn't work well with each other

I am using microtype inside varwidth environment in the way described here. It works well with justified text, but now I have very short-lined text like a verse. And sometimes microtype is working, ...
1
vote
3answers
28 views

Problem with alignment

I currently have \textbf{Theorem 4: } $\mathrm{E}[XY]=\mathrm{E}[X]\mathrm{E}[Y]$ \begin{flalign*} \textbf{Proof: } \mathrm{E}[XY]&=\sum_j\sum_i (x_i y_j)\mathrm{P} ...
1
vote
0answers
19 views

How to center navigation circle bars in beamer

I am using navigation bars in the top of a beamer slide. The problem is that he circles are not centered. How can I center them with resect to the section title? My code is ...
5
votes
1answer
147 views

Five percent circle with fuzzy edge using tikz

Consider the following code: % DOCUMENT TYPE \documentclass[12pt,a4paper]{article} % PACKAGES \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} \usepackage{lipsum} ...
2
votes
2answers
29 views

hspace not working inside mdframed

I am trying to use \hspace to align text inside mdframed box. However, \hspace seems to not working inside mdframed box. Text in the mdframed is somehow is aligned to center. Why is \hspace not ...
1
vote
1answer
28 views

Centering some cell in table + breaking up a cell

I would like to get a contingency table but I've got 2 problems * First, I would like to splits my columnname. I've tried this (as you can see below) using \, but that didn't work * I would like to ...
1
vote
1answer
35 views

Looking for a more elegant (correct) way of creating a formula

I wanted to achieve the following: And I did but my code looks like it was in a major accident: \documentclass{article} \usepackage{amsmath} \usepackage{stackengine} \begin{document} ...
4
votes
2answers
99 views

Align numbers on decimal point in tabular except for the column title

I am trying to align some numbers in a tabular on the decimal point. I have been using the dcolumn option but given that my column title is a year, it aligns also the year on the decimal point, which ...
5
votes
5answers
203 views

How do I align equations?

I need to align the following equations: The numbers, <,> signs and theta symbol are aligned as desired. But, the words on left are not. I tried this: \begin{flalign*} \textit{Angle}: ...
2
votes
1answer
36 views

Making a small modification to a itemize environment for arabic presentation with beamer

I would like to change the alignment of lists to the right ( for Arabic presentation ) with beamer. With the enumerate environment we can add some code if it is used frequently, like this : ...
2
votes
2answers
26 views

Left justified comment in table caption without caption package

I need to left justify long table captions, without overwriting all the special formatting (font etc.) of the style file I am required to use. I tried to use \usepackage{caption} ...
3
votes
2answers
35 views

several maps and images in a column like shape

I would like to have 4 maps in a row and some images of it below. The best I came with is \begin{align}\label{sumary isomorphisms} (\textrm{Im} H, [,]) \rightarrow \mathfrak{su}(2) \rightarrow & ...
2
votes
1answer
20 views

Alignat not working properly

Consider this minimal example : \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \begin{document} \begin{alignat}{2} &\frac{1}{2} log(\langle d_x, d_x \rangle + ...
3
votes
2answers
25 views

Align arrow using its midpoint

I am displaying arrows between three equations. I am using align to line up the "lesser than"-sign, but I would like the arrows to be lined up as well. And, well, they are, but they are lined up at ...
1
vote
1answer
37 views

Beamer, itemize and \hfill

As you can see in the image below, the EndOfLines are not correctly right aligned: The alignment using \hfill is different for an \item followed by an itemize environment compared to an \item followed ...
0
votes
0answers
19 views

Column alignment with horizontal dots [duplicate]

How can I recreate something like this? Is it a table? More specifically: The left side aligned to the very left, the right side aligned to the arbitrary place on the page and dots evenly filling ...
2
votes
1answer
20 views

Alignment problem of footnotes inside tables

I have a problem with footnotes inside tables. I am using the pifont package to produce dots (\ding{108}). These dots should be aligned. This works very well until I add more then 9 footnotes. Then ...
3
votes
4answers
56 views

Aligning equations in a beautiful way

This is my code: \begin{alignat*}{5} & \mathrm{B} &&{}+ \mathrm{R} &&{}\cdot \mathrm{t}_1 &&{}= \mathrm{R}_{\mathrm{max}}&&{}\cdot \mathrm{t}_1\\ ...
1
vote
0answers
27 views

from particular section, alignment is not proper. [closed]

I am working in a file for one month, but today suddenly from a particular section alignment is proper. Dont know that whether without my knowledge did any mistake...
2
votes
1answer
36 views

Horizontal space in lists with image labels

I construct a list with icons to document. Here is the MWE: \documentclass{scrreprt} \usepackage{blindtext, enumitem, graphicx, longtable, tabu} \newcommand{\myicon}[1]{% \smash{% ...
1
vote
1answer
33 views

Align Headers of subfloats correctly

I'm using the following code but the columns headers are not aligned in the center of the columns, so if anyone could please advise: \documentclass{report} \usepackage{mwe} \newlength{\tempheight} ...
3
votes
1answer
27 views

How can I left align with flushleft correctly?

Problem: The bottom-left minipage is not aligned with the text above. I want it to be aligned. Here is the latex code: \begin{document} \renewcommand{\abstractname}{Heading} \begin{abstract} ...
1
vote
1answer
24 views

How can I left-and-right justify text in columns in Beamer?

I have a slide like the following: \begin{frame} \frametitle{two columns} \begin{columns} \begin{column}{.5\textwidth} Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula ...
1
vote
1answer
41 views

Creating a large horizontal table

i want to create a horizontal table, which gives an overview over other studies in my field. I tried the following: \documentclass{article} \usepackage{hyperref} \usepackage{pdflscape} ...
1
vote
3answers
41 views

How to specify horizontal space size

I'm learning pdfLaTeX, I've tried \hfill, but it makes text after \hfill on the line at right side. More specifically, I want to make something like shown in attached picture .
2
votes
1answer
22 views

How do I change @makeschapterhead to center the title of chapter?

I redefined \@makechapterhead to short the space after and before a chapter title, but i don't know how to center it... any help? \makeatletter \def\@makechapterhead#1{% %%%%\vspace*{50\p@}% %%% ...
1
vote
0answers
30 views

Make some letters or numbers at the right hand side of document

To shift letters or digits to the right hand side of the document, I use \hfill but when a sentence used up the line, the \hfill will move whatever you want to appear on the right to the next line and ...
4
votes
3answers
41 views

Align an aligned environment nested into split

I want to align the lines inside an aligned that is nested inside a split with the rest of the equation. This is an example: \usepackage{amsmath} \begin{equation} \begin{split} \text{max:} ...
2
votes
1answer
29 views

Optional parameter of the \item command in the margin: is that behaviour normal?

The following code \documentclass{article} \begin{document} \begin{itemize} \item[A very long line that will be in the margin of my document] This is a test \end{itemize} \end{document} produces ...
6
votes
3answers
104 views

How to align multiple eqnarrays?

I tried to created 2 eqnarrays but the equations in those 2 eqnarrays don't line up together. Here is the code: \documentclass{article} \usepackage[fleqn]{amsmath} \usepackage{txfonts} ...
0
votes
0answers
22 views

LaTeX shifts the entire content to the right

How can I shift a document in latex to the right while I decrease the right alignment with the same amount? So for example, if I increase the left indentation with 10pt I want the right indentation to ...
2
votes
1answer
31 views

How to force content to jut out of a (vertically centered) table cell?

I want to force the content of one of the cells in my table to overflow the cell width by a specified amount. With c columns, negative kerning does the trick. But I also want vertical alignment, and ...
0
votes
2answers
30 views

align image to left and text along the center of image

I have a logo/image which I want to the left of the page, and word CERTIFICATE written along the horizontal line crossing the center of the image. I have been using following but it writes the text ...
1
vote
2answers
37 views

Right alignment of two left ragged lines

I have two small lines of text with different width. I want flush them right keeping their left justification and the line height of previous text. \documentclass{article} \usepackage{fontspec} ...
0
votes
0answers
19 views

How to avoid the horizontal separator while using multirow? [duplicate]

Creating a table in IEEE transaction format. The last cell of the table has to combine two rows. I can put the same text using the multirow package, but the horizontal separator cuts right through the ...
2
votes
2answers
58 views

Multi-line alignment : two pictures on the first line, third picture on the second line in a square fashion

I have three picture to show, in three different aspect ratios, and I'd like to align them so that the two first have the same height on the first line and the third has the width of the two first, so ...
0
votes
1answer
40 views

Aligning objects

I'm writing my first formal specification document and I'm having trouble trying to align text to the left and a tabular table on the right. Thanks. \begin{flushleft} A patient population ...
0
votes
0answers
24 views

Can't seem to align right the text in a tabular

Hello I am using "Extended Fancy CV Carmine Benedito" template and have a really hard time to allign the name of my school in the right... Please, anybody has an idea of what to do? Thank you in ...
3
votes
1answer
43 views

How to draw these figures in the same line

There are the figures and its code: \documentclass[11pt]{article} \usepackage[margin=1in]{geometry} \usepackage{tikz} \usetikzlibrary{shapes.geometric, arrows, ...
7
votes
4answers
103 views

Aligned underbraces between amsmath equations

I have an \amsmath aligned environment containing some equations aligned with &=. I want to be able to place underbraces between the equations in such a way that that both the contents and “point” ...
1
vote
1answer
53 views

Uneven spacing between subfigures on 2 different lines?

I'm trying to get 8 subfigures to stack on 2 lines so they match up vertically on the page. However, the top line seems evenly spaced across the page and the bottom line is evenly spaced but the gap ...
2
votes
0answers
41 views

Aligning The Title, Autor, and Date in the header of a Beamer Poster

I am using the beamer package and I have a title set at the top of the page, but I want to left align the title. So far I have this for the title portion: \documentclass[final]{beamer} ...
3
votes
1answer
39 views

Align-like environment in a column of array

I have an array in which one of the columns is a polynomial, and I would like to align the terms of the polynomial for each row of the array. My hack is to use \phantoms all over the place, but is ...
8
votes
3answers
145 views

Hanging Indents / Text Wrapping

I'm trying to implement a command to be used in place of the itemize/enumerate environments. The idea is that I want to have a command (\detail), which can be used to construct an itemized list ...