# Tag Info

Accepted

### Labeling Equations in TOC

I don't know which document class you use. However from the pieces of code you shown, I didn't see how it will create a list of equations. Here is an example how to achieve it in report class. \...
• 4,578

### Equation with two sums but just one min and max

You make \sum\sum into a single mathop. \documentclass{article} \usepackage{amsmath} \begin{document} $\underbrace{\mathop{\sum\sum}^{N_{el}}_{I=1} \frac{Z_I}{r_{iI}}}_{\hat{V_{ee}}}$ \end{...
• 994k
Accepted

### Changing the \sum symbol in fraction

As I don't know what \color{dca} is, I replaced it with IndianRed (from svgnames). Here is a simple solution: \documentclass{article} \usepackage[svgnames]{xcolor} \usepackage{amsmath} ...
• 261k
1 vote
Accepted

### How do I write two equations next to each other and reference them?

Here is a way to do it (not knowing which packages you load): \documentclass{article} \usepackage{geometry} \usepackage{amsmath} \usepackage{esdiff} \usepackage{wasysym} \...
• 261k

### Align equation left

It has been some time, but let me mention another way. You can use '\hspace{10em}' at the end of any line and within few try you can figure out what value (instead 10) works best.
• 165

### Big optimization expression spanning both the columns of IEEE paper

The main problem is using a math font that is visually incompatible with the text font has an average character width quite larger than the text font Now, IEEEtran uses Times as the main text font ...
• 994k

### Big optimization expression spanning both the columns of IEEE paper

I suggest you abbreviate both instances of subject to to s.t. and the lone instance of Minimise to Min.. \documentclass{IEEEtran} \usepackage{amsmath} \DeclareMathOperator{\rk}{Rank} \usepackage{...
• 439k

### How to type this optimization problem in latex without equation number

Finally it doesn't seem to be possible to make it work with optidef. So I propose a solution with two alignedat environments: \documentclass{article} \usepackage{amsmath, optidef} \DeclareMathOperator{...
• 261k
Accepted

### how do I get an equation to look like this? \begin{cases} doesnt seem to do exactly

You can use \middle and array: \documentclass{article} \usepackage{amsmath} \begin{document} \[ S_{i}^{(l_k)}= \left\{ [f_j^{(l_k)};v_{j}^{(l_k)}-p_i]^T \;\middle|\; \begin{array}{@{}l@{}}...
• 994k
1 vote

### how do I get an equation to look like this? \begin{cases} doesnt seem to do exactly

\documentclass{article} \usepackage{amsmath} \begin{document} $$S = \left\{ [stuff]^T \middle\vert \begin{array}{l} Cond.1 \\ Cond.2 \\ Cond.3 \end{array}\right\}$$ \end{...
• 20k

### Tilde character spacing too large while using fractions

I found the cause of this problem : it's in the use of the "accents" package : \usepackage{accents} I don't know the real reason behind this issue but it seems like this package interferes ...
• 185

### Tilde character spacing too large while using fractions

I am also unable to reproduce the behavior of the "tilde" accent character shown in the screen shot you posted. I'd like so suggest that you replace all \left and \right sizing directives ...
• 439k
1 vote

### Tilde character spacing too large while using fractions

I have no problem with vertical spacing of the tildes. On another hand, the formula overflows into the default margin, so I added a third line and use the geometry package. I took the opportunity to ...
• 261k
1 vote

### How to get sub-numbering on equations?

You can do it. But don't abuse flalign. \documentclass[fleqn,leqno]{article} \usepackage{amsmath} \usepackage{lipsum} % for context \makeatletter % from https://tex.stackexchange.com/a/261647/4427 % ...
• 994k
Accepted

### double-underline notation for matrices and single-underline notation for vectors

I still think that underlining is evil and really old-fashioned notation. Anyway, here's a working solution. \documentclass{article} \usepackage{amsmath} \makeatletter % overline \newcommand{\...
• 994k

### Enumerate specific equations with Roman numerals with stars

I would use \tag. After all, you just have one special group of equations and you'll need a label for each one of them. Using (modified) Mico's code \documentclass{article} \usepackage{amsmath} % for ...
• 994k
Accepted

### Enumerate specific equations with Roman numerals with stars

(I've updated the answer to handle the possibility -- not mentioned by the OP, but likely of some relevance to at least some readers -- that the hyperref package is loaded and that correct ...
• 439k
Accepted

### How to issue a warning if trying to reference a label in a starred equation environment?

The following causes \label calls from within equation* to print a warning: \documentclass{article} \usepackage{amsmath} \makeatletter \AddToHook{env/equation*/begin}{% \renewcommand*{\label@in@...
• 22.9k
Accepted

### How to enter the following two equations in Latex?

I guess there are (at least) two ways to interpret your question: mimic the "look" of the screenshot you posted, with its turgid arrow symbols, needlessly oversized delimiter symbols, and ...
• 439k

### Align multiple equations centering

Use gathered or gather depending whether you want a shared equation number \documentclass{article} \usepackage{amssymb,amsmath} \begin{document} equation \begin{gathered} \Delta ...
• 669k

### Latex: auxiliary calculation

Finally, I did it the following way: \documentclass[12pt]{article} % create boxes: \usepackage{tikz} \usepackage[most]{tcolorbox} \tcbset{enhanced,boxrule=0pt, colback=white, borderline north={1mm}...

### How to correctly Indent the equation?

If you want your = signs aligned, use a single align* environment. Also, Use \sin not sin to get the proper spacing and shape. Similarly for \cos, \tan, \log, \ln, etc. The {} after y' is unnecessary....
• 21.5k

### LaTeX software to evaluate expressions

I felt I should add this as an answer demonstrating the numerica package rather than just a comment, and because I feel it is probably the simplest answer. I note your example contains a complex ...
• 2,649

### How set the bounding box for \middle

There are two independent aspects in your problem: in the standard Computer Modern math fonts, the largest size of \langle and \rangle covers a display style fraction; the delimiters' size is anyway ...
• 994k
Accepted

### How set the bounding box for \middle

This is an prime illustration for why relying on \left, \middle, and \right can be a poor idea. Just employ 4 instances each of \biggl\langle, \biggm\vert (and lose the \, spacers!), and \biggr\rangle,...
• 439k

### How set the bounding box for \middle

| can grow to the requested size, but <> has no arbitrary size extension so is limited to a fixed font-dependent set of sizes
• 669k
Accepted

• 439k
Accepted

### How to use page site for citation inside equation

With the shown definition \eqcite (and thus also \cite inside of equations) only takes one mandatory argument. This means it does not support biblatex's usual two optional arguments. With the ...
• 160k

### Locally prevent page break after a displayed equation

Elements you want be typeset together can be enclosed in minipage but it sometimes produces unexpected gaps. It's probably better to use floats. EDIT. In the example below, if I remove the second The ...
• 849
1 vote

### Aligning equations with align

You asked in a follow-up comment: Do you know if it is somehow possible to control the spacing between the left-hand column of equations (m's) and the right-hand one? That's actually where the ...
• 439k
Accepted

### Alignat: column not flushing right to the margin

I suggest you use an align* environment and place the comments in \tag* "wrappers"; \tag* is a macro provided by the amsmath package. User @Celdor has already made this suggestion in a ...
• 439k
1 vote

### Alignat: column not flushing right to the margin

You can create your own macro \commentedmath with two parameters: math and comment based on TeX primitive: \hbox to\hsize {$math$ \hss comment} For example, like this: \def\commentedmath#1#2{\par \...
• 53.6k
Accepted

### How to change number font in equation to text number font in LaTeX?

Is this the template for your university? If yes, you don't need to change it at all. Because this the default setting for the template. If you really want change it, everything you need was written ...
• 4,578