Linked Questions

2
votes
1answer
2k views

Derivatives are sized differently with commath [duplicate]

I'm writing a derivation in an upper level physics class and I use derivatives extensively. I'm using the commath package \od{}{} command and they are being sized differently in different places. Also,...
0
votes
1answer
77 views

Conditional branch with \ifinner and Spacing in higher derivative (2 independent questions) [duplicate]

I made some macros shown below, which outputs ordinary/partial derivative. I was checking whether they work as I expected, and found that \dif{y}{x} expands to \tfrac{\difd y}{\difd x} in align ...
0
votes
0answers
22 views

What is the correct way to type partial derivative in a parameter using \pd in commath package? [duplicate]

I'm using \pd{ }{ } in the commath package to type the partial derivative which saves lots of efforts than typing \frac{\partial }{\partial }. However when I want to have a pair of parameters around ...
9
votes
1answer
285 views

Somewhat versatile usage of \@gobble and \@firstofone found in several macros

I was doing search about my question (see here for more detail) and found a thread commath and \ifinner. In the thread, there is a macro named \spx , the definition and usage of which are extracted ...
2
votes
3answers
460 views

Math macro for typesetting partial derivative with variable placeholder for both numerator and denominator

I'd like to type time-derivatives such as $ \frac{\partial x}{\partial t} = f(x,t) $ as well as spatial gradients such as $ \frac{\partial y}{\partial x} = k y $ To make the code readable and to ...
2
votes
2answers
1k views

\lmoustache and \rmoustache manifesting as weird cropped "tails"

I was just working on my LaTeX skills so I don't forget, so I went on this site and started replicating the most complex stuff I found. At first I thought it would be a piece of cake, but then I wrote ...
7
votes
2answers
302 views

Fractional alignment

So I have this basic code: But the fractional alignment looks awful, any tips to fix this? \documentclass[11pt, a4paper]{report} \usepackage{bm} \usepackage{amsfonts, graphicx, verbatim, amsmath,...
3
votes
2answers
1k 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 ...
2
votes
1answer
1k views

Revtex 4.2 caption error

\documentclass[amssymb,aps,twocolumn,pra,nobibnotes,secnumarabic,prc]{revtex4-2} \usepackage{tabularx} \usepackage[labelformat=simple,caption=false]{subcaption} \renewcommand\thesubfigure{(\alph{...
5
votes
1answer
459 views

Angle brackets with commath and Asana Math too large (or small)

I want to set bra-ket equations in my document, which uses Asana Math (with lualatex, fontspec and unicode-math). commath is also a requirement for certain stuff. However, in this specific combination,...
2
votes
2answers
167 views

How to properly insert Ɐ (2C6F) or any undefined unicode

using xelatex I tried this: \usepackage{graphicx} \newcommand{\Vol}{\rotatebox[origin=c]{180}{\ensuremath{A}}} \begin{document} \Vol \end{document} I know there is \forall but that's obviously not ...
0
votes
2answers
212 views

pderiv square macro [duplicate]

How do I update the macro for partial derivative in order to accept standard second or bigger order? I have so far \newcommand{\pderiv}[2]{\frac{\partial #1}{\partial #2}} for the first order ...
3
votes
1answer
269 views

Using superscipt in argument of \dpd of commath package

I am using the commath package to typeset derivatives and need to use a superscript in the argument supplied to \dpd. What I require is something like \begin{equation} \dpd{}{X^{(j)}_0} f(X^{(j)}...
0
votes
1answer
119 views

Why I can not align this equations?

I could can align first line with other lines \begin{eqnarray*} \dfrac{\partial^2 P_{ijl}}{\partial \tau_l \partial \phi} & = &\dfrac{\partial}{\partial \tau_l}\left(P_{ijl}(1-P_{ijl})\frac{\...
0
votes
1answer
70 views

Previously working LaTeX code stopped working after having to reinstall MacTeX and TeXMaker

I recently had my computer "refreshed" and I had to reinstall MacTeX and TeXMaker. When I try to compile a specific file it says: Argument of \put has an extra }. If I completely remove ...

15 30 50 per page