Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [alignment]

The tag has no usage guidance.

2
votes
2answers
41 views

Aligning figure and table captions

I want to align captions to left side of the figures and tables. After this, I want to align caption's first line to second line. My MWE is below, could you help me to solve the issue? Desired ...
3
votes
4answers
135 views

How do I reduce spacing between 2 segments of a line in a multiple alignment environment?

Currently, there is a large gap between the 2 segments of a line, causing its index to be pushed to the following line. How can I prevent this? \documentclass{article} \usepackage{amsmath} \...
4
votes
2answers
16 views

How can I adjust the vertical / horizontal alignment of a table and its caption in a minipage?

I want my captions to be the same width as my table with appropriate wrap around. So I created a new command to do it. The MWE is below. The problem is that while the table and caption are flush on ...
2
votes
2answers
40 views

Problem with alignment of coefficients

I have a problem with the alignment of coefficients in this table. I tried modifying the margins with the geometry pack, without success. I don't really know what to do! I modified this table from an ...
4
votes
1answer
117 views

Unexpected side-comment alignment with algorithm2e

In package algorithm2e you can have side comments aligned in four different ways, depending on the option used (see Section 11.4 of the package's manual). In the following mwe, there are two copies ...
1
vote
2answers
30 views

Configuring `alignat` from `amsmath`

There is various documentation on how to use \alignat, however I am really struggling to get my head around it! My particular issue is with the following. \documentclass[]{article} \usepackage{...
5
votes
1answer
29 views

Multiline equation with aligned (amsmath) and brackets that contains the entire equation

I want to have the right side of the equation surrounded by square brackets with appropriate size. How do I make the brackets contain many lines without ruining the alignment? Minimal code that won'...
3
votes
3answers
44 views

Tabular with minipage inside, problem with vertical alignment

I am trying to align two minipages inside a tabular environment, but I have some alignment issues when I put more than one table, as you can see in the image at the bottom. \documentclass[10pt]{...
3
votes
2answers
36 views

Aligning 4 equations with label

I did the following code : \begin{align} div(\bm{E})=& \frac{\rho}{\epsilon_0} & div(\bm{B})&=0 \\ \bm{curl}(\bm{E})=& -\partial_t \bm{B} & \bm{curl}(\bm{B})&...
4
votes
1answer
57 views

How to left align the description of an equation?

Somebody can help me left align the description of an equation numbering just the equation. This is my code and I'm attaching an image of how should it looks. \documentclass{article} \usepackage{...
5
votes
3answers
77 views

Aligning object in a commutative diagram

MWE: \documentclass[a4paper]{article} \usepackage{amsmath} \usepackage{amssymb} \usepackage{tikz-cd} \usepackage{faktor} \begin{document} I'd like the first line of the following diagram to be ...
2
votes
2answers
60 views

Misaligned rotated cell

I'm trying to rotate some cells in my table, but they seem to be right aligned for no specific reason. They also expand the cells somehow. \documentclass[a4paper, 11pt]{article} \usepackage[utf8]{...
1
vote
2answers
158 views

Wrap Figure Issues and alignment [closed]

I am trying to write a digest paper in one column format using IEEE template. I am trying to wrap figures around text and it is creating gaps where it shouldn't and for some reason, some places have ...
0
votes
3answers
33 views

How would I correctly align the following?

Any ideas on how I'd be able to align as illustrated below without the use of tables?
3
votes
4answers
76 views

Draw a cyclical graph with nicely aligned edges using nodes in tikz [duplicate]

I would like to draw a cyclical graph in tikz using nodes and edges as hassle free and with as little code repetition as possible. However, the resulting edges do not align nicely with respect to the ...
0
votes
4answers
81 views

How do I write an aligned function with η and arrows?

I would like to know how to write the following function. Which command should I use?
0
votes
0answers
23 views

Alignment inside in-line $$ math environment [duplicate]

I would like to be able to use (equation) alignment inside a simple in-line $...$ environment. Of course, normally nobody does this, when this is properly done with the standalone equation ...
3
votes
2answers
39 views

Line breaks and alignment in table cells with math environment

I am trying to build a table which has math environments and forced line breaks. I've found some solutions that come close to what I desire. Effectively, I am working on something like this: \...
3
votes
1answer
38 views

Putting forest trees in table cells

I would like to put a forest tree in each cell of the first column of a table. There are some issues when I do this: The spacing is too tight, and the numbers in the rest of the table go to the bottom....
1
vote
1answer
44 views

How to write in an alignment in latex

\documentclass[a4paper,11pt]{report} \usepackage{amsmath,amssymb,graphicx,tikz} \usepackage{enumitem} \begin{documennt} \begin{enumerate}[label=(\arabic*)] \item $x^{p^{r}q^{s}}+1$ \vspace{0.3cm} ...
0
votes
0answers
38 views

Polynomial division and alignment

I am recreating the steps shown in the figure below: I have tried to use the polynom package but it doesn't help due to difference in the degree of the polynomials. What I have got so far is this: ...
0
votes
1answer
36 views

I want to have a part name in more than one line in the ToC, but then the lower lines aren't aligned as the first one

I want to have a part name in more than one line in the ToC, but then the lower lines aren't aligned as the first one. How can I fix that? See pic below. The \documentclass is a report.
2
votes
3answers
216 views

How do I align equations in three columns, justified right, center and left?

\[\begin{array}{crl} &(L-\epsilon)(x-M)\leq f(x)-f(M)&\leq(L+\epsilon)(x-M)\\ \Rightarrow&(L-\epsilon)(x-M)+f(M)&\leq f(x)&\leq(L+\epsilon)(x-M)+f(M)\\ \Rightarrow&(L-\epsilon)...
2
votes
1answer
45 views

align rows with columns of different widths

I've been failing to make a proper table where text width changes and have different sizes. Here is the table when I use tabulary environment. I want to have the columns have the same size and ...
1
vote
1answer
39 views

Text alignment on curriculum using the Tccv document class

Hello I am trying to modify the Two-column CV template which uses the tccv document class. Specifically I want to modify the formatting in the Work experience section which looks like this per ...
2
votes
2answers
63 views

Centering the equations with inequalities

This is the code I have, however the inequalities are not in the right place, I don't know why using for instance \:\:\: to move it to the right does not work. \begin{gather*} \qquad\...
0
votes
0answers
73 views

Automatic justification in bibliography results in spaces before author name

I am using citavi in combination with bibtex and bibstyle plain. My problem is that sometimes there are one to two spaces/ blanks in front of the author name (compare the author Albert with one ...
2
votes
2answers
43 views

2nd line of equation is indenting to the right

I have looked at answers to this question extensively and tried copied them but the second line of my equation keeps indenting to far to the right. How do I make it look normal? \begin{...
1
vote
0answers
28 views

Center all equations [closed]

Is there a mode to make all the equations(only the equations) in my document, in the form ${equation}$, become centered at once? example code: \documentclass{article} \usepackage[utf8]{inputenc} \...
2
votes
2answers
46 views

middle align and move images to the left

i have matrix in posterbox. Minimal working coding: \documentclass{article} \usepackage{tikz} \usetikzlibrary{matrix} \usepackage{tcolorbox} \tcbuselibrary{poster} \usepackage[margin=1in]{geometry} \...
3
votes
2answers
76 views

Align Fbox to the left and text to the right

I m a beginner with LaTex and I don't really understand how to align an FBox to the left with an image inside and some text to the right. Current implementation without boxing: \noindent\begin{...
1
vote
1answer
40 views

Recurring decimal within an aligned array

I am having some issues with representing recurring decimals (using \overline{}) within an aligned array I am using to represent a matrix. \documentclass{article} \usepackage{gensymb} \usepackage{...
3
votes
2answers
77 views

How to align underlines in a cases environment

Please consider this MWE: \documentclass{article} \usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[a4paper,margin=1in,footskip=0.25in]{geometry} \...
1
vote
1answer
37 views

Aligning graphs

I am trying to align 4 graphs in a paper. Previous searching led my to the master/slave trick (see code below). Compiling the code as it is gives the desired result, but if I comment the "\hspace{-....
1
vote
2answers
20 views

How to align multiple smaller texts on top of each other next to some larger text in LaTeX

In my document I have a huge sized text to the left and what I need is for two normal sized text lines to align them self on top of each other on the right side of the document but still on the same ...
1
vote
0answers
16 views

Grid alignment of 4 images [duplicate]

I wanted to align the four images in a grid of 2x2, but the images are getting arranged vertically. I'm working on a template of IEEE format. This is the code that I'm working on: \begin{figure}[!tbp]...
0
votes
0answers
17 views

Error as I try to centre align the content on the report - What could be the reason for this?

I am trying to centre the paragraphs, sub-paragraphs and table on the second page of the report. The way I am trying to do is: \paragraph{\begin{center}Document Information\end{center}} But as I ...
1
vote
3answers
120 views

Align diagonals of a labelled matrix with diagonal dots

I have a labelled matrix generated through the blockarray package. \documentclass{article} \usepackage{blkarray} \usepackage{amsmath} \begin{document} \begin{equation} \bm{\tilde{T}}_{(2,1)} = \begin{...
0
votes
1answer
18 views

Tabular : align text in one colum with line in the other

I would like to have a table where the text in the first column is aligned with the lines in the rest of the table. The result I'm expecting is something like this : 8 --------- | A | B | 9 ------...
0
votes
1answer
28 views

Equally align hanging chapter and section numbers

I am using the memoir class hangnum features for chapters and sections, here is a minimal example: \documentclass{memoir} \makechapterstyle{hangnum}{ \setlength{\chapindent}{0.8 cm} % <-- What ...
5
votes
1answer
57 views

Odd minus style when drawing american voltage

Looking closely at the image produced by circuitikz, I find that the minus sign of an american voltage looks rather odd. The alignment seems off and the sign seems much too wide. Is there a way to ...
1
vote
1answer
10 views

Is there an easy way to use two different sets of options for an environment?

I need to use the two quotation styles shown below (the first paragraph is the normal text): To this end, I am currently using the following code: \documentclass[a4paper]{article} \usepackage{...
3
votes
1answer
41 views

Disappearing left side of `aligned`

The following code \documentclass{amsart} \begin{document} \[ \begin{aligned} [E^dx,y]&=E^k[E^{d-k}x,y]-kE^{k-1}[E^{d-k}x,Ey]\\ &+\binom k2E^{k-2}[E^{d-k}x,E^2y]-...\\ &+(-1)^j\binom ...
1
vote
1answer
50 views

How to justify the text in LaTex reports?

I am writing the reviewer response for the thesis report. I am keeping every comment under \begin{flushleft}..\end{flushleft}. The reason behind this is that no indentation is needed to start the ...
1
vote
1answer
23 views

Strange listing alignment behaviour with and without a frame

Consider the following code which does an alignment experiment with listings. We are interested in the behaviour aboveskip and belowskip with and without a frame. % -----------------------------------...
1
vote
4answers
51 views

How to align the derivation of equation?

The derivation of equation is given below. Can anyone suggest on how to align the equations in such a way that all the equations get covered under same equation number? \begin{multline}\label{eqn-5.9}...
2
votes
1answer
17 views

Top align text in multicolum page in document

I'm trying to have a page with my abstract (document) where one column on the left is my abstract in English, and the one on the right is my abstract in French. I need the columns to be separate. ...
1
vote
2answers
49 views

Aligning content in multirow

I want to write a document, where i group two plots and the two functions corresponding to the plots together. There should be two such groups aligned next to each other. Here is a picture of what i ...
1
vote
2answers
41 views

Beamer: Onslides messes up tcbraster

I have issues with my beamer presentation: I want to have 3 boxes next to each other, they should first appear all at the same time and then I would specify when the boxes should appear. Without \...
0
votes
0answers
19 views

How to align paragraphs across booklet pages

I’m looking to make a custom Passover Haggadah. How would I make a booklet with paragraphs aligned across pages like below: So the translations match up