{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
1answer
37 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} ...
2
votes
1answer
63 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 ...
4
votes
1answer
54 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 ...
1
vote
1answer
56 views

Centering Xcircuit Figure

Hi I am using a program called xcircuit to make circuit diagrams and I cant seem to get the figure centered. I have tried \begin{center}, \centering. I have tried messing with \flushleft but it needs ...
1
vote
1answer
35 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
38 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 ...
4
votes
2answers
60 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 ...
1
vote
0answers
40 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
32 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: ...
6
votes
2answers
37 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 ...
20
votes
3answers
8k views

How do I left-align entries in a matrix with \begin{matrix}?

I'd like to left align the -1 entry in the following matrix so that the 1s line up. Is there a way to get matrices to ignore signs in that way? \begin{matrix} 1 & 1 \ 1 & -1 \ ...
2
votes
4answers
59 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. ...
2
votes
1answer
58 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, ...
9
votes
4answers
210 views

Custom alignment of text in itemized environment

I want to describe the variables involved in an equation in an itemized environment such that every item begins with the variable name and subsequently comes the description for it. I'd like to have ...
4
votes
1answer
30 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 ...
4
votes
3answers
133 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 ...
1
vote
1answer
53 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} ...
2
votes
1answer
54 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
152 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
38 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 ...
0
votes
1answer
63 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
35 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
78 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
63 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 ...
7
votes
1answer
199 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 ...
4
votes
1answer
48 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
46 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 ...
4
votes
3answers
417 views

Left-align all equations in a block

align environment without any explicit alignments points (given by &) right justifies the equations in the block. They can be left justified by putting & at the beginning of each equation. Is ...
5
votes
1answer
115 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? ...
3
votes
2answers
3k views

Left-aligning authors section in an article

I want to align the authors section of my article to the left. If there are more than one authors, each author should be aligned left in its own cell. I am using memoir's article class. This is what ...
2
votes
1answer
43 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
124 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
48 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 ...
10
votes
1answer
767 views

right description list LaTeX beamer

How to do right align a description list using beamer? Name | Joel Spolsky Address | Some address Using the enumitem package as suggested in Description list with right alignment of ...
1
vote
1answer
39 views

subfloatrow: centering single subfigure

In the example below, how can I center the third figure (C)? \documentclass[a4paper,12pt]{article} \usepackage{tikz} \usepackage{floatrow} \usepackage{subfig} \begin{document} \begin{figure}[htbp] ...
2
votes
1answer
92 views

How can I fix the unequal space between my references if I combine apacite and \flushleft

I have a problem with my references done by apacite. My references have to be formatted as flush left entries: \documentclass[a4paper,fontsize=14pt,DIV=10,twoside, numbers=noenddot, ...
0
votes
0answers
38 views

Using the semantic package. How can I properly align proof derivations?

I am using the package semantics to write logic derivations, such as the following: $$ \inference{\neg \phi \vee \neg \psi& \inference{\inference{\inference{}{\phi \wedge \psi}[2]}{\phi} & ...
3
votes
2answers
37 views

How to place tabs [duplicate]

I want to generate these lines: GREATER(x,y)=true =false If i itemize it i get : GREATER(x,y)=true =false
3
votes
2answers
45 views

How to align terms in alignat environment (follow-up)

This is follow-up on the similar question. I still cannot figure out where to put ampersands on alignat environments. :( Here is what I generated. To enhace the readability, I want to customize ...
3
votes
4answers
1k views

How do I align a pgfplots graph?

I'm trying to draw a graph with the associated table of data using pgfplots. It works great, but the graph itself isn't aligned with the table. This is what it looks like: I don't like the ...
6
votes
2answers
65 views

Tabbing/horizontal placement with labeled equations

I have a string of equations, each with a label that I would like to format nicely. I want the equation labels to be at the same horizontal position and the start of the equation to be at the same ...
3
votes
1answer
62 views

Placing an object at the end of the line

I'm new in LaTeX and I'm currently faced with a problem of placing an object at the end of the line. E.g. {equation} (1.1) I wish to place (1.1) at the end of the line, and I've searched around ...
3
votes
2answers
61 views

Tikz aligning text in nodes

I am working on a Tikz picture of a calendar. The headings of the calendar are the months and I add them with nodes. But they aren't aligned. \begin{tikzpicture}[scale = 1.3] \path (0,0)node[minimum ...
0
votes
0answers
37 views

How to align equations left? [duplicate]

Today,I want to make my equations align left. My trial:I use the commandflushleft \documentclass[a4paper,cs4size,UTF8]{ctexart} \usepackage{amsmath} \begin{document} \end{flushleft} ...
37
votes
6answers
5k views

Best way to create an system of equations environment?

I am trying to write a few systems of equations, and I want the terms to be nicely spaced as below 2x + y + 3z = 10 \\ x + y + z = 6 \\ x + 3y + 2z = 13 Now, using ...
2
votes
1answer
48 views

Center chapter name in the table of contents

I am adding chapter name for a set of sections with the following code: \addcontentsline{toc}{section}{\protect\numberline{}Chapter I} However, Chapter I is left-sided. What I want is something ...
5
votes
3answers
109 views

Centering an asymmetric tabular

I'm trying to center a payoff table asymmetrically but I give up and I ask to you. The problem is that this type of table appears different than how LaTeX sees it. In fact, the first column should not ...
9
votes
4answers
312 views

Center table by end of cell

I want to be able to center my table, but align the center by the end of the first cell. Currently just using the \begin{center} command i am able to center the table but i would rather the table be ...
6
votes
2answers
85 views

Small (half width) framed table of contents

I am writing a 4-5 pages article document, and a full-width, traditional table of contents really feels over the top and would take up too much space, but I still feel a toc is really great to show ...
0
votes
2answers
265 views

How to reduce the left margin of the Friggeri CV template?

I'd like to reduce the left margin of the Friggeri template, in order to increase the width of the aside section. I first tried to change the numbers of the line 308 of friggeri-cv.cls file: ...