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

3
votes
1answer
145 views

Tikz: Alignment of labels relative to a split rectangle

Is there a way for accurate placement of labels relative to the center of each of the parts of a split rectangle? The following example shows two errors: Alignment is with the left side of the ...
15
votes
5answers
255 views

Behavior of \\ inside center environment

While trying to compile a title page for my dissertation I realized that I do not understand the behavior of \\. Consider the following MWE \documentclass{memoir} \begin{document} \begin{center} ...
1
vote
1answer
204 views

Aligning graphical elements with flowfram

I'm new to Latex! I've have successfully managed to get my text in the right format, but am having problems positioning a single graphic where it needs to go. Essentially it should be on the left hand ...
3
votes
1answer
111 views

dcolumn with brackets

I am using dcolumn to align cells to the decimal point. But in case of brackets, I always got overfull errors in my main document. If I replicate a MWE with the full preamble, there are no more ...
6
votes
1answer
210 views

Front page in document class book not centered

I'm using the document class book and I am designing my front page atm. I try it like this: \documentclass{book} \begin{document} \thispagestyle{empty} \begin{center} FRONT PAGE \\ \end{center} ...
8
votes
1answer
118 views

Why is this lettrine being bumped into the margin?

Consider the MWE from an earlier question: \documentclass{article} \usepackage{lettrine} %\usepackage{fontspec} %\defaultfontfeatures{Ligatures={Historical}} ...
3
votes
1answer
36 views

Alignment issue?

I am trying to align the 2 equals signs and the minus sign at the beginning of each line of the following code, but no matter what I do, it won't work. $C_{n}$ = $ \dfrac{1}{4\pi{i}} $ $ ...
1
vote
2answers
81 views

Problem with \hfill and hyphenation

When I use \hfill and in the previous line the last word is hyphenated, the \hfill doesn't work the same way as usual: \documentclass[a4paper, 12pt]{book} \begin{document} Spellings attempt to ...
3
votes
2answers
109 views

How to prevent justification in the header?

I am trying to prevent justification in my header. I have tried \raggedright so far suggested here How to prevent automatic justification of references? but no luck with this \makeatletter ...
2
votes
1answer
90 views

Left aligning a displayed equation in plain TeX

This one seems to be a rather simple question but right now I just run out of ideas. I simply want to left align a displayed equation using plain TeX, that is, I want the equation to start from the ...
4
votes
2answers
470 views

Why isn't my table centering with threeparttable?

Can anyone help me to solve my problem with threeparttable, TPTMinimum redefinition and centering environment? I haven't seen in any other topic what I was trying to do. I have something like this: ...
5
votes
1answer
280 views

Horizontally align subfloat in figure

I am putting three figures on one row, and the width is not enough if I want to show them clearly (big enough). I used to use hspace to manually shift the figure, but it doesn't work this time. (It ...
3
votes
1answer
223 views

Chapter and its name not on the same line

Sorry for being unclear. I am a LaTeX beginner and have been struggling to place the chapter name with its number on the same line where chapter is. This is how it should be: The code itself was ...
4
votes
1answer
119 views

footnotemark and footnotetext creates undesired indentation

I have looked for a solution for quite some time now, but I couldn't find anything useful. The problem seems to be minor but still visible. If I use footnotemark within align to create a footnote, ...
7
votes
1answer
100 views

Aligning text centered on left margin; mystery horizontal space

I have the following: \documentclass{article} \usepackage{calc, expl3, xparse} \makeatletter\ExplSyntaxOn \def\globalsettoheight{\@gsettodim\ht} \def\globalsettodepth {\@gsettodim\dp} ...
4
votes
1answer
92 views

Justify hebrew text

I want to justify hebrew text but cannot do so , i have added centering for a heading. even when i remove centering the text is not justified \documentclass[hebrew]{article} ...
3
votes
1answer
541 views

How to make the equations at the center

