TeX - LaTeX Asked by Hailey on December 6, 2020

I need to have an equation aligned on the left of my page and its tag on the right.

I managed to do it but when i want to call it with eqref or ref it doesn’t work.

```
documentclass[11pt]{article}
usepackage[english]{babel}
usepackage{mathtools}
usepackage{geometry}
usepackage{titlesec}
geometry{
a4paper,
total={170mm,257mm},
left=20mm,
top=20mm,
}
begin{document}
begin{flalign*}tag{1.8}
&begin{aligned}{}
label{eq:1.8}
x(t)=e^{-left|acdot tright|} \
end{aligned}&&
end{flalign*}
noindent With the equation ref{eq:1.8} ...
end{document}
```

You do not have any alignment here so I used `equation`

and it is usually better to let latex number the equations automatically, so I specified numbering within sections:

```
documentclass[11pt]{article}
usepackage[english]{babel}
usepackage{mathtools}
usepackage{geometry}
usepackage{titlesec}
geometry{
a4paper,
total={170mm,257mm},
left=20mm,
top=20mm,
}
numberwithin{equation}{section}
begin{document}
section{Intro}
setcounter{equation}{7}% just in this example
Using equation
begin{equation}label{eq:xt}
x(t)=e^{-lvert acdot trvert}
end{equation}
With the equation ref{eq:xt} (avoid numbers in labels)
end{document}
```

or left aligned

```
documentclass[11pt,fleqn]{article}
usepackage[english]{babel}
usepackage{mathtools}
setlengthmathindent{0pt}
usepackage{geometry}
usepackage{titlesec}
geometry{
a4paper,
total={170mm,257mm},
left=20mm,
top=20mm,
}
numberwithin{equation}{section}
begin{document}
section{Intro}
setcounter{equation}{7}% just in this example
Using equation
begin{equation}label{eq:xt}
x(t)=e^{-lvert acdot trvert}
end{equation}
With the equation ref{eq:xt} (avoid numbers in labels)
end{document}
```

Answered by David Carlisle on December 6, 2020

1 Asked on April 5, 2021 by jayk

0 Asked on April 5, 2021 by mishel-skenderi

1 Asked on April 5, 2021 by emanuele-nardi

2 Asked on April 5, 2021 by edgar

2 Asked on April 5, 2021 by majkrzak

0 Asked on April 5, 2021 by jopeto

1 Asked on April 4, 2021

1 Asked on April 4, 2021 by sapereaude

1 Asked on April 4, 2021 by bowen-liu

3 Asked on April 4, 2021 by santiago-g

Get help from others!

Recent Questions

- How Do I Get The Ifruit App Off Of Gta 5 / Grand Theft Auto 5
- Iv’e designed a space elevator using a series of lasers. do you know anybody i could submit the designs too that could manufacture the concept and put it to use
- Need help finding a book. Female OP protagonist, magic
- Why is the WWF pending games (“Your turn”) area replaced w/ a column of “Bonus & Reward”gift boxes?
- Does Google Analytics track 404 page responses as valid page views?

Recent Answers

- Lex on Does Google Analytics track 404 page responses as valid page views?
- Jon Church on Why fry rice before boiling?
- haakon.io on Why fry rice before boiling?
- Joshua Engel on Why fry rice before boiling?
- Peter Machado on Why fry rice before boiling?

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir