{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)

0
votes
1answer
124 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?
5
votes
1answer
58 views

`\hfill`-like spacing in math mode without using `align`

In question 83509, a way of getting \hfill-like behaviour in the align environment is described, but for my purposes, I need one that works in the equation environment. (I want to display some ...
7
votes
1answer
79 views

How to add horizontal whitespace in my text?

I have the following problem: Is there an easy and quick way to change the upper part to the lower? I tried using \hspace, but it had no effect. I'm new to TeX so bear with me ;D
2
votes
3answers
54 views

Side by side tables as one figure

\begin{figure} \begin{minipage}{0.5\textwidth} \centering \caption{***} $\begin{array}{cccccccc} T_1: & c_{12} & & c_{23} & & c_{34} & & c_{45}\\ ...
2
votes
1answer
54 views

How can I left-align the table in pdfLaTeX in TeX Live?

I have these two TeX files: \documentclass[a3paper,landscape]{article} \usepackage{array} \usepackage{tabularx} \usepackage{longtable} \usepackage{ltxtable} \begin{document} Hello. ...
3
votes
1answer
49 views

Center displayed, boxed equation within environment

I would like to center, with respect to the page margins, a displayed equation that is boxed and is within either an enumerate or itemize environment. Below is an example of what I have. Notice that ...
2
votes
1answer
37 views

Odd behaviour when dashes are add in a table?

Using the following MWE : \documentclass[12pt,a4paper]{report} \usepackage[lmargin=3.81cm,tmargin=2.54cm,rmargin=2.54cm,bmargin=2.52cm]{geometry} \usepackage{booktabs} \usepackage{siunitx} ...
42
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 ...
4
votes
2answers
88 views

Center wide figure w.r.t. page instead of margins

I've seen similar threads with centering problems, but could not find the right solution to mine. I'm using the report class (onesided). I have a float figure (object width=1.3\textwidth here, may ...
3
votes
2answers
79 views

How to arrange floating image top centered?

I am using image in my report as follows to make it top centered. \documentclass{article} \usepackage{lipsum}% http://ctan.org/pkg/lipsum \usepackage{graphicx,caption}% ...
6
votes
1answer
58 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 ...
1
vote
3answers
237 views

How to align some lines under {align*}

I usually use \begin{align*} and \end{align*} to align some texts. Here is a special case I would like to realize: abcdefghijklmn hijklmn opqrstuvwxyz hijklmn There are 2 rules: 1) I want to ...
2
votes
2answers
615 views

Table of contents: section number and title overlapping

I have problem with creation of table contents. A part of my code: \documentclass[a4paper]{amsbook} \usepackage[cp1250]{inputenc} \usepackage{polski} \makeatletter ...
4
votes
3answers
86 views

text not justified

I am new to LaTeX and in my first article I am facing the following problem. Although I set the margins to 1 in all around the A4 page, the text does not justify till the end of the right margin. It ...
0
votes
1answer
41 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 ...
6
votes
2answers
70 views

Align pgfplotstabletypeset and plot left and right

I can't get the plot and the pgfplotstabletypeset to align so that they are right next to each other. Is this possible at all? Please help me. This is what it looks like at the moment: This is my ...
1
vote
0answers
41 views

How to center align the nomenclature output?

I am using nomencl package to generate the List of Abbreviations which is working fine and is giving me the results. The problem is that I want the results to be centered on the page and not left ...
5
votes
3answers
71 views

Left-align math with fleqn inside split environment

Below, how would I move the first math-line left so that a^2 left-aligns with where? \documentclass{article} \usepackage[fleqn]{amsmath} \begin{document} \setlength{\parindent}{0pt} Some text ...
7
votes
2answers
75 views

is it posible to make a multiline itemize justifying the text inside

I am writing technical specs of a programming API. I am using itemize to highlight the method signature as it follows: \begin{itemize} \item[\texttt{packeteer.send(message)}] \hfill \\ is ...
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
39 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
47 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
67 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
88 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 ...
2
votes
1answer
112 views

How to justify text after using image in LaTeX?

I am inserting a jpg/png image in my LaTeX document in center environment. The problem is when I insert the image, the text following the image loses the justify property. Also the itemize does not ...
10
votes
2answers
441 views

How to align integers on the right, but still center them

Suppose we have a table like this: \begin{tabular}{c} Heading \\ 1 \\ 10 \\ 100 \\ \end{tabular} This will center all the numbers. If I want to align them to the right, I could change the column ...
4
votes
1answer
61 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 ...
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
121 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 ...
1
vote
1answer
49 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: ...
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} ...
0
votes
1answer
190 views

Left/Center/Right references to subfigures

I have a figure with three subfigures shown in the code sample below. How can I change the reference to a subfigure so that I have Figure 1 (left), Figure 1 (center), and Figure 1 (right) instead of ...
1
vote
2answers
138 views

Caption format changing

I want my captions of figures to be formated like this: 1 pav. First Caption 2 pav. Second Caption Furthermore, I need my captions to be centered. How can I redefine this?
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
53 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
94 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
134 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 ...
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 ...
3
votes
1answer
184 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 ...
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
64 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 ...
24
votes
3answers
789 views

Can I get full justification for italic text?

In the TeXbook, Knuth notes that italics can lead to problems with justification: EXERCISE 14.16 When an entire paragraph is typeset in italic or slanted type, it sometimes appears to be offset ...
3
votes
3answers
89 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? ...
17
votes
2answers
4k views

Line breaking of URLs in bibliographies

I have a problem with the line break of an URL. The URL can´t break correct and extends into the border. I´ve tried some things. Amongst others I loaded the package breakurl, but without any success. ...
6
votes
1answer
111 views

Center in ConTeXt

What is the equivalent of \begin{center}...\end{center} in ConTeXt? I know \raggedcenter, but that not an environment. I could define one command, but surely there is anything like that predefined.
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
87 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} ...
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 ...
1
vote
1answer
438 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 ...

1 2 3 4 5 23