Skip to main content

Questions tagged [alignment]

{alignment} is for questions about text arrangement in correct relative orientation or position.

Filter by
Sorted by
Tagged with
0 votes
3 answers
41 views

Writing one column over another

Let me start with MWE: \documentclass{amsart} \usepackage{amsmath} \begin{document} \begin{alignat*}{2} (A&\triangle B)^C=((A\setminus B)\cup(B\setminus A))^C &\mbox{by definition of ...
J.Petrovic's user avatar
0 votes
0 answers
15 views

How can I rotate captions for rotated side by side images

This is my first time working with LaTeX and I found a problem when trying to put two rotated images side by side, here is the code I'm using and its result (in a generic way, changing the images and ...
JovenCalixto's user avatar
1 vote
1 answer
45 views

Tikz: How to vertically align text across multiple nodes?

The title says it. In the example below, how can I make the text start from the top in all boxes? So node3, node1, node2 to be on the same top line, like node3 is right now? I have checked this, this, ...
PaulG's user avatar
  • 133
0 votes
0 answers
15 views

pgfplots: shifted axis with set layers

When using set layers to draw several axis on the same set of layers, I get alignment problems. Here's a typical setup where several axes are aligned with respect to each other, using xshift and ...
schtandard's user avatar
  • 15.4k
1 vote
2 answers
48 views

How do I place a node that is horizontally aligned with one node, and is vertically aligned with the middle of two nodes in above?

I have a fifth node I wish to align with three other nodes. The current nodes are aligned like A B C D I wish to place node E as such: A B C D E ...
Michelle's user avatar
  • 551
0 votes
1 answer
23 views

Numeric alignment in table with multicolumn and multirow

I have trouble in aligning the numeric value at the dot, or at the "x" symbol. I tried to format the columns as S columns from siunitx, but it did not work. Some columns appear to be already ...
arielpriarone's user avatar
0 votes
1 answer
44 views

Caption of a figure aligned to right-hand margin with `minipage`

I would place the caption immediately to the right of each figure. With the use of \begin{minipage}[c]{0.67\textwidth} I was able to obtain a caption to the right of the figure, but I have a ...
Bml's user avatar
  • 151
5 votes
2 answers
206 views

How to Create a Fully Centered and Adjustable Multiline Table in LaTeX?

I am unfortunately quite a LaTeX noob and am having difficulties putting together a table. My goal is to center the content of each cell both vertically and horizontally. The table is aligned ...
bolli's user avatar
  • 51
2 votes
1 answer
117 views

Alignment of TikZ pictures

I'm trying to automate the vertical alignment of these shapes so I can use a foreach loop to put them in a repeating pattern. (At the moment the triangle is a bit high and the circle is a bit low) Any ...
Wendy Taylor's user avatar
2 votes
2 answers
174 views

I am lost by the "Undefined Control Sequence" and the 'unnaligned' equations

[EDIT V.1] Good day to all. I am new to LaTex and I have two problems: The warning "Undefined Control Sequence," which doesn't really seem to bother the parsing (I'm doing it in Overleaf), ...
user323452's user avatar
2 votes
1 answer
30 views

For and end for alignment in algorithmic

I have been writing my research and had to use a lot of algorithm inserts, and I haven't worked with it enough to solve this issue. My For and EndFor part don't seem to align no matter what. I tried ...
Ксения's user avatar
2 votes
1 answer
40 views

Roman enumerate numbers stick out size of table cell. How to keep in cell?

I'm making a legal document, using an enumitem to number clauses, in the first clause I want a table of definitions. For some reason this combination causes another itemize with roman numerals to ...
crobar's user avatar
  • 1,229
3 votes
1 answer
74 views

How to set a phantom box in tcolorbox?

I am trying to create a phantombox (i.e., a box whose contents and size are exactly the same as they are if its contents were not inside tcolorbox environment). If I combine two contents to check, I ...
Al-Motasem Aldaoudeyeh's user avatar
1 vote
1 answer
28 views

How to make text block next to braces pointing to another text all aligned nicely?

I am working on a legal document and I would like to achieve something like the following for the signature block: I would want the brace to grow with the area of text where the name is as necessary, ...
crobar's user avatar
  • 1,229
0 votes
1 answer
34 views

Handling with tabularx and tikzpicture

