Linked Questions

10 votes
4 answers
2k views

How can I write a complex exponential in LaTeX so that it looks presentable?

I have the complex exponential written as: \begin{equation} e^{i \frac{2\pi}{5}} \end{equation} which appears as: I have the complex exponential written as: \begin{equation} e^{-i \dfrac{2\...
Stephan's user avatar
  • 245
2 votes
2 answers
101 views

Custom command to notate specific terms in equation with arrows

Currently, I am using the custom command notate from this TeX SE answer. The syntax of this command is: \notate[B<race>]{<referenced math>}{<dropline length in \baselineskips>}{<...
raf's user avatar
  • 633
0 votes
2 answers
191 views

How to produce suitable spaces surround the differential symbol d in dx?

I'm creating a list with common math commands that I use, but \newcommand and \DeclareMathOperator both add a space after the symbol I just defined. For example, comparing the two commands defined ...
Novelli's user avatar
  • 35
0 votes
1 answer
269 views

Compiling error - Paragraph ended before \align* was complete [closed]

I have this working example: \documentclass[letterpaper,12pt]{article} \usepackage{hyperref} \usepackage{amsmath} \begin{document} \begin{align*} \frac{d}{dx}&(\sin^{-1} x)=\frac{1}{\sqrt{1-x^2}...
Shrimpram's user avatar
1 vote
0 answers
395 views

Differentiation symbol

Generally, I use mathrm{d} for the differentiation symbol in math mode, x\,\mathrm{d}x? However, I sometimes feel that the spacing is not accurate. What is best practice, theoretical computer science ...
user199's user avatar
  • 37
3 votes
3 answers
170 views

Recentering \bar over to account for integral alignment

I'm trying to write an integral with upper and lower bounds denoted with over- and under-bars respectively. The issue is that because the integral is slanted, it makes it hard to line up the symbols ...
M D Ricks's user avatar
3 votes
1 answer
2k views

What is really function of \mathop command?

I'm a newbie in LaTeX. When I was reading the Tutorial book about LaTeX, I got a command \newcommand {\dd}{\mathop{}\,\mathrm{d}} Actually, I understand the function of that command but I don;t get ...
Hoang Nam's user avatar
  • 133
1 vote
0 answers
434 views

Correct spacing in integrals [duplicate]

I'd like to know how you prefer to typeset integrals. As you see in the following minimal working example I've made the space between the integral symbol \int and the integrand a little bit smaller ...
Conny's user avatar
  • 55
12 votes
2 answers
5k views

Coloured underlines of equations and text in LaTeX Beamer

A previous question asked how to underline equations in color (1). However, many of the solutions suggested don't work in LaTeX Beamer. I also had difficulties finding ways for simple customisation, ...
Felix Hoffmann's user avatar
2 votes
0 answers
257 views

How to get decent math rendering with Tex4ht?

After resolving the hyperref issues with tex4ht, I'm still having issues with the math rendering. The following MWE compiles fine with pdflatex, except for the d operator: \documentclass[a4paper, ...
winkmal's user avatar
  • 845
3 votes
2 answers
2k views

\eval does not scale its argument properly

Here a user suggested to use the commath package to separate presentation and content. I LOVE separating presentation and content, so I read the documentation and started using this package throughout ...
ScumCoder's user avatar
  • 1,639
2 votes
1 answer
1k views

When to use upright letters in math mode

what are the conventions when to use upright letters in math mode? Example: \begin{align} W_{mag} = \frac{1}{2}LI^2 \end{align} should the inductivity and the current be typeset in ...
latex0815's user avatar
0 votes
1 answer
633 views

Setting new command in LaTeX for the differential [duplicate]

I am writing a document in LaTeX and since I use quite often the command ${\rm d}$ for inserting the differential in the integrals , I decided to make a new command and insert in the preamble. I ...
Tolaso's user avatar
  • 1,555
4 votes
1 answer
696 views

If f is the name of a math function, should it not be set upright? [closed]

I was happy to find out that my intuition about setting differential operators and common math constants was right (see the accepted answer). However, this got me thinking. My rationale for using ...
yrodro's user avatar
  • 537
20 votes
2 answers
3k views

Better automatic spacing of differential d?

This question was basically about whether the differential d should be upright or italicized, not about how to achieve that in tex. However, this useful answer did suggest something like the following ...
user avatar

15 30 50 per page