{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
43 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} ...
5
votes
1answer
582 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 ...
3
votes
1answer
34 views

misplaced & in equation using non-ams format

the following code works with ams environment, however I am trying to use it using aip conference template found here: http://scitation.aip.org/content/aip/proceeding/aipcp/info/authors and it is ...
2
votes
1answer
54 views
+50

Variable \hspace value in relation to outside margin (Two-sided Memoir)

So I have received a great deal of help on this. I myself did not create the code, but I have an additional need. As you can see from my MWE, I have a long two-sided memoir document that has a ...
1
vote
1answer
95 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 ...
7
votes
0answers
38 views

Adding color package destroys listing centering

I am using @egreg's answer to make listings centered: \documentclass[a4paper]{book} \usepackage[T1]{fontenc} \usepackage[ hang, small, it, hypcap=true ]{caption} \usepackage{fancyvrb} ...
4
votes
0answers
446 views

Align decimal marker with thousands separator using siunitx

My table consists of two groups of rows. The first group contains large values (X,XXX). The second groups contains smaller values (0.XXX). Siunitx aligns all numbers based on the position of the ...
3
votes
0answers
240 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
40 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
118 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
96 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} ...
2
votes
0answers
168 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
339 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
49 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
43 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
60 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
68 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
58 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
123 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
79 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
48 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
136 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
21 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
27 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
46 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
71 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
46 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
68 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 ...
0
votes
0answers
68 views

Superimposing characters in text mode (pdfTeX)

I'm trying to compose a non-Unicode character by arranging Unicode characters one above the other or one next to the other close-up, but I'd need a negative space which in text mode isn't available. ...