The goal is Generate a centerd-aligned single cell tabularx large as document width Insert a tikzipicture MWE: \documentclass{standalone} \usepackage{amsmath} \usepackage{mathtools} \usepackage{...
user3204810's user avatar
  • 1,539
1 vote
3 answers
25 views

How to align text to the bottom right of centered image

I have a figure at the centre of the page. I would like to keep it centered, but write text to its right, to the bottom. \documentclass{article} \usepackage[a4paper]{geometry} \usepackage{graphicx} \...
ellat's user avatar
  • 165
4 votes
2 answers
151 views

Aligning equal signs and brackets at the same time

I wish to have the following . This is the code to generate the image above. \begin{align*} \vec{a}\dvec{B} = \vec{a}(\vec{b}\wedge\vec{c}) \\ \vec{a}(\vec{b}\wedge\vec{c}) = (a_x\hx + a_y\hy ...
Octonions's user avatar
-3 votes
1 answer
75 views

Simple Question [closed]

How to write the image below in latex?:
muzan muzan's user avatar
0 votes
1 answer
44 views

Forest Package Alignment Help

Using the forest package, I am trying to make: \Tree [.Red-Shirt [.Black-Pants [.Red-Black-Outfit ] ] [.Blue-Pants [.Red-Blue-Outfit ] ] [.Red-Pants [.Red-Red-Outfit ] ] [.Gold-Pants [.Red-Gold-...
muzan muzan's user avatar
0 votes
1 answer
118 views

How can I write this on latex? [closed]

How can I write: On latex, I used \[ \] math command for the __ __ and \phantom for the spaces: but i cant seem to get the "set of choices" directly under it in the desired fashion: How ...
muzan muzan's user avatar
3 votes
3 answers
202 views

Problem with multiple alignments in equation

As you can see in this equation there is multiple alignment: Why is my code not working: $$ \begin{aligned} |A| &= | A_1 \cup A_2 \cup \ldots \cup A_r | \\ &= \textstyle\sum\limits_{1 \leq ...
calculatormathematical's user avatar
1 vote
1 answer
33 views

How to align some lines to a specific alignment, and some other lines to another specific alignment, where some lines has justified text?

See the following: First line has the question "What is wrong ...?", it starts from the specified margin in latex, that is 2 cm. Then 2nd, 4th, 6th, 8th, and 10th lines all start from same ...
Hussain-Alqatari's user avatar
2 votes
1 answer
35 views

Bottom alignment in multicolumns subsection

How can I always align text on top of the subsection to avoid situations, like those in the picture? Code example \documentclass{article} \usepackage{graphicx} \usepackage{lipsum} \usepackage{...
Roman Aebi's user avatar
0 votes
0 answers
17 views

Align Acronym Descriptions in Acronym List

I created a glossary: \documentclass{article} \usepackage[acronym,toc]{glossaries} \makeglossaries \newacronym{fe}{f.e.}{for example} \newacronym{ie}{i.e.}{id est} \newacronym{diy}{DIY}{do it ...
s28's user avatar
  • 107
-2 votes
1 answer
47 views

Making an environment with a combined flushright tabular construct

I would like to construct an environment that uses flushright and tabular to print a set of lines. Here is my attempt. It has one argument intended to print the text in a single line. Now I want to ...
Bulldrive's user avatar
  • 161
2 votes
2 answers
99 views

Written Multiplication

I want to achieve to get this multiplication in ternary: I tried: \begin{center} \begin{tabular}{c} $212011 \cdot 122$ \\ \hline $212011$ \\ $1201022$ \\ $1201022$ \\ \hline $112120112$ \\ \hline \...
calculatormathematical's user avatar
0 votes
1 answer
27 views

Equations in display style not centered but with an indent

I'd like to use display style-equations but I don't want them to be centered. Instead, I'd like to have them left-aligned with 2 cm indent. Is this possible?
fswaan's user avatar
  • 3
2 votes
1 answer
43 views

How make raggedleft really right aligned in if/else environment?

For some reason, the \raggedleft isn't really right-aligned. I tried minipage but that apparently doesn't work in the if/else environment. \documentclass[ % handout, english,usenames,...
jay.sf's user avatar
  • 509
2 votes
1 answer
88 views

Alignment detection

I have a simple macro that I often use in equations to write a comment \newcommand{\com}[1]{,\text{ #1 }} I also use the same macro to write formulas with multiple cases \documentclass{article} \...
Nolord's user avatar
  • 231
6 votes
4 answers
427 views

Node in a middle of a line strange behaviour

As you can see, the Greek letter theta which is expected to be just below the curved stroke instead takes on a completely unexpected position. What could it be due to? \documentclass[14pt]{article} \...
user3204810's user avatar
  • 1,539
0 votes
2 answers
70 views

Aligning Question

how to get the code for this. I tried \begin{align} and it didnt work out. (The arrows aren't needed)
muzan muzan's user avatar
5 votes
6 answers
418 views

How to align numbers to words of a sentence in the next line?

I am typesetting a mnemonic for remembering values of pi. For this I want the number of characters in the word to appear on the next line aligned with where word starts. I have tried both tabular and ...
Damitr's user avatar
  • 2,025
2 votes
2 answers
67 views

Specific Formulas Alignment

I need to align congruences in different ways in columns. The left parts of the formulas (in the red frame) need align in the center, the right ones (in the green frame) should be one under the other (...
32seph's user avatar
  • 23
2 votes
1 answer
36 views

Vertically center circuitikz label/annotation (with zero depth)

When adding a label to circuitikz components, a strut is automatically inserted to ensure proper alignment between labels with/without ascenders and descenders. This is not always the desired behavior....
schtandard's user avatar
  • 15.4k
0 votes
0 answers
30 views

How to left-align section titles in Revtex4-2

I'm using the following setup for an article: \documentclass[prd,amsmath,superscriptaddress,twocolumn,eqsecnum,nofootinbib]{revtex4-2} \interfootnotelinepenalty=10000 \pdfoutput=1 \usepackage[utf8]{...
ConfusedCabbage's user avatar
-1 votes
1 answer
106 views

Create One Legal Page Still A Challenge [closed]

apologies for reiterating this question. However this issue is still not solved.I figure the best way to learn was to do hands on and get it going for myself, but after a few days, I am still finding ...
Simbadian's user avatar
3 votes
2 answers
75 views

Table content is right aligned instead of left?

My text of the columns is right aligned. I tried the \newcolumntype{L}{>{\raggedright\arraybackslash}X}` and \usepackage{array} but nothing is working. \documentclass[12pt, letterpaper]{article} \...
nadeem's user avatar
  • 53
0 votes
0 answers
26 views

Text after a table does not appear to be aligned anymore

I have text before and after a table but the text after the table is not as left aligned as before. How can I fix this? \documentclass[a4paper,10pt]{article} \usepackage{geometry, mhchem, textgreek, ...
Iron's user avatar
  • 1
1 vote
1 answer
24 views

vertically aligned table in landscape mode with footnotemark

so i have read these: Footnotes under table in landscape mode A problem with table in landscape mode Centering multi-page, long table in landscape pages and my question is simple: if i have a "...
gagan's user avatar
  • 23
1 vote
1 answer
26 views

Change the position of caption in gb4e

I want to move a caption containing metalinguistic information so that it aligns to the right. This is my current tex document %okegas yuk bisa yuk \documentclass[10pt]{article} \ExpandArgs{c}\...
pindakazen's user avatar
0 votes
1 answer
26 views

How to align text to the left side of a page an equation to the middle, while both reside on the same line?

In case the title isn't clear: I need a bit of text and an equation (for other cases, in the provided picture I had other text) to reside on the same exact line, while having the text be aligned to ...
Raiden's user avatar
  • 83
3 votes
2 answers
59 views

Custom LaTeX Command for Consecutive Superscripts with Correct Alignment After Large Symbols

I am writing my master's thesis on Formal Concept Analysis and I want to create a custom command for the derivation operators. They are superscript arrows with some optional argument, and would look ...
Samuel Jose Molina Ruiz's user avatar
0 votes
1 answer
28 views

Top-align fbox in list item

I have an fbox as the content of a list item, and I want the bullet point to be at the top of the box, like it would be for a plain paragraph, but the bullet is vertical-centered on the box. Here's ...
jamie's user avatar
  • 3
1 vote
2 answers
34 views

Two indentatinons in one image for two different captions

So my collage require that my work should have one upper cation for an Image and another one at the bottom just for the source of the image. That being said , it also requires that the first caption ...
Juba's user avatar
  • 11
3 votes
2 answers
100 views

Alignment inside a equivalent statements proof

How can I set this kind of alignment keeping 1->2 in the left hand side and having the text with a justified alignment. I assume that I have to do 1->2 manually.
Robert's user avatar
  • 133
0 votes
1 answer
41 views

XeLatex equations and content placement between lines

How I make sure in the following template to place the equations and the statments to be exactly between the lines. They never come over any lines always in between the lines and on the right of the ...
Raja Ali Riaz's user avatar
2 votes
1 answer
74 views

Mixed NiceTabular, MultiRow, Multicolumn, Alignments problems and Missing $

I love the way Latex looks, but sometimes, it's a nightmare to sort things out. I am trying to make a table, and I am at his point. At first, I tried to create the table using "tabular", but ...
Alberto Gonzalez Berrio's user avatar
0 votes
2 answers
49 views

Align paragraph in paracol at the top by force

Paracol is a package that allows for synchronized multi-column typesetting. However, I find a situation where paragraphs in two columns not aligned at the top. Here's the MWE that just shows the ...
kraanium's user avatar
0 votes
1 answer
28 views

Section number flushed left but section body centred

In my document (thesis) I would like to have the section-number always on the left handside, while the actual section-name should be centred. In pseudocode it would be something like this: \...
Kulloth's user avatar
2 votes
1 answer
60 views

Trying to align boxes with variable sizes

I'm trying to align some boxes, but having difficulty understanding why what I have isn't working and what I can do to get the desired effect with box primitives. I want x the quick brown fox ...
velve's user avatar
  • 35

1
2 3 4 5
26