{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
1answer
50 views

How to reduce page margins and center text on it?

I need a custom title page, where the margins create a tighter area for the page contents and a title text is centered horizontally and vertically. How do I do that? By tighter margins I mean margins ...
0
votes
0answers
66 views

LyX : Some Parts and Sections Full-Justifying

LyX / LaTex newbie here. I have a document I'm working on and for most part and section headings the text is being outputted as left-aligned (which is what I want). However I have a handful that ...
1
vote
1answer
51 views

Trying to make a title left aligned in a minipage

I have tried various different ways of attempting to implement this. I want a title and author flushed left and an image flushed right on the same level. However I am using 2 columns so I should use ...
12
votes
3answers
223 views

Spread letters to a given length?

I have made a fancy title page using titleformat and tikz, but I now face the following problem. The \chaptertitlename command returns \chaptername or \appendixname. I would like to spread the letters ...
1
vote
1answer
62 views

Align Text as right or left in a tabular environment

How can I arrange text in tabular environment. For example, the Main and Email to start at left align and the contents in right column to left align ? \begin{tabular}{c|l} {Mail} & 1234 XXXX ...
2
votes
1answer
45 views

Align downscaled graphics to the left

I include a PDF as a figure in my document, and the PDF is a great deal wider than the \linewidth. I use the adjustbox package to set the width to slightly more than \linewidth, but I can't figure out ...
2
votes
1answer
59 views

How to horizontally align text in rows below rotated text?

I have a table with rotated text in the uppermost columns, however in certain rows the X's are not horizontally centered. I thought that having the \centering or perhaps the origin=c command would ...
3
votes
1answer
39 views

How to align chapter, section, subsection with parindent?

Is there a way to solve that? Thanks a lot!
2
votes
1answer
113 views

Moving the page number in a table of contents to the left of the titles with tocloft

I would like to move the page number from the right-hand side of a table of contents to the left, using tocloft. The page number should still be right-aligned. The question has already been answered ...
1
vote
2answers
58 views

Getting a weird output using \alignat (picture and code included)

When I run the following code \begin{alignat}{2} \text{min} & \sum_{t\in T}\sum_{v\in V}\sum_{(i,j)\in W_{v}}(c_{ijv}-u_{i}- v{j})x_{ijvt}+\sum_{j\in J}\sum_{t\in T}M_{jt}s_{jt} \\ ...
0
votes
1answer
32 views

table - text centering

I made a table in my thesis with this code: \begin{table}[htbp] \centering \caption{Add caption} \begin{tabularx}{\hsize}{cc} \toprule & Folhosas \\ \midrule Celulose ...
3
votes
1answer
117 views

Right align first column of glossary

I am using the package glossaries to create a glossary in my document. The style super almost works for me, as it gives me two columns: the first with the glossary entry names and the second with the ...
2
votes
0answers
81 views

siunitx table alignment

I want to align both the numbers and the text to the left using siunitx' S column type. I tried: \documentclass[ngerman]{scrreprt} \usepackage{babel} \usepackage[locale=DE]{siunitx} ...
0
votes
1answer
61 views

How can I have a node spanned over multiple columns push to its cell borders' borders?

I'd like to have the (big) node with Long text long text span from the very left of cell m-2-2 to the very right of cell m-2-5. How can I achieve that? MWE \documentclass[ 11pt ]{scrartcl} ...
5
votes
1answer
61 views

side by side figures wider than margins

I'm trying to do exactly what's explained here: Figure with two side-by-side subfigures that is wider than textwidth However, I'm working with a large document and already have many subfigures using ...
5
votes
3answers
68 views

Simple alignment question

So I want to align my 'equals' sign and inequality signs. So I have done, \begin{align} \Rightarrow d(\mathbf x',\mathbf 0) & \geq d(\mathbf x,\mathbf 0) - d(\mathbf x',\mathbf x) \\ ...
5
votes
1answer
51 views

Centering of \paragraph and \bibliography headings in memoir class

I am currently working on a thesis. The office of graduate studies demands the following style changes: All headings centered I am using the memoir package. I was able to center Chapter, Sections, ...
4
votes
1answer
88 views

How to force the caption of a table in order to set it in center

Although, I saw the following post in order to do that : How to force to center the table captions?, I coudn't find a proper way to set the table's caption. How can I force this action? ...
1
vote
2answers
58 views

Issues centering table with altered fontsize

I am doing my thesis and want to have all table consistently centered on the page, and \footnotesize text. For some reason one table decides to left justify when I make it footnote size (or any other ...
0
votes
1answer
58 views

Beamer: \qed at the end of align*

I finish a proof sketch on beamer slides with a formula, e.g., \begin{align*} P\leq n^{-\alpha} \end{align*} How can I get a qed symbol at the end of this line? Using \qed as well as ...
3
votes
1answer
46 views

Error while using itemize in parbox

I am using itemize in \parbox and getting following error message \documentclass[11pt,table,a4paper]{article} \begin{document} \begin{minipage}[t]{.95\textwidth} ...
4
votes
1answer
69 views

Improve legibility in a siunitx table

I am a rather basic user of LaTeX, so please be kind. ;) I am using the siunitx package to align numbers on tables, and this is a rather similar question to this one: Centering table column titles ...
2
votes
1answer
625 views

French-style cover letter using 'moderncv' document class

I've got a quite similar problem as the one presented in this thread: Renew command \makelettertitle in moderncv, but the solution proposed does not completely answer my needs. As a reminder, the ...
3
votes
1answer
118 views

tcolorbox Spanning Two Columns in {paracol} Environment

The paracol environment allows figures to span two columns by using an asterisk in the figure's environment declaration: \begin{figure*} ... \end{figure*}. I'm not familiar with the guts of why that ...
1
vote
1answer
47 views

Horizontal and vertical alignment of an element to the centre of a whole page

I am trying to place a code frame generated with listings package in the middle of a page both horizontal and vertical. How can I do it? Edit I: My code is this: \documentclass[12pt]{article} ...
3
votes
1answer
57 views

Put a {forest} tree inside a {philex} enviromnent

I use the forestpackage to draw linguistic trees, and the linguexpackage to create numeric examples. But there seems to be a problem when I combine the two. The tree is not aligned with the number of ...
1
vote
0answers
61 views

How to arrange/aligned the choices in MCQ type question?

This is my second time that I am asking your help. Last time I post one of my query regarding the nesting of files and sub files when I was preparing my book on a MCQ type for mathematics. And I got ...
2
votes
1answer
39 views

Fixed In-line Indentation [duplicate]

I want to align content that starts in the middle of a line and content that starts at the beginning of the next line (for a thesis Authorization to Submit page). E.g.: Major Professor: ...
4
votes
2answers
106 views

Memoir footnotes in margin with ragged2e

I would like to set up memoir so that when I use \footnote{foo}, foo is displayed in the margin with the proper label and preferably break over pages. There is an option \footnotesinmargin which ...
6
votes
2answers
55 views

Relational Operator spacing problem with alignat

I have not asked a really embarrassing question in a while, so thought it was time :-). I am stumped as to why the spacing around the = on the third line is incorrect: Notes: I realize I am ...
2
votes
4answers
74 views