(I'm using LyX). When I'm writing multiline equations, with \aligned the align of the equations is right, how can I make it to be center? For example: Here how it looks when I writing at math ...
5
votes
1answer
309 views

System of equation, left aligned and two lines numbered

I really don't find how to create the system I am looking for, so I am asking for a little help! I want : At least two columns aligned to the left; The system name and a big brace on the left; Some ...
2
votes
1answer
660 views

How to center a tikz figure in a beamer frame

I was told to use the standalone package, which I use, but it does not seem to center the figure. What options to do I miss? Concretely, here is the main file: \documentclass{beamer} ...
2
votes
2answers
74 views

Positioning item to the left inside Table

I am facing a problem that the item is positioned on the center of the table column, may i know how to make it to be positioned on the left side of the column? This is the problem i am facing. This ...
1
vote
0answers
57 views

How to centralize specific objects in a table [duplicate]

Lads, when I'm generating this table with letters, it doesn't centralize objects as I would expect, meaning all objects should be as large as the largest one. My code is: \documentclass{article} ...
3
votes
1answer
59 views

Move list of acronyms to the right

I'm using the acronym package and I want to move the list of acronyms a bit to the right. I have the list in an independent .tex file and the code I use is: \documentclass{article} ...
3
votes
0answers
42 views

How can I redefine (or alter) the bmatrix envrionment such that all entries are flushed right? [duplicate]

I've checked around here and have been unable to find anything that solves my problem. There are several other questions that ask similar things, but the solutions do not give a global way to apply ...
0
votes
1answer
65 views

page layout for function description

I write an SDK manual in which I would like describe function using the following layout, but I have a carriage return I don't want. Parameters * unsigned int * string Return Value ...
3
votes
2answers
88 views

Why does centering not work with calligra?

I'm trying out the calligra package for a wedding order of service. Just trying to make the titles look a little nicer. When I use the \centering command, however, it doesn't seem to work: \centering ...
8
votes
3answers
226 views

Control the alignment of each “cell” in amsmath's aligned environment

In amsmath's aligned environment, the alignment of each "cell", or each "column" is predetermined, and seems to work in the following way: the first "column" is aligned to the right, the second to the ...
1
vote
0answers
187 views

Horizontal alignment (problem with minipage)

I'm new here. I just have a problem with the minipage environment. The problem is that the tables aren't horizontally aligned. I want these table aligned one by one, but I don't know what's wrong. ...
4
votes
2answers
167 views

Flushright square mark

I write the codes below to get a square as if to say q.e.d. $$equation$$\textbox{\hfill\square} Text\textbox{\hfill\square} I want the square at the right extreme of the same line. I succeed only ...
7
votes
1answer
81 views

\centering and showexpl

Consider the following MWE, where the table is clearly not centered by \centering. Actually, moving \centering outside the table environment give the desired output, but that's no good... ...
5
votes
3answers
228 views

Troubles with column width in the tables headings

Well, we all know that compose tables in LaTeX is not easy, however, despite the large number of existing packages and options to facilitate this, I still have some problems I could not solve, and I ...
3
votes
2answers
1k views

Phantom equals sign in aligned equation [duplicate]

When typing out long equations, I like to split everything up into separate lines and start each one off with an equals sign. How do I hide the first equals sign while keeping the layout exactly the ...
4
votes
1answer
62 views

Problem with column widths

I'm trying to create a table that has 2 rows: 25% and 75% of the \textwidth I also want the left column to be bold and right aligned by default. The second column is also right aligned. Now I want ...
4
votes
1answer
3k views

Simple list of abbreviations manually

I have written my whole document without using any packages like nomencl or acronym because it wasn't necessary in my case, that means I only have a few abbreviations which should fit on one page ...
8
votes
2answers
215 views

Multiple equations with a large “{” in front: alignment and labelling

I'm trying to get the equation shown in the picture. But i only manage to get the following coding. Can anyone help me to label it with numbering like the picture? I tried with \begin{eqnarray} or ...
4
votes
2answers
226 views

Centered text, aligned left

This is probably a rather trivial question, but I don't see an obvious way on how to solve it. I want to center a piece of text, but i want to have the centered text be aligned left. So I would like: ...
12
votes
1answer
168 views

How can I build an adjusted coffin?

I would like to put several lines of text stacked vertically inside a coffin, and have the coffin be the tightest rectangle containing them. One way to get a coffin containing those lines is to use ...
24
votes
3answers
734 views

Strange default exponent positioning?

Why is this red exponent so far away from the right parenthesis? To my eye it is too far away. \documentclass{article} \usepackage{xcolor} \begin{document} ...
4
votes
1answer
3k views

changepage package's \adjustwidth environment adjusts only left margin

I was trying to create a custom abstract environment with minipages and adjusted margins. Everything works fine, except for that the right margin changes according to the left. I could'n find ...
2
votes
1answer
2k views

Centering text in TikZ tree node

I'd like to have my text inside TikZ tree nodes centered; below is my progress so far: \documentclass[10pt, a4paper]{article} \usepackage{tikz} \usetikzlibrary{arrows} \begin{document} \tikzset{ ...
4
votes
1answer
236 views

How to adjust row height in table?

I am generating Russian table and row height issue. Below is part of my code (MWE). \documentclass[11pt,table,a5paper]{article} \usepackage{graphicx} \usepackage[framemethod=TikZ]{mdframed} ...
3
votes
1answer
211 views

To fix alignment in text added to Table of Contents?

My school requires tables of contents formatted like this -- please note the little headings, in red: I have it almost ready, except for a pesky misalignment in the second page of the table of ...
6
votes
1answer
826 views

Center longtable horizontally over two pages in landscape

I have a longtable in a landscape environment that ranges over two pages, and where I have introduced a page break where it is most appropriate contentwise. The table including descriptions is too ...
3
votes
2answers
66 views

How can I get “block” justification

I would like all my paragraph text to not start with indents at beginning of paragraph. And both sides justified against the margin (left and right).
3
votes
2answers
51 views

How can I align this tabular so that true on the right of page?

I want to align this tabular so that it is true on the right of page. I tried \documentclass[a4paper, 12pt]{article} \usepackage{lipsum} \begin{document} \begin{flushleft} \begin{tabular}{ c c } ...
1
vote
1answer
88 views

Table caption to the left or right of table

I am unable to find a method to place the caption of a table to the right or left of this specific table. Does anyone know if there is a way to do this in plain TEX or Koma Script (eventually in ...
2
votes
1answer
50 views

How can I center the titles in the table?

I have the following table in LaTex. How can I center ABC and DEF? \begin{tabular}{|p{3cm}|p{1.5cm}|p{1.5cm}|p{1.5cm}|p{1.5cm}|} \hline \centerline {i} & \multicolumn{2}{l|}{ABC} & ...
2
votes
1answer
129 views

How to use apa6 man and have justified paragraphs

I want to be able to use the apa6.cls class man but paragraphs are flushed to the left, and I want it to be justified.
3
votes
1answer
170 views

Optimizing size (font AND width) of tables produced with dcolumn/siunitx

I have a couple of tables in my document, and it's time to finalize them. This means I want to optimize: 1) the size of the font (if possible obtain \normalsize as in the rest of the document, or at ...
7
votes
1answer
3k views

Beamer: Text Justification in blocks globally

I can get text justification in blocks by using \justifying. Is it possible to justify the text within each block globally without using \justifying in each block? Thanks MWE \documentclass{beamer} ...
4
votes
1answer
94 views

Aligning \item dots partially in minipage

As you can see on my added image, I have added the first \item in a minipage together with a figure which results in the "item dot" is a little more centred then the two other "item dots". I have ...