{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
52 views

Multiple columns in table, problem with alignment

The following code generates a table: \begin{table}[!t] % increase table row spacing, adjust to taste \renewcommand{\arraystretch}{1.3} \caption{An Example of a Table} \label{table_example} ...
6
votes
1answer
700 views

Nested columns in beamer

I would like to make an A0 poster using the beamerposter package. The poster content should appear in block environments, for which I need a flexible and clean layout handling. In particular, I need ...
1
vote
1answer
30 views

How can a verbatim environment be centered using a basic LaTeX installation?

I want to centre some verbatim text in a reasonable way using only a basic LaTeX installation, i.e. the packages listings and fancyvrb are not available. \documentclass{article} \begin{document} ...
1
vote
1answer
113 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 ...
0
votes
1answer
26 views

Bibliography heading left alignment

I am having following code, due to which the heading of bibliograpy/references is center align, if \titleformat{\chapter}[display] is removed then it is left justified but all the chapter heading is ...
0
votes
1answer
36 views

aligning and logo shape in moderncv

How can I align the logos and the elements on their right side? Another, and more important, problem that I face has to do their shape. As soon as I close TeXworks and try to open the pdf document I ...
3
votes
0answers
258 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
62 views

ConTeXt: Flushed right formula numbers in cases environment

I would like to have the formula numbers of the cases environment flushed on the right of the page like for regular formulas (not at a fixed distant from the cases like it is by default with ...
2
votes
0answers
37 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
49 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
130 views

How to draw “stacked blocks” with tikz?

I want to draw using tikz a figure which looks like the following: I started writing it using nodes and positioning them using right of =, above of = but I don't know how to avoid using hard coded ...
2
votes
0answers
181 views

Chapter and its name not on the same line

Sorry for being unclear. I am a LaTeX beginner and have been struggling to place the chapter name with its number on the same line where chapter is. This is how it should be: The code itself was ...
2
votes
0answers
376 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
26 views

LaTeX weird alignment

I'm new with stackexchange and I'm not sure if I post this question the right way, please let me know if I need to provide additional information. I can't identify the source of this alignment ...
1
vote
0answers
47 views

Justification isn't done in this part of my document

\documentclass{article} \usepackage{amsmath} \usepackage[spanish]{babel} \usepackage{graphicx} \usepackage{graphics} \usepackage{times} \usepackage{color} \usepackage{float} \usepackage{multicol} ...
1
vote
0answers
34 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 ...
1
vote
0answers
74 views

Centering TikZ picture inside poster box

I would like to center a tikzpicture inside a posterbox (baposter) \headerbox{Vorgehensweise}{name=definitions,column=3,below=problem,span=3}{ \usetikzlibrary{shapes.geometric, ...
1
vote
0answers
64 views

Center code in a lstlisting float

Out of pure laziness, I decided to create lstlisting floats with the option offered by the package: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{listings} \begin{document} ...
1
vote
0answers
71 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
84 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
62 views

How can I change the side of all (or single) pages of a twoside book?

My book's first page is righthanded the second page is lefthanded the third righthanded and so on but I want it of the form: first page to be lefthanded the second page to be righthanded the third ...
1
vote
0answers
142 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
86 views

Wrapfigure issue of table & figure in 1 line

I tried to use wrapfig package to arrange a small table in the left & a figure in the right in 1 line while text floats around them but failed. My code is: \documentclass[10pt]{article} ...
1
vote
0answers
50 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
156 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
22 views

Text to the right of a section heading

This is a macro that defines a heading for a project \newcommand{\project}[2]{ %1: project name %2: percentage of time \subsection*{#1 \begin{flushright} ...
0
votes
0answers
31 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
28 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
33 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
53 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
82 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
48 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
80 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 ...