{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.
6
votes
2answers
22 views
KOMA-Script scrbook: width of chapter and section number
I'm using KOMA-Script’s scrbook class and have problems with the Table of Contents.
When the chapter number is too large, the chapter number is glued to the chapter heading. The chapter-section ...
4
votes
3answers
29 views
How to center dmath equation under an item?
I have this code:
\documentclass{article}
\usepackage{breqn}
\begin{document}
\begin{itemize}
\item Line of item, line of item, line of item, line of item, line of item, line of item
...
5
votes
2answers
62 views
How can I made the final column in a table paragraph formatted (line breaks), while still being constrained by the total table width?
I have a table that will have substantial amounts of text in the final 2 columns, and I can't figure out how to define the columns in a way that works for that. My original attempt was as follows:
...
6
votes
2answers
135 views
Centered Footnotes
I would like my footnotes to be centered but couldn't find any literature on this. Here is a MWE.
\documentclass[lettersize,14pt,twoside,openright]{memoir}
\usepackage[symbol,perpage]{footmisc}
...
2
votes
0answers
28 views
How to center 3 factors in one table? [closed]
I want to center the 3 factors in the bottom line in the under table"Ref1.i, Ref1.ii and Ref1.iii". Just as the upper line showed. I'm entry level, thank you for any kind help!
code:
...
4
votes
2answers
48 views
Left align equation description
I have a short description for each of my equations. I want to have them flushleft (similar to the equation numbers which are flushright). How can I do that?
Here is a MWE:
\documentclass{article}
...
2
votes
1answer
62 views
Alignment of tikz nodes in a chain
How can the north anchors of the nodes in a going to the right chain be aligned in a tikz picture?
As can be demonstrated by the following example, by default they seem to be aligned by the center ...
2
votes
1answer
26 views
Right aligning two columns next to each other in longtable
Reading this other thread, I found how to right align a column in longtable. However if I want to right align two columns that are next to each other:
...
5
votes
3answers
154 views
+50
How to have a horizontal line work inside a tabbing environment
Preface: I am very new to Latex, and may have missed some things here.
I have a custom macro to create a horizontal line - not by my making, simply copied and pasted from the exam package.
...
1
vote
1answer
38 views
How to center the box header text in baposter
I am writing a poster using baposter class. I want to centre the text in header box(for one particular headerbox not all). Here is the minimum working example.
\documentclass[pdftex, british,a0paper, ...
1
vote
1answer
173 views
Problem with side by side figures and captions
I want to have 4 figures side by side and centered in my paper. I am using this code. The problem is that captions and figures are not aligned. It seems captions are in correct position, but figures ...
1
vote
0answers
25 views
Aligning text close to column
The above text is produced by the following commands:
\documentclass[a4paper]{article}
\usepackage[margin=0.5in]{geometry}
\usepackage{ifxetex}
\RequireXeTeX
\usepackage{fontspec,multicol}
...
2
votes
1answer
25 views
Right alignment of description items (similar to default enumerate)
Let us consider the following example :
\documentclass[12pt,twoside,a4paper]{book}
\usepackage[left=.45in,right=.45in,top=.6in,bottom=.6in,headheight=14.5pt] {geometry}
\usepackage{enumerate}
...
8
votes
2answers
171 views
Selective alignment tabs in tabular/array?
For a while now I've been thinking about an array/tabular feature that would be quite nice to have. It doesn't seem to exist yet, as far as I can discover. And unfortunately, I can't spare the time ...
3
votes
1answer
31 views
Aligned equation which can break through pages [duplicate]
I'm writing long sequences of aligned math equations, and LaTeX interprete them as single, unbreakable objects... which is Ok if the equation is nowhere near the end of the page.
Q: Is there a way to ...
2
votes
1answer
24 views
Using the flush left align environment flalign
When using the flalign, I either get LHS and the = on te far left and the RHS on the far right.
\begin{flalign}
x & = & 1
\end{flalign}
Or I the equation centers itself when I try
...
2
votes
1answer
90 views
how could we create this tree diagram?
How could we create the following tree diagram in a seperate page which has horizontal landscape?
0
votes
0answers
24 views
Align the logo in Poster
I'm writing a Poster and I want to align the logo with the title (on the same line). How to do this please?
I have this code :
\begin{document}
\begin{frame}
\begin{beamercolorbox}{CouleursTitre}
...
2
votes
2answers
54 views
How can I align array elements to the left in an equation?
I have an equation that goes as follows:
\left\{ {\begin{array}{*{20}{c}}
{u{'_0} = {u_0} + u_1^Tt + {\textstyle{1 \over 2}}{t^T}{U_2}t}\\
{u{'_1} = {u_1} + {U_2}t}\\
{U{'_2} = {U_2}}
\end{array}} ...
43
votes
6answers
1k views
Starting a line where the previous line finishes
I have been using LaTeX for standard things like letters and scientific reports.
I recently came to visit my grandmother who writes some poetry and told her I could make a nice pdf from her ...
1
vote
1answer
76 views
How to insert copyright line on Title Page?
I am new to LaTeX. would like to insert the copyright on the title page of my ebook. This is what I want it to look like (centered in the middle of the page):
Title,
Author,
Copyright (copyright ...
1
vote
2answers
382 views
Alignments in bussproofs package
I'm using bussproofs and would like my premises always to be left-aligned with the beginning of the inference line. So far when I have a single premise inference, I can only get the premise centered ...
3
votes
1answer
43 views
Align text with heading
Is there an easy way to align the text block with a section title?
It should look like this:
1 Introduction
This is an example text.
1.1 Section
This text should also be ...
4
votes
1answer
38 views
horizontal and vertical image alignment with subfigure package
I have 5 images : A,B,C,D and E, all are different size. They need to be set up like this:
------- ----------- ------- -------
| | | | | | | D |
| | | | | | -------
...
11
votes
1answer
102 views
Alignment rules
I find myself quite frequently in the need to check whether some elements on my page are aligned exactly as intended. As a result, I usually end up magnifying the output 400% and using a rule over my ...
4
votes
2answers
263 views
Aligned columns in qtree?
I am currently taking a sentential logic class and we've just begun the chapter on truth-trees, so I've been looking into how to generate truth-trees with the qtree package. I think I've been able to ...
8
votes
4answers
144 views
Decimal separator and axis label centering with Tikz
The following code creates a figure with Tikz without the use of pfgplots (that I want to avoid here):
% compilation: pdflatex --jobname=Runge-f1 Runge.tex
\documentclass[12pt]{book}
...
5
votes
2answers
44 views
Uneven number of subfloats on separate lines
I have 5 subfloats that I would like to distribute 3 on the top line and two udnerneath but equally spaced between the top 3. But \\ doesn't seem to do anything between them. What do you sugges?
...
4
votes
1answer
49 views
Using \hfill in a beamer \frametitle in the wuerzburg theme
I'm using a set of beautiful beamer templates developed by Christian Gogolin and I'm struggling to get the desired effect using the \hfill command in \frametitle{} in order to have a beamer button ...
1
vote
1answer
88 views
Alignement of tikz-pictures and tables in subfigures
Basically, I'm trying to explain the depth-first search.
I'd like to align my images in the following manner:
I'd like to put two graphs in each single line, with the corresponding 'table' ...
0
votes
1answer
35 views
Center Contents heading in tocloft v2.3f
In the past, I believe this technique was used to center the Contents heading in the table of contents via tocloft:
\documentclass{report}
\usepackage{tocloft}
\renewcommand{\cfttoctitlefont}{\hfill ...
0
votes
0answers
53 views
Letter Environment : Justice! [duplicate]
I'm looking at this, and I'm wondering how I can get Mr. John Doe \\ 2345 Jones St. \\ Oakland, CA 91123 to be right justified in this letter environment:
\begin{letter}{Mr. John Doe \\ 2345 Jones ...
2
votes
1answer
106 views
Exhaustive Information about text alignment in Tabular
The purpose of this question is colleting the exhaustive information about text alignment in tabular environment and it's derivatives.
As base, let us use the possibilities of Microsot Word's tools. ...
1
vote
2answers
53 views
Way too much extra space in my tables
I'm new to making tables and I'm having a problem with them taking up way too much of my page.
\begin{table}[ht]
\centering
\caption{Table F8: Fertility Rates by Generation and Marriage Type}
...
8
votes
1answer
90 views
List of abbreviation
I want to display a list of abbreviation in two columns and list each abbreviation preceded by the corresponding letter. for example :
A
AAR ....
AG ....
i use the package nomencl :
below the ...
3
votes
1answer
43 views
Trouble setting margins with Resumé header
I am trying to typeset my resumé in LaTeX and have created a header that I am really happy with. However, now that I am starting to fill in the rest of my information the margins I have set up to ...
5
votes
1answer
36 views
Formula label outside of formula
I want to label a block of equations like that:
The "AB" should not inflict the central alignment of the formula. I saw it a lot, but do not succeed on my own. Do I need to build boxes?
I used the ...
4
votes
4answers
130 views
Tikz : node filling with text
Here is a minimal working example
%!TEX TS-program = xelatex
\documentclass{article}
%%%%%%%%%%
% Colors %
%%%%%%%%%%
\usepackage{xcolor}
\definecolor{green}{HTML}{C2E15F}
...
5
votes
1answer
60 views
\bfseries and alignment in table
I'm trying to highlight some decimal-point aligned entries in two large tables which are arranged in two columns. I'm using \bfseries to do this and unfortunately this seems to be affecting the ...
3
votes
3answers
54 views
How to align all description labels with section
I am using this code
\documentclass[paper=a4, paper=portrait, pagesize=auto]{scrartcl}
\usepackage[inline]{enumitem}
\usepackage[table]{xcolor}
\definecolor{orange}{HTML}{FFC296}
\begin{document} ...
2
votes
1answer
44 views
Table to set images on cover page, but text in the cell is not completly centred
First of all, excuse my English. I'm trying to make a cover page, I have made it on Word, but in LateX is much harder to do. Is like this,
Same sized images at rigth and left of the text, textwidth ...
5
votes
2answers
56 views
Multiple alignment without spacing
What is the best way of typing an equation like this?
(The vertical red lines indicate three different alignment axes.)
I have tried the following:
\begin{alignat*}{3}
\phi: Z^{X \times Y} ...
3
votes
2answers
49 views
How do I make email address centered under the contact information in the address?
\documentclass[margin]{res}
\textwidth=5.2in % increase textwidth to get smaller right margin
\begin{document}
\name{{Ccccc Habcdefghijkl}} % the \\[12pt] adds a blank line after name
\address{2586 ...
3
votes
1answer
36 views
how to decouple alignment of rows within a column in LyX?
How do I decouple the paragraph alignment of rows within a column in LyX? I would like my top row to be aligned in the centre, and all subsequent (content) rows to be aligned left.
However, whenever ...
0
votes
0answers
46 views
How can you change the alignment of calstable? (followup question) [closed]
This is a question related to this question of mine. However David's code does not work correctly here (a part of the table remains at the left and the other part moves to the center). How this can be ...
7
votes
3answers
141 views
How can you change the alignment of calstable?
calstable is always left aligned.
\documentclass{article}
\usepackage{cals}
\begin{document}
\begin{center}
\begin{calstable}
\colwidths{{1.5cm}{1.5cm}{1.5cm}}
...
0
votes
1answer
91 views
Tikzpicture horizontal alignment with to[grid with coordinates]
I'm trying to align horizontally three grids, two of them in one figure. Below is the sample code:
\documentclass[twocolumn]{article}
%% ...
1
vote
1answer
91 views
alignment of tikzpicture
I have several plots which I create with tikzpicture. The plot dimension is
set to \begin{tikzpicture}[x=\textwidth].
I try to align these plots right with \begin{flushright} and \end{flushright} but ...
5
votes
2answers
41 views
Aligning using flushleft and flushright
I am trying to create one column to the left side by side with another column to the right. The column to the left is labeled "Examples of like terms:" and the column to the right is labeled "Examples ...
1
vote
1answer
145 views
moderncv - How do I put the date column on the right rather than on the left
The career advisor at my university suggests putting the title of the position on the left, and dates on the right side of the resume.
I'm wondering how to I do that in moderncv themes?


