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

The list in an alignat environment is pushed to the right

How do I get this list centered horizontally? \documentclass{amsart} \usepackage{amsmath} \usepackage{amsfonts} \begin{document} \noindent {\bf Example} \vskip1.25mm \noindent \hspace*{1em} ...
4
votes
1answer
77 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 | \ ...
3
votes
1answer
70 views

Center plot created with pgfplot from matlab

If I have a nice plot in matlab, then I save it as a tikz standalone file matlab2tikz('myimage.tikz','standalone',true) and I create a pdf in my terminal with pdflatex myimage.tikz to include ...
1
vote
1answer
19 views

Unexpected center alignment of the text after the remark block

I am working on a draft within an ieeetran template. There are a couple of definitions and remarks within the text, have which been embedded, deservedly. But the odd thing is that, as I try to ...
1
vote
1answer
64 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
0answers
374 views

Evenly split the columns of a multirow table in lyx

I would like to have a table like this: % Preview source code %% LyX 2.0.6 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. ...
2
votes
0answers
61 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} ...
2
votes
0answers
65 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 ...
2
votes
0answers
61 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 ...
2
votes
0answers
69 views

Multiple Table Horizontal Alignment

I am trying to put up multiple tables together. (Scroll down for MWE). I can not figure out why the last table is misaligned. I tried the solution here but it did not work for me as I am not using the ...
2
votes
0answers
136 views

subcaption package changing algorithm2e caption position

I have a project which makes use of the subcaption and algorithm2e packages. For whatever reason, the subcaption package is causing the captions in the algorithms to be misplaced. Here we have a MWE ...
2
votes
0answers
93 views

Centering title in bibliography with abntex2cite

i need some help. I'd like to change the title of my bibliography (Referências Bibliográficas), align left to centering, i'm using package abntex2cite to make my citations. My document class is a ...
2
votes
0answers
94 views

Unwanted graphic offset

I'm getting a small difference in horizontal alignment when using the two ways of placing an image as shown in my code below. I know it doesn't look like there's much point in what I've done, but this ...
2
votes
0answers
519 views

Subfigure plot in conflict with psfragfig

