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

6
votes
2answers
993 views

Align the roman numbers of the parts in ToC

How can I align the roman numbers of the parts in this manner? The alternative is to use an arabic enumeration. I would not any changes at the TOC of classicthesis outside of the alignment of the ...
3
votes
1answer
565 views

Center table or tikzpicture horizontally ignoring margins

How can I center a table or in my case a tikzpicture horizontally ignoring the margins? My tikzpicture is slightly too big causing it not to be centered properly(sticks into the right margin slightly ...
5
votes
1answer
398 views

Moving display mode to the left [duplicate]

Possible Duplicate: Left align (to the page) displayed math I have a document in which I want to use display mode, but want the expressions left-aligned instead of centered. So far, I've ...
15
votes
1answer
506 views

A center environment for plain TeX

In TeX, one can center a single line of text with \centerline. How would one implement a center justification environment for a single long line of text in plain TeX without the addition of any ...
3
votes
1answer
431 views

TOC Page Numbers, A-pagenum left aligned, S-pagenum centered

I have customized some page numberings. My adviser wanted appendix pages labeled as A-pagenum. So that was accomplished with \renewcommand{\thepage}{A-\arabic{page}} while my supporting info labeled ...
4
votes
3answers
3k views

hspace in tabular

How can I move the summation equation that appears at the bottom of column 3 to be centered with the column 3rd column. Using \hspace hasn't been successful thus far. ...
1
vote
2answers
262 views

Center Formula in self created environment

I use a environment called loesung which I created by myself. Now I have a formula in that environment, but I want to have that formulas centered. Not left aligned, here is my code: ...
6
votes
2answers
105 views

Aligning problem

Is there a way to align the telephone numbers and email in this example, and how should one go about it? I've not used LaTeX in a really really long time. \documentclass{article} ...
8
votes
4answers
253 views

How to align five equations on three lines, e.g., 2-2-1, with the last equation centered?

I'm trying to use the alignat environment to arrange five equations on three lines as follows: two equations on the first line, two equations on the second line (aligned with those of the first ...
4
votes
2answers
197 views

Itemized table layout

quick question: I copied this code: \documentclass{article} \usepackage{amsmath,amssymb,calc} \def\horizlist#1#2#3{% \setcounter{enumi}{0}% #3% \flushleft \newlength\stringlength ...
5
votes
2answers
706 views

Creating an automated table of signs

When solving some inequalities in the context of algebra-precalculus course it is sometimes useful to sketch the behavior of the factors involved using a table. All becomes clear with an example - say ...
1
vote
1answer
233 views

Table of Contents - section numbers and section headers too close

I'm using Springers svmult templated for a book with editor. There is a problem with the TableOfContents (ToC): When the section number only includes digits 1-9, everything looks ok, e.g. Header ...
1
vote
2answers
1k views

How to change the position of the caption in a “narrow” and “minipage” environment?

I have some huge figures to include in Latex. Therefore I use the "minipage" and "narrow" environment to place it right at the desired position and to move it to the left until it looks centered. ...
9
votes
1answer
378 views

How to split and align equations when they are inside an enumerate environment?

How to make the first line of aligned equations sit in the same baseline as the bullet and make the equation left justified? \documentclass{article} \usepackage{amsmath} \begin{document} ...
2
votes
1answer
135 views

Customize horizontal positon of table within page

I am using memoir package and I want to generally left align tables (In contrast to figures that should be centered). I am using the hmisc latex function which generates this float table code, but I ...
1
vote
1answer
785 views

side by side minipages with keepaspectratio=true

This question may seem superficially similar to side by side minipage figures but in fact I believe its different. This code produces a result which is messed up (the text should be under the ...
2
votes
1answer
202 views

Automatically center array of images inside table cell

I have this kind of table: \begin{tabular}{p{0.5\textwidth}|p{0.5\textwidth}} caption1 & caption2 \\ \includegraphics[params]{path11} \includegraphics[params]{path12} ... ...
14
votes
3answers
24k views

side by side minipage figures

I have this code where the part marked A is the same as the part marked B except that .4 in A is .45 in B. Even though they are so similar the first one puts the images side by side with the ...
0
votes
0answers
65 views

consistently centering figures and tables that exceed margins [duplicate]

Possible Duplicate: Center figure that is wider than \textwidth I have a myriad of plots to include in my document and for best quality they all fall beyond the document template margins. ...
10
votes
1answer
687 views

Customize endnotes

For customizing footnotes in LaTeX, I use the footmisc package. Specifically, to remove indentation and text justification in footnotes, I add the following to my preamble: \usepackage[hang, ...
8
votes
1answer
186 views

Indent and spacing in tables (or: How to do it better?)

I'm using the tabular environment in order to properly display my address in the text. But as the following example shows, the first column of the table doesn't align with the main body text. Also ...
19
votes
1answer
5k views

Description list with aligned descriptions

This forum thread is exactly what I'm looking for. I want my description environment to produce this: Label is long text lab2 blalballalaa label3 possible second rule label ...
8
votes
1answer
465 views

How to force equation to be closer to the sum operator?

I would like to know if it is possible to force the equation to be closer to the operation sum? When there are a lot of subscript under the sum operator, it tends to pouch the equation to the right, ...
7
votes
1answer
727 views

Right-align numbers in ToC

How do I right-align the section/subsection/.. number in the ToC? The distance between the number and the heading should be fixed. Instead of | 1 Section | 1.1 Subsection I'd like ...
5
votes
1answer
839 views

Center parts in toc with tocloft

I'm trying to create a toc in a large Latex document which uses the KOMA script. In the toc I would like to center the parts and remove all other components (pagenumber, partnumber). I use tocloft (a ...
3
votes
1answer
861 views

put same address middle below authors names sig-alternate.cls

How do i make the university address appear below the authors names and in the center ? I need to do this because both authors are having the same address. This is my existing code \author{ ...
5
votes
1answer
225 views

Centering first line of an align environment (Simulating \multicolumn{2}{c})

I often need align environments where the first line is centered, e.g., when first introducing the types of the functions to be defined, then defining them. I essentially want to obtain the effect ...
0
votes
1answer
99 views

Centering a table while ignoring the 1st column in centering procedure

I want a table to be centered except I don't want the first column to be considered in the centering procedure. That is, I want columns 2 to N to be centered perfectly, and column 1 to be hanging off ...
2
votes
1answer
4k views

Adjust the caption to figures on minipage

Using minipage, is posible to split the (a) (b) letters above any figures, in order to perfectly center them? \begin{figure}[tpb] \subfloat[]{ ...
2
votes
2answers
154 views

Justification in table

How to justify a table column like: \begin{table}{j j} ab cd & ef gh\\ ij kl & mn op \end{table} where j stands for justified column, i.e. both right and left are aligned. Thanks...
5
votes
2answers
109 views

Enforcing new paragraph indents in book style

I'm having trouble getting the paragraphs in my document to indent. I'm not sure what could be wrong, as I thought this was default behaviour. Here is a cut down version of my tex file: ...
1
vote
0answers
201 views

numbers before decimal separator do not align in table column [closed]

I want a table column that is aligned at the decimal separator. For that I use the S column type defined by the siunitx package. However, when I do this, the numbers left of the decimal separator are ...
4
votes
2answers
470 views

memoir: sidecaption: ragged against the text block not working

I want to use the sidecaption environment in a figure with memoir and have the caption text be ragged against the text block. But when the figure is moved to the next page, the caption is on the ...
8
votes
1answer
3k views

How do I set right alignment in a longtable column with a fixed width?

How do I set right alignment in a longtable column with a fixed width? I have \begin{longtable}{p{3cm}p{8cm}} and I'd like my first column to be aligned on the right.
3
votes
1answer
722 views

Puzzled as to “centering” of KOMA-script captions

Section 3.20 of the KOMA-script documentation ("scrguien.pdf", pp. 120-1) prescribes the syntax \setcapwidth[justification]{width} for the formatting of a caption. [c] is the option for centering. ...
3
votes
1answer
446 views

pgfgantt: Labels not properly centered

I am trying to create a Gantt chart, and found this wonderful package pgfgantt. However, my labels do not get properly centered in the boxes. Am I doing something wrong? Is there a way to get the ...
5
votes
1answer
403 views

Independent Columns Environment

I am creating a two-page syllabus with a tikz calendar in the left column and all of the content on the right side of the page. Currently the right content is just like a normal article class document ...
4
votes
2answers
272 views

Misalignment in custom big symbol using mathop

Following the advice of this question, I created the \itsep symbol: \newcommand{\itsep}{\mathop{\scalebox{1.5}{\raisebox{-0.2ex}{$\circledast$}}}} When used with single character sub/super-scripts, ...
4
votes
1answer
691 views

Caption centering does not work

I am using subcaption package to plot subfloats in my report. However, the caption for subfigures are not centered. Here is what I have done: \documentclass[10pt]{report} ...
4
votes
1answer
474 views

number separator formatting with ragged right positioning using siunitx, R, Hmisc::latex

I found Boris's suggestion to use siunitx to achieve number formatting in Hmisc::latex tables to almost be exactly what I was looking for: R, Sweave, Hmisc: pretty-print numbers However, if you look ...
0
votes
2answers
2k views

Put formulas on the left position in LateX [duplicate]

Possible Duplicate: Left align (to the page) displayed math As you know the following equation will be in the center: $$ \sum_{\substack{a\leq1/2\\0<b\leq T}}\frac{2+a}{2|b|} $$ And ...
2
votes
1answer
175 views

Centered, left-aligned list

I'm attempting to left-align a centered list of elements. \begin{center} \begin{align} \begin{description} \item[] lorem \item[] ipsum \item[] lorem \item[] ipsum \end{description} \end{align} ...
10
votes
1answer
355 views

Using \vtop affects indentation of \intertext

I am using the \iteminput macro from the solution at How to adjust macro to respect current \linewidth? to import content from other TeX files. However, this appears to be effecting the indentation ...
6
votes
2answers
2k views

Aligning address with body of letter in scrlttr2

In scrlttr2, I wish to align the address with the body of the letter. I tried this: \@setplength{toaddrhpos}{\oddsidemargin} But it moves the address almost to the left edge of the paper. How can ...
7
votes
3answers
4k views

\centering doesn't seem to center my text

I am trying to center this page but it will not work. All is get is for the first line to be indented about one "tab" space to the right, but the second line will not shift. However, the first ...
5
votes
1answer
703 views

tabucline with a break

In the following the first two columns are different in nature from the last two and I wanted to emphasize this by having a break in the horizontal line. I drew lines across columns 1 and 2 and then ...
4
votes
2answers
2k views

Long equation with left and right justified

Good day to all, I have below equation, the first equation exceeds my margin if written in one line. So I want it appear in two lines which the first line is justified at the left side and the ...
2
votes
1answer
567 views

Allow floatfoot to left-align beneath figure, but extend past right

I can set my \caption and my \floatfoot as separate widths, using the following example, based on the answer to my previous question: Different width for caption and floatfoot with floatrow ...
3
votes
3answers
2k views

How to align TikZ picture and text side by side

I want to add a TikZ picture beside a text block \documentclass{article} \usepackage{lipsum} \usepackage{tikz} \begin{document} \lipsum[1] \begin{tikzpicture}[color=white] ...
7
votes
1answer
555 views

Align the names in \listtheorems (ntheorem)

Question: How do I align the names of theorems in ntheorem list of theorems? Screenshot: Screenshot: (photoshopped) Context: I am using the ntheorem package to typeset a list of theorems and ...