{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.
3
votes
1answer
43 views
Hyphenation in classicthesis graffito
I am using the classicthesis package and the graffito side notes it provides. However, I'd like those side notes to be properly hyphenated, even though I think they were not intended to be by the ...
3
votes
2answers
37 views
Centering a wide table that is defined inside a NewEnviron
I am trying to centre a table with a lot of content whose width is larger than the text width. The problem is that I am defining the table environment in the preamble so I can reuse it, and this seems ...
3
votes
1answer
46 views
How to put a text, shifted to the right into the customized \section
I have the following code:
\documentclass[11pt]{article}
\usepackage[a4paper]{geometry}
\usepackage[cm]{fullpage}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{lipsum}
...
0
votes
1answer
61 views
Centering table in landscape page [duplicate]
I'm trying to get a table centered both vertically and horizontally in a landscape page. I've tried some of the solutions proposed around here but I can't get them to work in my specific case.
Here ...
4
votes
2answers
87 views
How to align dotfill to the right
I use the following command below to make my list of nomenclature to look like the list of contents, but I am a bit disturbed by the fact that the dots between the text belonging to a symbol in the ...
4
votes
1answer
59 views
Justifying a multiline formula
I tried to find the answer to my incoming question on this site, but I didn't succed. Is there a way to justify formulas without using \tabular?
I mean, I have a multiline equation splitted with ...
1
vote
1answer
47 views
Aligned list of acronyms
I am using latex to write my thesis report and would like to generate list of abbreviation for same. I use the acrnonyms package to generate it. Following is my minimal code:
...
3
votes
1answer
120 views
Why does \centering have no effect in my code?
It seems that when I use the \centering command to center a TikZ picture within a Beamer frame, it only works if there is a blank line between the \end{tikzpicture} and \end{frame}. Can someone ...
0
votes
1answer
30 views
Remove justification from a longtable? [duplicate]
Using :
\documentclass[12pt,a4paper]{report}
\usepackage[lmargin=3.81cm,tmargin=2.54cm,rmargin=2.54cm,bmargin=2.52cm]{geometry}
\usepackage{longtable}
\begin{document}
...
5
votes
1answer
77 views
How to align this long equation which out put from Mathematica
I use Mathematica, and use the command TeXForm from Mathematica, I get
\{\{x\to -19,y\to 4,z\to 11,t\to -14,m\to
11,n\to 19\},\{x\to -19,y\to 4,z\to 11,t\to
19,m\to 11,n\to ...
1
vote
0answers
52 views
Non-uniform indentation with enumerate [closed]
I am using an enumerate environment to enumerate over a set of equations. Everything works fine but, if there is a page break when generating the pdf while the enumerate is not complete, the ...
3
votes
0answers
90 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
1answer
49 views
Is there an environment in ConTeXt to center a poem?
I want to center the poem written by William Blake. Is there an environment in ConTeXt to achieve this?
My only method is the midaligned
\midaligned{To see a world in a grain of sand}
...
4
votes
2answers
132 views
How to create a beautifully aligned solution for exercises?
Basically, I'm writing solution for the exercises on the textbook. And I want something like this:
As you can see, sub-problems are aligned after the problem number and the formulas are aligned ...
5
votes
2answers
70 views
Text aligning like numbers aligning
I am trying to align such that
Some_Text 1. Other Text
2. Other Text
I used
\begin{align*}
\text{Some_Text}&\text{Other Text}\\
&\text{Other Text}\\
\end{align*}
But ...
3
votes
1answer
170 views
Beamer: Transparent AND centered background image on intro slide
I know this is similar to other questions. Other answers address either (1) adding a transparent image or (2) centering an image but I cannot find an answer with both. With previous answers I can ...
3
votes
1answer
48 views
Horizontal spaces to the left and right of theorems
How do I get horizontal spaces to the left and right of theorems? My initial idea was to do the following bad idea:
\documentclass{article}
\usepackage{lipsum}% http://ctan.org/pkg/lipsum
...
0
votes
0answers
36 views
Table and Figure in one table [duplicate]
I want to put table and figure side by side in one table...I used this code lines but not working ....could you help me out....
\begin{table}[t]\fbox{
\begin{minipage}[b]{.50\textwidth }%
...
2
votes
2answers
62 views
Centering consecutive two lines of text without extra space between them
I have two lines of text written in Lyx. I'm trying to center it without placing extra vertical space between lines.
I selected the text, then went to Menu > Edit > Paragraph Settings. There, I can ...
3
votes
3answers
88 views
Centering captions under figures
Is there a way to do this? All mine are left aligned; however, I want them centered. How is it done?
Also related: how do I embolden all of my captions?
...
2
votes
1answer
41 views
Fixing alignment with the rest of the text
The image included above is what I want to replicate - I want the name to appear on the top left, and the address/email-id to appear on the top right, and I want both of them to be aligned with the ...
2
votes
1answer
83 views
Captions of subfigures not being centered
Figure 4.1 is two subfigures, each with a caption (technically four figures in total, but the ones on rows are one image).
Using
\documentclass[twocolumn,titlepage]{report}
\usepackage{verbatim}
...
1
vote
0answers
91 views
Alignment of TikZ object
I'm using the classic thesis style by André Miede. As I have to import a lot of Matlab plots, I'm using matlab2tikz.
In the LaTeX document, I want the TikZ object to act like a normal jpg/png ...
2
votes
1answer
38 views
Can enumerated lists be centred?
For enumerated list such as:
\begin{enumerate}
\item One
\item Two
\item Three
\end{enumerate}
the center and centering commands don't seem to work, and the list sticks to the left hand side of the ...
3
votes
2answers
67 views
Left and right aligned text boxes
I am writing a thesis and at the bottom of the title page, I need to include two participating institutes. So far, I have come up with this (using \parbox, but I cannot figure out how to right align ...
1
vote
1answer
378 views
How to left-align using eqnarray in latex
Now, first of all let me get something clear: I do not ask for any reasons why align is btter than eqnarray. All I ask is a simple way to make this work, using eqnarray (It's obviously possible, but ...
4
votes
2answers
97 views
Alignment of text in itemize environment
I would like to generate a list of "Aims" (1,2,3...etc) as the \item label, with the text for the aim located adjacent (with \hspace{Xmm}). For items that exceed the width of the line, the alignment ...
6
votes
1answer
78 views
Centering chapter/section/subsection
I am trying to center my chapters/sections/subsections.
I have used the following:
\newcommand{\cchapter}[1]{\chapter[#1]{\centering #1}}
\newcommand{\ssection}[1]{\section[#1]{\centering #1}}
...
0
votes
1answer
66 views
How to write left aligned multi-line conclusion in inference rule?
This question is very similar to How to write centered multi-line conclusion in inference rule?. However, I can't figure out how to align an multi-line conclusion on the left. What am I missing? I'm ...
4
votes
2answers
76 views
How to align two plots horizontally
I want to align these two plots horizontally:
\begin{tikzpicture}
\begin{axis}[
xmin=1995,
xmax=2010,
ymode=log,
xtick={1975,1980,...,2015},
...
5
votes
1answer
69 views
biblatex: no linebreaks in name lists when typesetting ragged-right
When typesetting a bibliography \raggedright, biblatex seems to have trouble breaking a line between an author's first/last/middle names (and, if multiple authors are present, between two authors). ...
2
votes
1answer
52 views
How can I change the indent of the row numbers in my tabular environment?
I'm using tabular to align numbers, answer choices basically. Each row is numbered (A), (B), etc. Is there any way to decrease the space between the row label and the first column?
\newcounter{ans}
...
1
vote
1answer
37 views
Aligning brackets [duplicate]
Hi is there anyway to get the two left [ brackets on the first and second lines to align?
\begin{align}
&\quad[v^{*}a^{-} +va^{\dagger}_{-k}]e^{+ik_{z}\centerdot z}=[u^{*}b^{-} ...
4
votes
1answer
43 views
Table not flushing left as expected
I'm trying to make my tables flush left and overall align with the text. Using to \textwidth manages to make the table the right size, but it won't align properly with the text sometimes. It is ...
2
votes
1answer
54 views
Problem using align in enumerate environment
I'm creating a list with enumerate of both positive and negative numbers, and would like the numbers to be lined up with one another, i.e. all in the same column. I also have a second list with ...
5
votes
3answers
105 views
\phantom inside tabularx
I tried to improve the alignment in the following table using a \hphantom:
\documentclass{article}
\usepackage{tabularx}
\begin{document}
\begin{tabularx}{\linewidth}{p{2.8cm} X}
1/00\,--\,2/00 ...
4
votes
1answer
94 views
Figures in tables
I want to make a table with lots of figures.
\begin{table}
\centering
\begin{tabular}{c|c|c}
Index & Stand. Residuals & acf\\ \hline\hline
BEL 20 & ...
4
votes
1answer
67 views
Trouble creating properly aligned matrix within a matrix
I'm trying to insert parentheses around a group of elements creating a matrix within a larger matrix. So far I have this:
\begin{equation}
\begin{bmatrix}
\begin{matrix}
0 & 0 \\
0 & \omega_0 ...
1
vote
1answer
49 views
Bad horizontal alignment in pgfplots figure
If I try to horizontally align two nodes by giving the same y-coordinate, the text $D_{\textrm{X-ray}}$ and $D_{\textrm{C-ion}}$ is still not aligned properly, which has apparently to do with the ...
0
votes
1answer
39 views
Centering a group of equations and text both which is used in \begin{align*}…\end{align*}
Say I am trying to center a group of equations, written in separate lines, with equality sign aligned one below another, which are defined by: $f(r)+1=g(r^2)+1=O(r)$ as $r\to 1$ by first using the ...
2
votes
1answer
34 views
Centering case-defined functions in the middle of the page and centering a figure(diagram)
I have two questions regarding centering:
I am trying to center a case-defined function, say defined as follows:
$f_i(z)=$ \begin{cases}\frac{1}{t}dist (z,\gamma_i ) &\text {if} z\in A_i(t)\\ ...
1
vote
0answers
39 views
Align pictures with text
I am having problems to align or better put, make my figures being of equal size/margins like my text
What I do is this
\documentclass[a4paper,12pt]{book}
%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Document ...
0
votes
1answer
40 views
Image Alignment [duplicate]
So my latex document looks like this:
So as you can see, the picture is aligning vertically with the text, however I need it centered, in other words I need the image moved to the left more so the ...
3
votes
3answers
130 views
How to right align a picture?
Question is very simple. I want to \includegraphics and align it to the right, while having some text or items on the left.
Is there a simple command for this??
Edit
Here is what I did from previous ...
2
votes
1answer
103 views
Brace spanning multiple rows in a table and horizontal alignment
I'm a beginner trying to do an brace inside a table, that is spanning multiple rows.
I assume the best way to achieve this is to do a two-row tabular environment, with an array environment for the ...
3
votes
1answer
51 views
Changing style of unnumbered chapters in memoir
The MWE below illustrates that while I can center numbered chapter headings, I cannot do so for unnumbered chapter headings:
\documentclass{memoir}
\renewcommand*{\printchaptername}{\centering}
...
7
votes
4answers
110 views
Justify long line with no spaces but a lot of hyphens
% !TEX TS-program = xelatex
% !TEX encoding = UTF-8 Unicode
\documentclass[11pt]{memoir}
\usepackage{fontspec}
\usepackage{showframe}
%%% Book Layout %%%
\setstocksize{4in}{5.75in}
...
1
vote
0answers
83 views
Why is centering a TikZ picture from an external file not the same as a centering a .png figure?
Why can't I put a Tikz picture inside \makebox?
\begin{figure}[!ht]
\centering
\makebox[\textwidth][c]{\includegraphics[width=.8\textwidth]{./Figures/chapter5/procedure_contacts.pdf}}
\end{figure}
...
3
votes
1answer
61 views
Aligning parts of equations
So this is a continuation of my previous question but I didn't know if I should edit that post and ask a new question or just post a new question entirely. Anyway, I have this bit of latex:
...
3
votes
1answer
46 views
Does align environment (or an alternative) have an option to choose left, center or right alignment?
I have quite a long set of equations, written in an array environment, but I can't seem to get it to split so that it is spread over multiple pages. I could use the align environment, but I can't seem ...



