Questions tagged [alignment]

For questions about text arrangement in correct relative orientation or position.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
23 views

centered threeparttable does not align with caption [closed]

I have a (centered) threeparttable that does not align with the caption. How can I make that the table is centered in the document and the caption align (left top) with the table? \usepackage{tabularx}...
user avatar
0 votes
1 answer
25 views

Pass parameters in the new command so that it can be utilized in the whole document

I want a define a new command so that once I pass the value as ANNEXURE-I it should be right aligned, bold, underlined, and the font should increase. Moreover, I want the whole document to be ...
user avatar
  • 53
0 votes
0 answers
8 views

How to force move matrix (or any paragraph) in landscape? [duplicate]

I'm having trouble with aligning these huge matrices. I tried using align and equation environment, but it always gave me weird alignment. Here is the screenshot of one of my page (the matrix is 7x7). ...
user avatar
0 votes
1 answer
15 views

How to align the Figure title of two side by side images within enumerate function

I have a latex document in which I have included two images side by side within an enumerate function. The caption for those individual figures is aligned to the figure itself, but the overall Figure ...
user avatar
0 votes
1 answer
30 views

Vertically aligning multiple lines of text to a single line

I am writing my resume and would like to align my contact information‌ —in this case an email and phone number— to my name. In effect, I'd have one big block of text left-aligned to the page, and at ...
user avatar
  • 3
1 vote
0 answers
25 views

Centering an Image within a Tikzpicture that is Embedded in a Pspicture

I am trying to place an image (in this case, a red square) at the center of a radial glow (generated as a tikzpicture) all within a pspicture environment. Consider the code \documentclass{book} \...
user avatar
  • 5,285
1 vote
1 answer
50 views

Having Matrix Style alignment in tabular

I need to create the following table in LaTeX: The aligning of the equations in the cells are giving me alot of trouble, the single \moment_{ij}^0 at the end of the equation should be aligned for ...
user avatar
  • 23
1 vote
4 answers
46 views

Labeling equations in a table

