{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
31 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
47 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
90 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
19 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
33 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
277 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
42 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
57 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
32 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
57 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
49 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
42 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
53 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
26 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
28 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
56 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
20 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
53 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
55 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
45 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
27 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
37 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
36 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
52 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
29 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
46 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
80 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
93 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!
5
votes
5answers
492 views

How to format the case equation to look nicer?

I want to typeset the equation in my beamer frame: This is my solution and of course, it doesn't look well. And my code is : \[ \parbox[c][2cm]{2cm}{Attainable \\ GFlops/sec} = ...
1
vote
2answers
47 views

Properly align two very long lines in multlined

How do I get rid of the indentation of the second line? I would like the two lines to be aligned to each other. I had thought that both having maximum width, the first being left-aligned, the second ...
3
votes
1answer
49 views

hline not filling up in tabularx

I created a table with the following code: \begin{tabularx}{14cm}{|X|X|X|X|} \hline \multicolumn{4}{|c|}{\textbf{\cellcolor{gray!20}contentcontent}} \\ \hline ...
2
votes
1answer
45 views

Labeling an equation without making it center aligned [closed]

I know that we can use the \tag{label} command to label an equation. However using this makes an equation center aligned. How do I keep the equation left aligned and still have a tag for the equation? ...
2
votes
2answers
82 views

Justify and center text

I would like to justify and center text in the following manner: Notice how each line is exactly the same length. How is this done? I am using a documentclass article and no packages.
5
votes
5answers
222 views

Align a word to a point past the right margin

I made a simple title command: \documentclass{article} \RequirePackage{graphics} \newcommand{\modtitle}[2]{% \vspace*{-5\baselineskip}\noindent\hspace*{-.75in}% ...
5
votes
1answer
47 views

KOMA-script titlepage misaligned author

I'd like to set the titlepage of a koma-script scrbook left-aligned, i.e. \raggedright. I do this using \addtokomafont as follows: \documentclass[]{scrbook} \addtokomafont{title}{\raggedright} ...
4
votes
1answer
76 views

Vertically align two separate TikZ figures below each other using the subfig package

The following minimal working example does not vertically align two rectangles drawn by TikZ. The result can be found here. Somehow the second rectangle seems bolded, but that is not the case when I ...
0
votes
0answers
32 views

Sidecaption layout question using sidelegend memoir

Linked to this previous post, i make some tests to have more elegant sidecaption using memoir class. I try to reproduce this layout, with two type of caption style : a normal centered caption with ...
1
vote
1answer
55 views

Beamer query, center justify \frametitle

In beamer, to center justify the frame-title, one uses this: \setbeamertemplate{frametitle}[default][center] This is what I have as default: ...
2
votes
1answer
37 views

Tabular gets aligned to the right for no obvious reason

I have a tabular which gets aligned to the right while I use \centering. I'm using the article class with only the packages babel and array. The code I have: \documentclass[paper=a4]{article} % A4 ...
3
votes
2answers
37 views

Center and box itemize list with formulas

I'm trying to center and box the formulas under the subsection Properties of Definite Integrals; however, the box is not wrapping to just the formulas it's extending to the right a bit and I can't get ...
0
votes
0answers
18 views

Not able to center media when using \includemedia in figure environment

I am new here but this seems to be a good way to get help. I am including an animation in a pdf file using media9. To put a caption like any other figure I am using the figure environment. The code ...
1
vote
1answer
55 views

Alignment of CV Reference in ModernCV

I'm using the latex template for CV from here CV Template. For reference, I added these lines \newcommand{\cvdoublecolumn}[2]{% \cvline{}{% ...
4
votes
3answers
79 views

Horizontal placement of a framebox

I would like to horizontally offset a framed paragraph of text so that the sides of the frame coincide precisely with left and right margins of 2em on a page with a text-width of 6.5 inches. ...
2
votes
1answer
39 views

Problems with centering a border matrix

I have the following code: \begin{figure}[h!] \centering \bordermatrix{~& \ket{\Phi_{0}} & \ket{S} & \ket{D} & \ket{T} & \ket{Q} & \dots \cr \bra{\Phi_{0}} & E_{0} & ...
4
votes
3answers
113 views

Put centered text in bottom of image using overpic?

I have a graph for which I want a centered x-label at the bottom. The idea is to use overpic and then insert som text at the bottom using \put(50,1){some x-label}. The problem is that \put places the ...
5
votes
2answers
134 views

Chapter and Section format

I want my chapter titles to look as they would with the code below. \documentclass[12pt]{book} \pagestyle{plain} \usepackage{amssymb,latexsym} \usepackage{amsmath} \usepackage{amsthm} ...
4
votes
1answer
53 views

fp alignment in tables

Can anyone explain why the output from these two entries is different? Does anyone know how to make the second one match the first? \documentclass{article} \include{fp} \newcommand\entryOne[1]{ ...
3
votes
2answers
29 views

minipage caption overrides

I am using two mini pages side by side. The caption of both the figures are too long, that the caption of both the figures merges each other. I would like them to be separated by some space. *edited ...
2
votes
0answers
40 views

Centering bibliography title in biblatex - tried every suggestion on Google

I know this question has answers on this site already, but none of them worked! I am using biblatex with the historian style for my history day paper. My teacher requires the bibliography heading be ...