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

1
vote
0answers
27 views

from particular section, alignment is not proper. [on hold]

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
20 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
26 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} ...
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
39 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
18 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
28 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
38 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:} ...
5
votes
3answers
101 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} ...
2
votes
1answer
29 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
26 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
35 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
54 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
39 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
23 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
41 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
94 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
48 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
39 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
35 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
138 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 ...
1
vote
1answer
59 views

How to align item labels?

When I try to answer the a matching question in my assignment, I find that my final PDF of the four answers shown above are not aligned with each other. It seems that the lowercase "b" is taking more ...
3
votes
1answer
60 views

TeX expert needed: how to \setto(optimal)width?

there is a problem I have been trying to solve for a while but without success so far. As far as I know, TeX is very good at appropriately breaking text lines with respect to a fixed container width. ...
2
votes
1answer
45 views

How to center an `itemize` in beamer, together with its headline?

I failed to center an itemize in beamer, together with its headline. In my second try below, although the items are centered, their headline (i.e. the text My second try: Centering the itemize) is not ...
4
votes
3answers
60 views

Aligning headers with column better

The columns are slightly offset from the headers. I've tried playing around with a bunch of things (which is why the code is a bit of a mess now). Any suggestions how to fix this? ...
3
votes
2answers
30 views

equations overlaping equation number in cases environment

I'm working with a long equation in case environment, the problem is that the equation overlaps the equation number... any ideas on how to solve that problem. I've thought on aligning it all to the ...
3
votes
2answers
114 views

How to make things symmetric around an arrow

Can someone tell me what commando is needed to make expressions like in the text below. I mean like it is symmetric around the arrow.
1
vote
0answers
29 views

Is there any difference in the default text alignment between document classes book, report, article, and so on?

I've come to the question if there are differences in the text alignments regarding the document classes. I'm trying to justify a text in my whole document (report). Reading question I came to the ...
2
votes
1answer
39 views

How to specify the starting point of a horizontal bar in latex?

How to specify the starting point of a horizontal bar in latex ? For example, I want to plot a horizontal bar between (2, 5) and (10, 5), which is a horizontal bar with a length of 8 and starting at ...
2
votes
0answers
41 views

Adding words centered above other words with TikZ v2 [closed]

EDIT: Please vote to close this question as "Unclear what you're asking". My problem and my understanding of it have developed in such a way that this question is now too messy. I have opened the new ...
4
votes
1answer
24 views

Make memoir class \flexlabelled left justified

In Memoir class, I can \usepackage{enumitem}, and then make a nice description list. I tried to do the same with Memoir's built-in flexlabelled environment, but the labels are fully justified. MWE: ...
6
votes
4answers
92 views

Aligning equations with two equal signs

I am trying to write three equations, second with two equal signs. I would like the first two to be aligned by the first equal sign, and the second and third by the second equal sign. I have the ...
4
votes
1answer
119 views

Interrupted list formatting options [duplicate]

I have an odd list, interrupted by normal text introducing its last item: \documentclass{memoir} \usepackage{enumitem} \usepackage{lipsum} \begin{document} \lipsum[1] \begin{enumerate}[itemsep=-4pt] ...
1
vote
0answers
32 views

How to align item labels according to the longest one automatically?

Time for revenge! I've been fighting with this problem of aligning items according to the longest label automatically for some time now (see first two examples below). The left side of the longest ...
0
votes
0answers
14 views

How to position two figures side by side with custom alignment? [duplicate]

I would like to put two figures side by side such that they are centered on the page and have an arbitrary (given) space between them. Although there are a lot of similar questions here, none has ...
1
vote
1answer
21 views

center environment nag-warning for floats in beamer

The nag packages gives a warning when using floats in beamer presentations. When removing the figure or table environment, no warnings are given. How to proceed from here? Tried ...
2
votes
0answers
59 views

How to place two plots inside a node?

I'm eager to have two plots (of the algebraic functions) placed horizontally inside a node. I'd like them to be signed, so something like caption (below the plot) is needed. One of them — "the good ...
5
votes
1answer
27 views

Trouble with nested matrices

I have tried repeatedly to google for the solution to this problem. I have a matrix that looks like this. But I want it to look like this. Notice how the B, C, D and E are "very tightly centered" ...
1
vote
0answers
29 views

How to align a single header to the right?

This is my situation \begin{minipage}{\textwidth} \begin{minipage}[t]{0.65\textwidth} \section{Section 1} Content 1 \end{minipage} \hfill \begin{minipage}[t]{0.25\textwidth} \section{Section 2} ...
2
votes
2answers
60 views

Multicolumns with equation format

I'm currently writing a summary for my semiconducter devices course and I'm trying to do it with Latex (just started today). I have the following problem: I have two chapters with two formulas each. ...
1
vote
1answer
34 views

Latex table centering

I'm wondering how could I center text in table vertically and horizontally? I've seen several manuals and answred questions, but there are many way to create a table and as I'm a begginer in Tex I ...
4
votes
3answers
61 views

How do I center an entry across columns in a pmatrix?

I have a matrix of the form: \documentclass[]{scrartcl} \usepackage{amssymb,amsmath,amsthm,amsfonts} \begin{document} \begin{equation} \begin{pmatrix} \boldsymbol{\Phi}_{l,t}^F \\ \mathbf{0} & ...
0
votes
0answers
9 views

Change spacing of the matching environment in examdesign?

I'm using the matching environment in the examdesign class. My problem is that the left column contains longish sentences that makes the layout look a bit wonky: Is there a simple way to extend the ...
6
votes
2answers
83 views

Left-aligning nested labels in enumerate

I'm trying to tweak the way nested lists appear for enumerate. Right now, using enumitem package, I've got something like this: \documentclass{article} \usepackage{enumitem} \begin{document} ...
1
vote
2answers
103 views

How to align text and picture horizontally and vertically?

I'd like to align text and a picture horizontally as well as vertically, based on the text area. So far I have tried using TikZ. I managed to get the effect alignment of the items in either direction, ...
3
votes
1answer
31 views

Using custom-aligned subarray in LyX

I need to write a vertically stacked subscript in a notation meant to say "evaluate expression at k=..., and k'=...". In the end it should look like / SOME \ | BIG | \ ...
1
vote
1answer
82 views

Auto spacing in math mode

I have a long line of math expression, which is as follows: $verylongword verylongword verylongword verylongword verylongword verylongword verylongword verylongword verylongword verylongword ...
0
votes
0answers
23 views

table alignment specification

When I use \begin{tabular}{l*{20}{c}} it works perfectly. But when I use \begin{tabular}{l|c*{4}|c*{8}|c*{8}} It gives me error. How can I specify the alignment operator as multiples without ...
3
votes
1answer
17 views

longtable inside enumerate

When I have a longtable left-aligned inside an enumerate, it isn't indented properly. For example \begin{enumerate} \item text % \setlength\LTleft{\itemindent} % \setlength\LTright{\fill} ...