\documentclass{article} \usepackage{tabularx} \usepackage{natbib} \bibpunct{(}{)}{;}{a}{,}{,} % I added this \usepackage{verbatim} % for commenting \usepackage{float} \usepackage{array} \usepackage{...
user avatar
  • 11
0 votes
0 answers
21 views

Timeline alignment

I want to split the timeline of my cv into two lines and let the content on the right, be aligned to the first line of the timeline. But somehow the content aligns to the second line of the timeline. \...
user avatar
0 votes
1 answer
11 views

Alignment of dates in `\cventry` in moderncv

When putting education, we have an expected date which is too long and I'm not sure how to make a right alignment in \cventry. What I have is \documentclass[11pt,a4paper,sans]{moderncv} \moderncvstyle{...
user avatar
0 votes
0 answers
26 views

On moving a parbox generated by p{width} to the very right in a tabular

Let us focus on the following code: \documentclass{book} \begin{document} \begin{tabular} {|l| r@{}@{\hspace{0.3em}} |l|r|} %-------------------------------------------------------------------- \...
user avatar
  • 1,491
0 votes
2 answers
41 views

Column Alignment For Table

I am trying to align column 1 row 1 and column 2 row 1 better (independently) (specifically the Time and seconds, x and also the height and feet, y. You can see each is off center a bit. I am unable ...
user avatar
  • 494
2 votes
1 answer
20 views

How to properly align the line without equal sign with the other lines

I would like to write an equation of the form formula 1 = formula 2 = formula 3 ... However, I'm having difficulty aligning the first line with the other lines. I tried \quad or even \...
user avatar
  • 6,246
3 votes
2 answers
57 views

Alignat: column not flushing right to the margin

I am trying to use alignat* to have flushed-right comments on equations. The comments are correctly aligned, but I can't find a way to ensure they are flushing to the document's margins. Either the ...
user avatar
1 vote
1 answer
52 views

Question to all Chemfig-enthusiasts: How to put '+' on same line

Here's my little molecule so far: \documentclass{article} \usepackage{chemfig} \usepackage{amssymb} \begin{document} \schemestart \chemfig[atom sep=24pt]{C([2]-H)([4]-H)(-\charge{90=\|,-90=\|}{O}-H)...
user avatar
  • 363
0 votes
2 answers
36 views

How to align equation on several characters

Using Latex, I am looking for a way to align equations on several characters. I want to obtain something like that : ax + bx = c1 a²x + bx = c2 a²x + b²x = c2 As you can see the idea is that ...
user avatar
1 vote
1 answer
31 views

hfill in equation (split, align or subequations, ...)

I'd like to have something like this \documentclass[a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[a4paper,top=3cm,bottom=3cm,left=1.5cm,right=1.5cm]{geometry} \usepackage{mathtools} \...
user avatar
  • 847
0 votes
1 answer
19 views

How Can I Align all of the Cells of my Table to \RaggedRight

I created this table in LaTeX by using the xltabular package: \begin{xltabular}{\linewidth}{X X X X X X X} \toprule Activity & \multicolumn{2}{X}{1. Feb 10, 2022} & \multicolumn{2}{X}{2. April ...
user avatar
4 votes
1 answer
57 views

Multiple text alignments in TikZ legend entries

I am looking for a simple way to have multiple alignments in a TikZ legend. I have the following code which produces a TikZ figure: \documentclass[11pt,a4paper]{article} \usepackage{pgfplots} \...
user avatar
0 votes
3 answers
39 views

Equation breaking without Losing alignment

I've done this before breaking equation using \split while working in align environment but this is not the output I want. I want to break the equation but don't want to lose alignment of the equation ...
user avatar
0 votes
1 answer
33 views

Decrease separation between columns beamer

I want to align an image with some text in a beamer frame. From what I've read on other questions, one way to do this is to use the command \begin{columns}. However, something is not formatted as I ...
user avatar
  • 143
0 votes
2 answers
24 views

Aligning figure (within table environment) to the right margin

\usepackage{graphicx} \usepackage{multicol} \usepackage{tabularx} \usepackage{booktabs} \usepackage{multirow} \usepackage{siunitx} \usepackage[export]{adjustbox} \usepackage{wrapfig} \begin{document} ...
user avatar
1 vote
1 answer
32 views

Algorithm caption left alignment

I am struggling with moving the caption's location to the left. Is there a way to fix the alignment of the caption in the algorithm? Below are some of the packages that I used and the code. Thanks. \...
user avatar
0 votes
0 answers
24 views

How to use environments like array inline

There are some environments such as align, array or matrix that is usually in display mode. However there's another multi-line environment which can be used inline called cases. So I'm thinking ...
user avatar
  • 101
0 votes
2 answers
17 views

misalignment problem about newenvironment

My code: \documentclass{article} \usepackage{amsthm} \usepackage{enumerate} \newenvironment{mypro}{\begin{proof}\hfill\par\noindent}{\end{proof}} \begin{document} \begin{mypro} 1\\ 2 \end{...
user avatar
  • 1
4 votes
1 answer
111 views

How to facilitate inclusive writing in french?

When I write in french I often have to use the inclusive form: The students did their homework. Les étudiant·e·s ont fait leurs devoirs. However, it is not easy to get a good-looking example with ...
user avatar
  • 1,087
1 vote
1 answer
27 views

Aligning xilene isomeri with chemfig

Ho can vertical align this scheme to the red line? \documentclass{article} \usepackage[margin=1.5cm,top=1cm,headheight=16pt,headsep=0.1in,heightrounded]{geometry} \usepackage{chemfig} \setchemfig{% % ...
user avatar
4 votes
3 answers
343 views

How do I align equations along operators within parentheses?

Edit 3: See my own answer if you would like to achieve exactly what I was asking for! Problem When I put the alignment character (ampersand) inside parentheses, it breaks the compiler. % !TEX TS-...
user avatar
1 vote
2 answers
88 views

Formatting chemistry reaction

This is a draft of the reaction I would like to draw \documentclass[12pt]{article} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[full]{textcomp} \usepackage[greek,italian]{babel} \...
user avatar
0 votes
2 answers
34 views

The last enumerate item not aligning

does anybody know why the last item (and items added after the 7th.) is not aligned with the previous items? I don't understand... \documentclass[12pt]{article} \usepackage{graphicx} \usepackage{float}...
user avatar
  • 3
0 votes
1 answer
23 views

Aligning text in multicols environment. \raggedright does not work

I have been trying to left-align some justified text in the multicols environment with no success. I have tried to input \raggedright and \RaggedRight pretty much at every place I could think of. I ...
user avatar
0 votes
1 answer
23 views

Align a large image to its centre

I have to insert a large image in my thesis report. For some reason the image is getting right aligned in the page by default. I tried to center the image using \hspace{-1.4cm}, but no improvement. ...
user avatar
0 votes
3 answers
51 views

How to right align comments of an equation?

I want to right align (something like \raggedleft ?) the comments of each line. I am using \ \ \ \ which are not good. Please suggest me a better way to write this. Should I use splitting or anything? ...
user avatar
1 vote
1 answer
18 views

Left-alignment in a table of variables description

I cannot understand why in the following code (I need to polish the preamble a little bit possibly, I know), I am unable to left-align "Variables". I tried different solutions but still it ...
user avatar
  • 1,296
1 vote
1 answer
38 views

Beamer overprint: center content vertically

In this MWE, I want the images to be centered vertically: \documentclass{beamer} \usepackage{mwe} \begin{document} \begin{frame} \hrulefill{} \begin{columns} \begin{column}{0.4\textwidth} ...
user avatar
  • 1,193
0 votes
1 answer
38 views

page by page comparison

As for my thesis, I need to do a side by side comparison of two calculations. You can imagine the layout as the following: On the left page (or first page), I want to discuss the first calculation. On ...
user avatar
  • 45
1 vote
1 answer
24 views

How to change alignment of \uplevel in exam class?

I am trying to mimic the exam style of the Dutch central exams (high school) in LaTeX so my students can get used to the exam format. I am using the exam package from LaTeX and I have almost nearly ...
user avatar
2 votes
1 answer
25 views

How to left align equations within \begin{split}

I have an alignment issue with the following codes. I wonder how to make the third equation leftalign like first and second equations. \begin{subequations}\begin{align} j_{11}&=\frac{\...
user avatar
  • 123
0 votes
3 answers
49 views

Aligning and positioning the node contents inside a table made of TikZ matrix

I have difficulty aligning the contents of the nodes inside a TikZ matrix. I'm specifically interested in achieving the kind of table below: I got most of this code off the Internet and rearranged ...
user avatar
1 vote
1 answer
61 views

Align equations on different rows inside tabularray environment

I'm trying to find a solution for my problem: align different equations on different rows at their respective equal sign. I tried the most popular environments for this: eqparbox equation* align* but ...
user avatar
  • 61
2 votes
1 answer
61 views

Alignment of elements within tikzpicture

I am trying to represent the prosodic tones of an utterance but I'm failing to align some elements which should be aligned. Here's the minimal working example of what I'm doing: \documentclass{book} \...
user avatar
1 vote
1 answer
44 views

Trouble with vertical alignment of text and images in table

I am trying to create a table with both text and images (in separate cells) are left, top justified. This is what I get: attached pdf. I have googled and searched StackExchange but no luck. Please ...
user avatar
1 vote
1 answer
21 views

Multiple inference rules aligned

I'm trying to write several inference rules aligned like this but I've run into some difficulties and haven't found a suitable way to do it. Any ideas ? Thanks for your help.
user avatar
0 votes
1 answer
45 views

How to align uncertainty with siunitx in table

I have a table that contains SI units using the siunitx package which have different digits of uncertainties. How can I easily go about aligning them to the \pm? I've tried playing around with the ...
user avatar
0 votes
1 answer
16 views

Make misaligned twocolumn documents even

For a twocolumn document using memoir I am preparing, I find that when modifying \parskip for greater paragraph separation and making use of \section to divide the text into different parts, this ...
user avatar
1 vote
1 answer
28 views

Problem with multiple alignment defining a set

I have some problems defining a set in multiple lines. Here is the set: The problem is that when written in this way, I go outside the margins. I would like to define this set in multiple lines but ...
user avatar
1 vote
2 answers
75 views

The width of a table not well with "tabularx" in LaTeX

I wanted to make a table's width as text width. So I did so: \documentclass{article} \usepackage{tabularx} \usepackage{threeparttable} \usepackage{siunitx} \usepackage{booktabs} \usepackage{multirow} \...
user avatar
  • 663
0 votes
1 answer
23 views

table like entry without the table bars in overleaf latex

I am new to latex overleaf and I want to have something like the following topic Main topic and content of the paper relevance Explanation of why and how the paper is relevant to ...
user avatar
0 votes
1 answer
22 views

Text aligned with header and even vertical spacing before and after equations

I am trying to get both the text aligned with the header, and even verical spacing before and after equations. My first version of the code returns aligned text, but uneven equation spacing: \...
user avatar
  • 25
2 votes
3 answers
41 views

Properly aligned inline equations within multicols environment

Consider for instance \documentclass{article} \usepackage{amsmath,amssymb,amsfonts,amsthm} \usepackage{multicol} \usepackage[margin=1cm]{geometry} \begin{document} \begin{multicols}{4} \...
user avatar
  • 1,069

1
2 3 4 5
18