{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
2answers
30 views

Centre Decimal aligned multicolumn

I have some decimal values in a table that I have aligned by decimal point but I would like them to be centred to the column. So far I have: \begin{tabular}{l r@{}l r@{}l r@{}l r@{}l} \toprule Weeks ...
1
vote
1answer
32 views

Cannot make \arraybackslash work after defining custom columns

I use: \usepackage{array} \newcolumntype{fwLa}[1]{>\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} ...
5
votes
1answer
53 views

Using TikZ current page node in memoir class

I need to use the current page.center position in a memoir document to center some images on a page. (unless someone has an entirely different suggestion about how to display images like this.) ...
2
votes
1answer
58 views

eps images turned out to be shifted in pdf file

I am trying to include an image. This picture should be centered and should not exceed page width: \documentclass{article} \usepackage{graphicx} \usepackage[showframe]{geometry} \begin{document} ...
3
votes
1answer
31 views

Vertically equalities in align should be even

I want to know how to make a proper align where the equalites should be even vertically. \begin{align*} \Gamma(\lambda_{1})\Gamma(\lambda_{2})&=\int_{(0,\infty)^{2}}\phi(u,v)\, ...
3
votes
2answers
53 views

centered text in sticky labels package

I'm trying to print a bunch of labels and using the LaTeX labels.sty style documented at http://tug.ctan.org/macros/latex/contrib/labels/labels.pdf These are not for street addresses (which are ...
1
vote
1answer
30 views

Centering multiple images

If I try to center multiple images, as below, the first image has a small indent. Can anyone tell me why? \documentclass[11pt]{article} \usepackage{enumitem} \usepackage{caption} ...
0
votes
1answer
64 views

Fixed column width ruins alignment of table row using Lyx

I am having the worst luck with a table I am trying to create. The problem occurs when I want to have multiple lines in a column, I use the trick posted on here (and I think Lyx's wiki) and set a ...
6
votes
2answers
92 views

How to center text without adding space using modified center environmet

Firstly I'm very sorry because this question was in fact answered already. I only have a question to the following answer and I'm not allowed to comment there directly: ...
1
vote
1answer
30 views

Aligning content (e.g. a header from fancyhdr) horizontally with the right column

I haven't seen this asked anywhere here yet but I still think it might be useful for people attempting to create slightly more complex layouts. The idea is pretty simple, I'm trying to align content ...
2
votes
1answer
45 views

Flush left Table of Contents title in revtex4

I am using revtex4, and I would like to flush left the title of the table of contents, that I customized to be 'My Title of Table of Contents' in the following example. May you please help me with ...
3
votes
3answers
77 views

itemize - alignment of custom bullet symbols

I'm trying to use some icons from the fontawesome package as bullets for the itemize environment. As there are different characters and they are not the same width, the alignment looks mangled: ...
6
votes
2answers
156 views

Is it possible to typeset with angled margins?

I'm typesetting a book using memoir in XeLaTeX, but on some pages, as an accent, I would like to make an angled margin, something like this: Even if I have to define the page limit separately ...
1
vote
1answer
42 views

How to make flushleft work on multicolumn title?

In the below code, "Title3Title3 Title3Title3 Title3Title3" is misaligned with the other titles because flushleft does not seem to work with multicolumn titles. How do I left-justify all of these text ...
3
votes
2answers
88 views

How to typeset a smaller size book with trim marks from letter paper stock?

How could I use the memoir package (or anything else, that's just what came to mind) to output a letter paper size document, but typeset with a different page width (9" by 7" in my case) with a trim ...
6
votes
4answers
123 views

Align multiple equations with parts inside root

I am having trouble aligning the following inequalities in such a way that, on the right hand side, the first bracketed parts within the cube root are aligned below each other. Additionally i would ...
2
votes
1answer
64 views

Remove horizontal space from align and equation globally

I want to cram as many equations that I can in align environment. I was able to set the margins to zero and remove the space before and after the equations. Se below example code. However, currently ...
3
votes
1answer
154 views

Center TikZ node relative to path

I made this diagram in latex, but I can not center the item 'j', corresponding to line 38. Could anyone help me?The diagram of the script is listed below. I tried to use midway on the 38 line, but he ...
3
votes
2answers
42 views

Vertical alignment of figure in a tabular. (Automatic width)

I'm trying to align photos and text vertically and horizontally in the middle of each tabular. I've tried the 'array' package but it seems like I need to define the width of the column. I want the ...
3
votes
1answer
68 views

Underbrace an equation with its result

I have several formulas that are too long to fit into the \textwidth of my page. That's why I want them underbraced with the result-formulation beneath them. Something like this. ...
1
vote
2answers
56 views

Adjust table to fit within the page

I am generating a table but I dont know why it's getting out of the page! [\begin{tabular}{|*{3}{l|}*{5}{c|}} \hline \textbf{Participant} & \textbf{Systèmes} & ...
2
votes
1answer
45 views

How can I horizontally align text in a multirow element?

In the tabular environment, horizontal alignment is traditionally achieved using such arguments as l, c, and r for the table spec. However, when \multirow (from package multirow) is used, the chosen ...
3
votes
1answer
51 views

Alignment of points [(1), (2) and (3)]

I want to produce (1) blablabla (2) blablabla (3) blablabla I want to make (1), (2) and (3) are all on the same vertical line How do I make it? I tried \indent command or some kind of ...
4
votes
2answers
104 views

Vertical Table Alignment - the nightmare

People, I've looked to multiple questions already asked about this theme but I can't find a straight answer! I have the following table: And, as you can see, there are multiple problems! I have ...
2
votes
1answer
26 views

Centering a figure with multiple graphics to the page width rather than the text column width

So I am still new to LaTeX. I have a figure that has 2 graphics side by side each with their own respective captions. My problem is that by default, LaTeX wants to allign the leftmost side of the left ...
3
votes
1answer
40 views

Write words within a certain length

I am looking for a way to write some words within a certain length, filled by space on the right side, so that I could align words without making a table. Image that there is a command to do so, ...
4
votes
1answer
289 views

How Can I Find the Length of a Space in TeX?

I have implemented the horrific document \documentclass{article} \newcommand{\testspace}[1]{\hspace*{\fill}\(\vert\)\hspace*{\fill}\\ \null\space\(\vert\)\hspace*{3.3pt ...
4
votes
3answers
56 views

Spacing issue with algorithmic and eqparbox

I am using the algorithmic package to display code. In order to get flush-right, left aligned comments, I also use the eqparbox package and redefine \algorithmiccomment; see minimal example below. As ...
6
votes
1answer
76 views

Command to fill paragraph with repeated text (alignment/spacing problem)

I am trying to define a command \todopar[dummy]{msg} that fills a paragraph with dummy repeated a number of times and msg typeset centered in the paragraph. The end result should look like this ...
2
votes
1answer
53 views

Alignment of modified veelo chapter style (memoir)

I'm having some problems modifying the veelo chapter style. Due to my smaller margins (I need A5 paper size), the regular veelo didn't work correctly. So instead of having the chapter number in the ...
1
vote
1answer
67 views

Positioning and spacing of tables

I'm new to LaTeX and I already know that my question seems too stupid. Actually I'm writing a text as follows: The exact dimensions of the system are listed in Table……\\ \begin{tabular}{|c|c|} ...
1
vote
0answers
50 views

How to center my text on the left? [closed]

I'm using this code to code a simple project management paper, but when I'm writing the "Use : ..." of the name of the project, it's centered on the page. I want those informations to be on the left ...
2
votes
1answer
50 views

Cant justify text

Let's say we have following code: \documentclass[a4paper,14pt,final,draft]{extreport} \usepackage[left=3cm,top=2.0cm,right=1.5cm,bottom=2.7cm]{geometry} \usepackage{changepage} ...
5
votes
2answers
54 views

Center the terms in an equation?

I have the following equation: Notice how the last two terms are not centered? If I use the code specified below, I would get that effect. Now, what I would like to have is the effect shown in the ...
1
vote
1answer
31 views

Problem with vertical alignment nesting align and aligned

I'm trying to write a good-looking optimization problem in LaTeX using amsmath. The MWE is this: \documentclass[letter, 10pt, conference]{article} \usepackage{amsmath} \begin{document} ...
2
votes
1answer
30 views

Left align 3 different equations

I would like to left align three different equations of three different lengths. As of now I am using this code: \begin{equation} log_{10}M_{200} = ...
1
vote
2answers
66 views

Centering footer relative to paper in memoir

I would like to center the footer of a pagestyle not relative to the margins of the page, but rather relative to the width of the physical paper. I created a pagestyle specifically for the title page. ...
2
votes
1answer
22 views

Problem stating the points under paragrah

This is what I am trying to do We discuss here SW coding with the help of a toy example. In this example, we assume that X and Y are each of 3 bits. Moreover, X and Y differs at most in one bit. ...
3
votes
1answer
64 views

How can I effect the same horizontal alignment, here?

When I start with the code shown below, I experience the following alignment problem: How do I make it correct alignment? Also, I want to encircle some special question numbers... How can I do ...
5
votes
1answer
67 views

Customize list in bibliography produced by biblatex

I'm using BibLaTeX for bibliography management with bibstyle=gost-numeric which is not that common, but the problem is the same with more common bibstyle=numeric. I want a list produced with ...
2
votes
2answers
50 views

How to expand \align mode into two pages by following the end line of the previous page

I have a big matrix and each element of it has many stuff. The problem I'm facing is that the align mode is trying to make each equation to be fitted into one page. For example, in the following code ...
0
votes
0answers
31 views

Figure alignmetnt regards

\documentclass[10pt]{exam} \usepackage{pgf,tikz} \usetikzlibrary{arrows} \pagestyle{empty} \newcommand{\degre}{\ensuremath{^\circ}} \begin{document} \definecolor{qqwuqq}{rgb}{0,0.39,0} ...
3
votes
2answers
43 views

Flush Text to the Left in an Unaligned Centered Equation

I am looking for a way to write several centered equations with a left-aligned text on each line. In other words, I would like to mix the functionality of flalign with gather (so the first column ...
2
votes
1answer
65 views

Centering of figures doesn't work with SCfigure (Using TeXshop for Mac)

I have a problem using SCfigure. I want to have my caption in the margins on the right side but the figure itself should be centered. But \centering doesn't work. Does anyone know how to fix this? ...
2
votes
3answers
70 views

Problem with \quote and \raggedright in ModernCV

Having an issue with the \quote part of ModernCV. \quote{\raggedright \lipsum[2]} Whilst the above produces exactly what I'm after, any effort to replace \lipsum[2] with other text results in ...
1
vote
1answer
32 views

Centering equation while placing the “for” section to the utmost right

I would like to know how I can center the equation, but place the "for i=1,...,p" to the utmost right. \begin{align} \label{meth:regular:lin:phoneydata} ...
1
vote
0answers
18 views

Change horizontal alignment of equation tags [duplicate]

By default, equation numbering seems to left align. However, I would like instead to indent the equation number just slightly. The motivation for this is to align the equation number with the body ...
2
votes
1answer
59 views

Table in double column paper format

I am writing a research paper in double column format but the table is not fitting in the format . It looks like this My table is not displayed properly. This is my code. \begin{table}[!h] ...
3
votes
2answers
95 views

Alignment of enumerate (numbered by subsection) and the existing text

I have a document full of lists which I need to refer to later in the document. Therefore I number my lists (enumerate) by subsections. I have chosen to specify this globally by this line in the ...
4
votes
2answers
110 views

Horizontal shift in tabular environment

My question is the most efficient way to do in tabular environment the last row of the table in the image below. Numbers are shifted horizontally by an half column. thankyou!