{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
0answers
14 views

Flush left equations in beamer column [duplicate]

When I do this in beamer: \begin{column}[T]{0.6\textwidth} \begin{equation} F = m a \end{equation} This is Newton's law. \end{column} the equation sits in the center of the column while the text ...
2
votes
3answers
79 views

Change row vertical alignment in a table

I am trying to produce a table that changes the vertical alignment of the cells for different rows. At the moment I have set up my table so that all the columns are middle and center aligned. However, ...
3
votes
1answer
45 views

problem centering table

I have tried many combinations for centering following table, but none seems to work... Help much appreciated.. \RequirePackage[l2tabu, orthodox]{nag} \documentclass[12pt]{article} ...
3
votes
1answer
97 views

Aligning the \text in formula

I have, let's say, 5 of the equations spread throughout the document and I want them to be aligned similarly. The equation consist of two parts -- the formula itself and short descriptions (let's say ...
3
votes
2answers
91 views

Caption misalignment with minipage and adjustwidth

I'm trying to fit two over-sized figures side by side on one page. I tried using minipage and adjustwidth, but the caption on the second figure kept mis-aligning to the left, as shown below. I tried ...
4
votes
1answer
49 views

I want to decrease the indent to checkboxes in exam class

The indent to the checkbox is to big. I want it to be aligned with the first letter of the question. \documentclass[11pt,a4paper,addpoints]{exam} \usepackage[utf8]{inputenc} \usepackage{amsmath} ...
4
votes
3answers
130 views

How may I align the following set of equations as represented in the image?

If IEEEeqnarray environment is not best-suited for this particular alignment, what could be the best environment to be used? \documentclass[11pt,a4paper]{article} \usepackage{blindtext} ...
4
votes
1answer
44 views

Amsmath double line equation alignment centered

I need an equation that consists of three parts (or one equation including 3 equations in total), it should look like this: My code for now gives me the following: So I would like to have the two ...
3
votes
2answers
57 views

Caption shifted left with `\captionof` in a list environment

I use the \captionof command from the caption package within a list environment. I would expect the caption to be centered with respect to the page, or to move right because of the indentation of the ...
4
votes
3answers
62 views

Make use of makebox in custom environment

I am working on a custom environment, that might get larger as \textwidth (so \centering won't work), but should nevertheless be centered. I'm currently manually wrapping it with \makebox but would ...
1
vote
1answer
39 views

Cannot center tikz picture in tabular environment

Consider the following MWE \documentclass{article} \usepackage{tikz} \usetikzlibrary{fit} \begin{document} \newcommand\addvmargin[1]{% \node[fit=(current bounding box),inner ysep=#1,inner ...
3
votes
1answer
27 views

How may I left-align (horizontally) the phrase 'whence, by rules already established for monomials' of the following?

I would like my phrase shifted more towards left-hand-side. \documentclass[11pt,a4paper]{article} \usepackage{blindtext} \usepackage{mathtools} \usepackage{IEEEtrantools} ...
4
votes
2answers
194 views

How may I left-align (horizontally) the word 'Similarly' with the word 'This' in the following?

\documentclass{article} \usepackage{mathtools} \begin{document} \begin{equation*} (a+b)(a+b)=a^{2}+2ab+b^{2}. \end{equation*} This may of course be written \begin{flalign*} ...
3
votes
2answers
69 views

LaTeX chord making

I'm making a ukulele songbook and i used this code to make chords rise above the text. but it makes a small space before the word (when you put chords above). Do you know how to fix it? ...
4
votes
2answers
35 views

Special alignment about split environment

I have some trouble in formatting my formula, so far I am able to get it look like this: What I want is this: Here is my MWE I am using split, I don't think I can use align because it will break ...
2
votes
2answers
45 views

Is it possible to use \underbrace across align* environment?

I have two sets of equations in an align* environment and they are all just how I want them, but I want to draw an underbrace from the left bottom equation to the right bottom equation, but it throws ...
4
votes
1answer
62 views

Aligning the LOT and LOF captions

I try to align the captions in the LOT and LOF flush left. I had to add a word before the table and figure numbers. After I added these I could not make it flush left as you can see here on the ...
9
votes
6answers
289 views

Center hyphen between words

I have to center '-' mark in each line and it should be in the same location of each line. How would I do that? \begin{flushleft} $I(b)$ - interrogating signal\\ $h_n$ -forward ross ...
3
votes
3answers
60 views

Integer padding with something other than a zero

Consider the following example: \documentclass{article} \usepackage{siunitx,collcell} \sisetup{minimum-integer-digits=4} \begin{document} \begin{tabular}{S} {Header} \\ 1234 \\ 234 \\ 34 \\ 4 ...
3
votes
1answer
40 views

Beamer - multimedia package - movie centering not working for frame larger than `width=\textwidth`

I am trying to embed a movie in beamer using the multimedia packaged and I am having trouble centering it. I am setting the width=1.1\textwidth so the movie extends into the margins of the ...
9
votes
1answer
176 views

How to center chapter, section an subsection using memoir?

I am trying to centre chapter, section and subsection using memoir, with the following code: \renewcommand{\chapnamefont}{\centering\normalfont} \renewcommand{\chapnumfont}{\centering\normalfont} ...
3
votes
2answers
63 views

horizontal alignment of two tables with variable vertical space

I would like to have 2 very simple tables like these: \begin{center} \begin{tabular}{rl} text:&text2\\ &text3\\ something:&other stuff \end{tabular} ...
2
votes
2answers
154 views

Aligning of “=” sign in three-row formulas

How to align a "=" in the last formula that it was under the last sign "=" of the second formula. Here is my attempts \begin{align} E=\dot{\theta}\frac{\partial L}{\partial \dot{\theta}}-L &= ...
4
votes
2answers
157 views

How to horizontally align items with equations in multicols package

I am using the multicols package in combination with enumerate environment, with equations in each item. Each item is aligned horizontally with its equation, and I like that. Whay I dont like is that ...
2
votes
1answer
63 views

How to add horizontal line for subtraction in array

I already have this: \documentclass{article} \usepackage{amsmath} \begin{document} $k:\left\{ \begin{array}{cccccc}x & = & -3+3\lambda & \Big| & 4 & \Big| \\ y & = & ...
4
votes
1answer
21 views

\if leqno or reqno: command to check whether left or right eq. Numbers were set

I am defining my own command and need to check, which mode the user has set, whether reqno or leqno. Is there a way to do this?
2
votes
1answer
86 views

pgfplots : Row title in legend

I would like to add a title to each row of my legend in pgfplots. I achieved this with this example : \documentclass{article} \usepackage[pdftex, active, floats, tightpage]{preview} ...
2
votes
1answer
47 views

How to center a pgfplot? [duplicate]

I am trying to center a graph made with pgfplots with \centering. If I put \centering within a group to limit its scope, the graph does not get centered. If I don't limit the scope of \centering, then ...
2
votes
2answers
31 views

How can I use an align environment or tabbing in the algorithm environment?

I would like to have these expressions aligned so that the kerning and slightly different character widths do not result in an uneven overall appearance. I tried using an align environment within ...
1
vote
1answer
61 views

Align tikz picture on the right side of the screen, next to text

I want to have some code, and then on the right side of it a tikz picture. I tried 'flushright' but that didn't work. This is my code: \documentclass{article} \usepackage{amsmath} \usepackage{tikz} ...
2
votes
1answer
44 views

Horizontally align objects inside arrays of different equations

In this set of equations... ...is it possible, to horizontally align the columns with the xes? More precisely, I would like to shift the right hand side of the upper equation, such that the xes ...
2
votes
1answer
43 views

Text-Align inside Caption

I've some problem with formatting my figure captions form my thesis. First i'd like to describe my final result. Caption above: align left Caption below - first row (source): align right Caption ...
4
votes
3answers
55 views

Using horizontal fill to center doesn't work

I want to use the symbol for logical disjunction (the 'V'), but I want this to be in the center of the two 'x = ..'. Right now it's like this: This is the code I'm using: \paragraph{a)} $ ...
1
vote
1answer
31 views

Align multiple lines in 'multline' command

\begin{multline} e^{-\lambda T} = ( 1 - \log S_j^* (T))^{\frac{1}{1-\theta}} \\ - \lambda T = \dfrac{1}{1-\theta} \log ( 1 - \log S_j^*(t)) \\ T = \dfrac{1}{\lambda (\theta-1)} \log ( 1 - \log ...
2
votes
1answer
26 views

Centered columns with fixed width using tabularx

How do I center the last seven columns in the attached text without dropping the fixed table width or the fixed column width? \documentclass[a4paper,12pt,oneside]{article} ...
2
votes
1answer
48 views

Beamer - Combining justification and centering

I am preparing a beamer presentation and I am having problems in combining justification and centering. I use mainly itemize and enumerate in my slides, and I want to have the text justified in all my ...
0
votes
0answers
47 views

justifying and scriptsize for all beamer slides

Following the answer here, I'm looking for a way to justify and set the scriptsize font for all beamer slides inside frame environment, I tried: \setbeamertemplate{frame}{/scriptsize/justifying} ...
1
vote
1answer
65 views

Forcing left text alignment in a fit Tikz node?

I would like to add Tikz "marker" nodes in running text; then fit another node based on those "marker" nodes' positions; and insert a text into the fitted node, such that it is left aligned, and with ...
4
votes
1answer
114 views

How can I customise the amount of horizontal space that follows line numbers?

I'd like to increase the amount of horizontal space that after comes each line number in my algorithm (typeset with algpseudocode). Because algorithmicx in general, and algpseudocode in particular, ...
1
vote
0answers
52 views

Text out of margin and footer for bibliography

Well its been a great journey since past one and half month and I am happy that I managed write my dissertation with latex. Almost coming to finalizing stage, I figured out I have severe alignment ...
7
votes
2answers
193 views

Purpose of “control space”

I could not find enough information on Google about control space (\). What is the purpose of it? Where should it be used?
9
votes
3answers
240 views

How To Make a Special Position Environment in LaTeX?

So I must admit I am way out of my depth and have no idea what I'm doing. I apologize in advance for a long and complicated question. I'm trying to build this output: Which I have successfully ...
2
votes
1answer
43 views

Finding the width of \bf text for sizing a paragraph in a table

I have this structure, which builds a table exactly the width of the text, split into two columns. I want the left column to be exactly the width of the longest words in the column, but to still be a ...
5
votes
2answers
114 views

TikZ: define center of a picture

I have a TikZ picture which I want to include as a centered figure in my LaTeX document. However, the "centering" I am trying to achieve is somewhat special and best explained by the image below: ...
1
vote
1answer
92 views

Tag placing with amsmath

I'm using amsmath and its \tag command to tag equations. I remember having a situation where I liked having the tag on the left better than on the right. So I gave my class (which is report btw) the ...
2
votes
1answer
55 views

Rounded corner box in itemized environment

Here is the MWE: \documentclass{article} \usepackage{tikz} \newcommand{\rbox}[1]{ \begin{tikzpicture}[remember picture, overlay] \node[rounded corners=3pt, draw]{#1}; ...
3
votes
3answers
121 views

Centering a table inside text block

I have a table in my document, but for some reason it is not in the middle of the page, as I can see more whitespace at the right side. Here is the source code for the table: \begin{table}[H] ...
0
votes
3answers
168 views

How to add explanatory text labels to a list of equations / solving steps

Does anyone know how to do this in LaTeX and can explain how it is done? The font and design does not matter, what I want is to label the equations.
2
votes
1answer
66 views

Centre aligned text with multi-cols and flowfram

I know the question has been answered here, but I still can't get all the text within multi-cols to be centre aligned. Here's what I have with the incorrect left-aligned text: % document class ...
3
votes
1answer
54 views

How can I put the title/my name in the middle of my page?

I just can't figure this one out. I'm using \documentclass[margin,line,8pt]{res} and want my title/name in the middle of the page.