Questions tagged [alignment]

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

1222 questions
5
votes
3 answers

How can I align a text right below a bmatrix / pmatrix?

Might be a dumb question, but I am firing it: How can I align a text, A, in this case, right under a bmatrix/pmatrix? I currently have this code: \begin{equation*} \begin{pmatrix} 3 & -1 & 1 \\ 3 & 3 & 7 \\ …
5
votes
2 answers

Aligning limits of multiple summations

I have an optimisation problem wherein I have some trouble with the alignment of the limits of consecutive summations. \begin{align} \max \sum\limits_{k\in K}\sum\limits_{a\in A^{k,V}_{L}(f,v)}x^{k}_{a} \end{align} As you can observe, there seems…
crypto
  • 757
4
votes
2 answers

How to solve the problem with paragraph justification in LaTeX

I have met with a problem with the justification of a paragraph in LaTeX. See the image below. The MWE LaTeX code is as…
4
votes
2 answers

Align text in a fixed space equally centered

\paragraph{Testing} \begin{itemize} \item (Help) \item (Individual) \item (Test) \end{itemize} This gives me I'm trying to align text inside parenthesis equally & center. Something like the below. Tried makebox but I'm sure how to use it…
4
votes
1 answer

Question formatting like a table

I am preparing a document that has some questions with boxes for answering? It's should look like this: (red marks indicates indentation/alignment) I have created this instead which needs improvement. I tried to use a table but tables have some…
mmr
  • 2,249
  • 5
  • 22
4
votes
2 answers

Aligning equations - I'm trying to write the equations and their names like this but I think I messed up somewhere

\begin{align} &\vec{\nabla} \cdot \vec{E} = \frac{\rho}{\epsilon_0} & \text{Gauss’s Law}\\ &\vec{\nabla} \cdot \vec{B} = 0 & \text{Gauss’s Law for Magnetism} \end{align}
4
votes
1 answer

Negative number alignment in table

I know I have asked this question before but I would be really grateful if someone could explain stepwise to me how to solve the problem (instead of just posting the changed code, which I also found really really nice and helpful but I did not learn…
Milkovena
  • 121
4
votes
1 answer

Adding sign + betwen lines (not math mode)

I edited a function about vertical mltiplication to achieve horizontal placement of the two multipliers. I need the sign + centered between 6942 and 4628 in black color.I tried with \begin{align} but the functions for the \multiplication doesn't…
Simeon Simeonov
  • 819
  • 5
  • 11
4
votes
2 answers

Alignment and phantom

The MWE shows in the result the alignment as I need it in the first step. My questions are: Now after the "1" there should appear again a "4", exactly beneath the "4" of the very first line. How can I do this? Is there a more elegant solution in…
Thales
  • 183
3
votes
3 answers

Vertical alignment of image, text, and tikz graphics in a table row

I have a table with three columns; one is a text column, one contains images, and the last one a tikz graphics. But I am not being able to vertically align them. Somewhat minimal…
Imran
  • 3,096
3
votes
1 answer

Right-aligning text with different font sizes

The desired result should be as follows What I've tried so far is \raggedleft and tabular with r. But the results are not as…
wolfrevo
  • 513
3
votes
2 answers

Optimal way of presenting some information

I want to present the following information in some way: I can achieve this by using an aligned environment as follows: \documentclass{article} \usepackage{amsmath} \begin{document} \[ \begin{aligned} g(2) &= 4 &\qquad &G(2) = 4 …
the_fox
  • 547
3
votes
1 answer

Undefined control sequence align

\usepackage{amsmath} \begin{document} \begin{align*} P_{loss}&=0.0015P_{1}+\0.0014P_{2}-0.0001P_{3}\\ & +0.0009P_{4}-0.0004P_{5} \label{eq} \end{align*} \end{document}' Why is there an error on align? Undefined control seq?
MCeee
  • 31
  • 1
  • 5
2
votes
1 answer

Problem with aligning text but not equations

\begin{align*} \\ \text{Let } arcsin(x) & = \theta \\\text{But } \theta \text{ is a function of x so we can write } \\ arcsin(x) & = \theta(x) \\ x & = sin(\theta(x)) \\ \frac{d}{dx}x & = \frac{d}{dx}sin(\theta(x)) \\ \text{Imagine f(x) = sin(x)…
2
votes
1 answer

gchords, flush left chords

How can I modify the following code in order to make the row of chords flush left? \documentclass{book} \usepackage{gchords} \begin{document} \chords{ \chord{}{f1p1,f1p1,f1p1,f1p1,n,n}{} \chord{}{n,n,f1p1,f1p1,f2p2,f3p2}{} }% \end{document}
Noah J
  • 515
1
2 3 4 5 6