I am trying to place 2 graphs one next to the other using pstools. I have generated 2 graphs using the commands hFig = figure(1); set(gcf,'PaperPositionMode','auto') set(hFig, 'Position', [0 0 300 ...
1
vote
0answers
21 views

Insert negative of \widthof into \hspace without defining a newlength

Following MWE does not work: \documentclass{article} \usepackage{calc} \newlength{\charwidth} \setlength{\charwidth}{\widthof{$-$}} \begin{document} \centering $\infty$ \centering ...
1
vote
0answers
34 views

different text alignment on even/odd pages (like raggedouter but for text)

For a poetry book I would like to typeset all text on even pages \raggedleft and all text on odd pages \raggedright, including headings. Poems can span across multiple pages, so the change of text ...
1
vote
0answers
40 views

Caption settings before and after loading caption package

Why do captions look so different after the mere loading of the caption package? What are the default settings for a caption BEFORE loading the caption package? I would prefer to be able to load most ...
1
vote
0answers
44 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 ...
1
vote
0answers
35 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 ...
1
vote
0answers
44 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 ...
1
vote
0answers
32 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} ...
1
vote
0answers
46 views

Figure centered (horizontally and vertically) + subsection on same page

I want to center my figure (horizontally and vertically). I have a subesction that I want to keep on the same page (at the top), but it is "pushed" on the next page. I am using the following code: ...
1
vote
0answers
88 views

Align fixed-width columns to the decimal point

I define a new column type for a fixed width column with centre aligned text as follows: \newcolumntype{d}[2]{>{{\rightdots{#1}}r<{\rightdots}\let\newline\\\arraybackslash\hspace{0pt}}m{#2}} ...
1
vote
0answers
42 views

How can I align the cells vertically?

I'd like to align my table cell vertically and horizontally.... can anyone help here is my code \begin{table}[htbp] \small \centering \caption{comparisons} \subfloat[Approximation accuracy ...
1
vote
0answers
129 views

Does justifying and `frame breaks' conflict in Beamer?

I tried the justifying techniques proposed here: My presentation in Beamer document class also have long bibliography. I have used allow frame breaks in a new frame which recommended here. ...
1
vote
0answers
146 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 ...
1
vote
0answers
248 views

Horizontal alignment (problem with minipage)

I'm new here. I just have a problem with the minipage environment. The problem is that the tables aren't horizontally aligned. I want these table aligned one by one, but I don't know what's wrong. ...
1
vote
0answers
65 views

Edit Customize Change Justification rules to solve losse lines in tight columns or spaces

I'm working on a table and have a column (column 3) which is about 5 cm wide (specifically set) where I'd like text to be justified. However, due to the tight column, the paragraph style (in combo ...
1
vote
0answers
230 views

Moderncv - Centering name and informations

I'm using moderncv to write my CV but right now, the name is in the top-left of the page, and the information (Age, address, email etc...) in the top-right. Is that possible to align name and ...
0
votes
0answers
9 views

Text Prior to Subsubsection affecting alignment of text following it

Following are two snippets of code along with what they compile into. The issue is with the alignment of the text that follows the subsubsection. It should align with the subsubsection's heading, ...
0
votes
0answers
17 views

Specify horizontal position of xtable output in LaTeX

I originally posted about this on StackOverflow (http://stackoverflow.com/questions/31359737/table-environment-from-xtable), but it was recommended for me to post it here instead. I am using the ...
0
votes
0answers
35 views

Centering left justified

I would like to combine left justification and centering for a figure with multiple panels created using sidesubfloat. I.e. the entire block should be centered on the page, but with the left side of ...
0
votes
0answers
41 views

How to fix the space between “Figure” and “5” in “Figure 5:” in figure caption?

I use this solution to get captions for my figures at the side, which works really fine. But sometimes, if the word behind "Figure xyz:" is too long for the line, I get something like this: How can ...
0
votes
0answers
20 views

How to outline theorem properly

First of all, sorry about the layout of this question, I don't know how to render a LaTeX line on this site. As for my question, I have defined various new commands, like \property, \axiom and ...
0
votes
0answers
37 views

Itemize Not ending at New Line beginning

I am using itemize to list few bullet points. When it ends my new line begins from the same left side margin as the itemize items. I have to get the Solutions line begin from the orginal left ...
0
votes
0answers
36 views

LaTeX shifts the entire content to the right

How can I shift a document in latex to the right while I decrease the right alignment with the same amount? So for example, if I increase the left indentation with 10pt I want the right indentation to ...
0
votes
0answers
27 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 ...
0
votes
0answers
46 views

How to justify one part of a line left and the other on the right hand side

I was wondering if it was possible to have two sections of text, on the same line be both left justified and right justified. For example doing this: {\itshape{\begin{flushleft}I'm on the ...
0
votes
0answers
28 views

how to arrange figures in 2rows x 2 columns format

I need to arrange 4 figures in 2x2 format in a two-columned LaTex document. Can anyone please help me out with this?
0
votes
0answers
37 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} ...
0
votes
0answers
61 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 ...
0
votes
0answers
27 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 ...
0
votes
0answers
73 views

justifying and scriptsize for all beamer slides

Following the answer here, I'm looking for a way to justify and set the scriptsize font for all beamer slides inside frame environment, I tried: \setbeamertemplate{frame}{/scriptsize/justifying} ...
0
votes
0answers
43 views

I am not getting justified while using {Warsaw,Antibes} theme. Can anyone please help me in this regard

\documentclass{beamer} \usepackage{ragged2e} %new code \usetheme{Warsaw,Antibes} \addtobeamertemplate{block begin}{}{\justifying} %new code \begin{document} \begin{frame}{Test} ...
0
votes
0answers
75 views

Centering of Multiple affiliations

I have to centrally alligned the affiliation inforamtion but it is not appearing on center of the page.(appearing right side of the page) Here is the source code: \author{ ...
0
votes
0answers
50 views

Numbering of head title on titlepage?

I want to combine several independent papers in a pdf-format. However, due to time constraints, I am looking for a "quick and dirty" solution. Therefore, I manually constructed a table of contents and ...
0
votes
0answers
73 views

Aligning figures in a table

I'm trying to align four figures vertically and horizontally. But I couldn't get it right in spite of repeated tweaks. I guess its a fairly small error. Can someone help me out? Here is a MWE -- there ...
0
votes
0answers
144 views

Maintaining Optical Margins with Hanging Punctuation

To achieve hanging quotation marks, I am changing their protrusion settings in my preamble: \documentclass{minimal} \setlength{\parindent}{0cm} \usepackage{luatextra} \setmainfont{Times} ...
0
votes
0answers
53 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} & ...
0
votes
0answers
144 views

Left align caption and underline it (Memoir)

im using LyX and documentclass memoir. I would like to have a set up like in the attached file when inserting figures and tables, however, I just don't know how to implement it in LyX. Can you help ...