Aligned \description

Code \documentclass[a4paper,twoside,12pt]{book} \usepackage[utf8]{inputenc} \begin{document} \noindent Let us define: \begin{description} \item[$C_{DEP}$] (\euro) depreciation of the machine. ...
3
votes
1answer
137 views

How to change author alignment in Beamer?

It appears that different classes set up author layouts using tables. I would like to render one of these outputs: Equivalent to \begin{tabular}{rl}: Joe Schmoe My Boss Jane Doe His Boss or, ...
4
votes
1answer
47 views

Using \multispan in plain tex to give a caption to an array

I am trying to modify some code that WeBWorK uses to generate pdf hard copies of students' online math assignments. My aim is to improve WeBWorK's accessibility. My task at the moment is to endow ...
5
votes
3answers
370 views

Indenting Text in Beamer

I am attempting to indent text, as below. To get the alignment right (and it's far from perfect right now), I've been using trial and error with a linebreak \\ and \hspace{3.1cm}. Is there a ...
2
votes
1answer
71 views

How to center text in a schemabox?

I would like the text in the nodes between the arrows to be centered rather than left aligned. Using \centering or \begin{center} ... \end{center} around the minipage or setting text align=center in ...
9
votes
4answers
178 views

How to start a new line in \boxed{}?

I have: \documentclass[12pt,a4paper]{article} \newcounter{conto} \setcounter{conto}{\time} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{dsfont} ...
3
votes
1answer
60 views

Reduce size and justify font of caption using memoir

I try to reduce and better align my caption text (and not the automatic label "figure.") text with memoir. I try this this without success, and i search in the memoir documentation, and try some ...
1
vote
1answer
123 views

textsuperscript and hash symbol [duplicate]

How can I get a text superscript of the hash (#) symbol in Latex to work? I tried \textsuperscript{\#} to no avail. I should have been more specific in my question. I am using \usepackage{fontspec} ...
0
votes
1answer
101 views

How to have an image on the left-hand side and text (with mathematics) on the right-hand side which are horizontally aligned in beamer?

Doing a presentation with an image of a graph on the left-hand side and the mathematics behind the graph on the right-hand side and I want them horizontally aligned. Thanks.
3
votes
1answer
51 views

Align horizontally side by side equations [duplicate]

I would like to align these two side by side systems of equations horizontally. I tried to do this like this \documentclass[12pt,letterpaper]{article} \usepackage{amsmath} \begin{document} ...
5
votes
2answers
105 views

Bump right-aligned text to next line iff no room within a \savebox

This is a follow up to my earlier question Bump right-aligned text to next line iff no room. The difference now is that I need to place this formatted text within a \savebox. In my actual use case, ...
2
votes
2answers
116 views

How to left align items in itemize that contains columns environment on beamer

I need to automatically left align all my items. The problem is that I must have a columns environment in the middle. But that environment shifts the items to the left. I tried setting ...
4
votes
1answer
56 views

Trouble Indenting Portion of document

This is my first time giving LaTeX a try, and I decided to have my go at it with my week's math homework. Though most of the document could probably be done in a more efficient manner, I've gone about ...
1
vote
1answer
56 views

Unwanted right indent in document

Super noob here, so please forgive any blunders! :) My problem is that in my document (example below), the paragraph starting from the second dingbat is getting indented automatically. I don't want ...
7
votes
1answer
239 views

Overlay two .tikz files from input

I have some plots generated from matlab2tikz which I would like to overlay. Each plot is a seperate .tikz file which I input using \input. My code currently is: \pgfplotsset{ every axis/.append ...
5
votes
1answer
157 views

What causes this beamer block to be slightly offset to the right?

I'm facing a problem with the block environment in beamer. Adding a tikzpicture seems to offset the following block slightly to the right. What is causing that behaviour and how can I prevent it? ...
2
votes
1answer
50 views

Minitoc numeration overlaps with subsection titles

I have long minitoc numeration depth \setcounter{minitocdepth}{3}. I have a problem with it: \documentclass{report} \usepackage{newcent} \usepackage{minitoc} \setcounter{tocdepth}{1} ...
9
votes
1answer
139 views

How to float something right even if it wraps down a line?

I have a situation where I have some data in section headings (and sometimes normal paragraphs} that needs to be: floated right not split across lines I was able to accomplish this for most cases ...
5
votes
1answer
52 views

How do I maintain structure in structured output?

I am trying to ensure output from a Linux command - which looks like: Into a LaTeX document with the same column structure with the output headers lined up with the output sections on the next ...
1
vote
1answer
75 views

Putting a number on the right hand side without using the equation or align environment? [closed]

I have a couple of lines which I wish to number and I'm hoping for something like: Text... \alignright{1} or something like that if it exists to produce Text... (1)