Skip to main content

Questions tagged [horizontal-alignment]

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

3 votes
1 answer
76 views

I am preparing a oneside document using a wide margin together with the sidenotes package. I'm experiencing issues with full-width figures that are occasionally misaligned. For example, the MWE below ...
Heisenbugs's user avatar
2 votes
1 answer
63 views

I am wondering if there is a relatively sane way to get a tabular environment with a centered alignment column, to have a consistent left alignment within that centering. This is easiest to explain by ...
Jason's user avatar
  • 1,055
2 votes
1 answer
58 views

I'm making a test using the exam class and wish to have answer boxes with a grid background for my students to write their responses. I'm doing this with a custom tcolorbox. I'm wondering why my grid ...
Alec's user avatar
  • 177
1 vote
0 answers
40 views

So basically what I need is a "page width" version of the "center" option that tcolorbox supports, which does not work when centering should be calculated relative to the physical ...
Joan Sanz's user avatar
3 votes
1 answer
47 views

I'm not very good at LaTeX. I've been asking people online and using Grok a lot to try and make my first professional typeset PDF. I'm basically copying a textbook chapter. I want my QED to be ...
Gurvir Birk's user avatar
0 votes
1 answer
99 views

Description Here below are four examples: First. Without \centering and align=center: \documentclass[tikz]{standalone} \begin{document} % \centering% \begin{tikzpicture} \node [ ...
Explorer's user avatar
  • 8,566
0 votes
0 answers
36 views

So I was writing a document and noticed that I had a lot of words being cut off with - and being put in the next line because my sentences were too long. Is there a way to make my text stretch the ...
Nico Murania's user avatar
2 votes
2 answers
124 views

I created a table using tabularx that I was quite happy with. But unfortunately it turns out to be longer than one page. So the obvious choice to solve my problem would be using longtable, but I run ...
user154802's user avatar
1 vote
1 answer
88 views

How can I type a formula like this? The aligned equations are inline and the word "so" is below the aligned equation,
Jasmine's user avatar
  • 23
0 votes
1 answer
44 views

I wish to write $$K_i(A; \mathbb Z_n) \coloneqq K_i(A \otimes C_n), i=1,2$$ with K_i(A; \mathbb Z_n) \coloneqq K_i(A \otimes C_n), centred, and i=1,2 aligned to the right. I've tried adding \hfill ...
Austin Shiner's user avatar
3 votes
3 answers
157 views

Here is a question which has puzzled me for a while now. Suppose I have a set of aligned equations, I want to highlight one of them using a simple highlight function (see snippet), which produces a ...
Your neighbor Todorovich's user avatar
4 votes
2 answers
136 views

Background Looking to dynamically change the justification for the last line in a quotation. Problem The setupalign wiki page notes that \setupalign takes an end parameter meaning, "justified, ...
Dave Jarvis's user avatar
  • 13.1k
4 votes
1 answer
138 views

I have the following equation: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} x &= \sum_{i=1}^k\sum_{j=1}^l \alpha_{ij} (u_i + v_j) \hspace{0.5cm} \text{where}...
mlg's user avatar
  • 243
3 votes
2 answers
223 views

I have two Gantt charts using the pgfgantt package, and their typesetting is influenced by the longest label length. How can I make them aligned horizontally so that the left edge of the charts are ...
Gergely's user avatar
  • 1,177
5 votes
2 answers
165 views

I need to vertically align each element in the set instead of floating above the commas. \documentclass[border=3pt]{standalone} \usepackage{amsmath,mathtools,bclogo} \begin{document} \begin{minipage}{...
D G's user avatar
  • 1,200

15 30 50 per page
1
2 3 4 5
386