8 votes
Accepted

Wrapping long numerator

As @mickep has already suggested in a comment, the \splitfrac and \splitdfrac macros (provided by the mathtools package, a superset of the amsmath package) are your friends. The d in \splitdfrac ...
  • 450k
6 votes
Accepted

Size of integral in line

Probably you have \everymath{\displaystyle} somewhere. You sometimes see this recommended on the internet, but it's almost always wrong, it destroys inline math setting, as you see.
5 votes

Unwanted space after lessthanequal operator: P(Z{\leq}z)

If you have \documentclass{article} \begin{document} P(Z{\leq}z) \end{document} You get an error ! Missing $ inserted. <inserted text> $ l.5 P(Z{\leq }z) ? ! ...
5 votes

How to make division of polynomials with latex?

I wouldn't usually answer a question with no code/MWE but I have never used polynom before so thought I would answer for my own latex growth. The documentation is contained on CTAN and this is the ...
  • 521
5 votes
Accepted

Changing Only Color of Equations and Not Tables

\everymath catches all internal math mode including most vertically centred constructs such as tabular, minipage. \documentclass{article} \usepackage{xcolor} \AtBeginEnvironment{equation}{\color{...
3 votes

Tangents to a circle through a point

For comparison, here's the drawing with vanilla TikZ and the libraries calc for the tangent cs, through for the circle through key and angles for the right angle pic. The backgrounds library defines ...
  • 91.2k
3 votes

How to ensure a colon after math-mode is always upright?

A colon in math mode will always appear upright, never slanted. To circumvent your issue, you can just put the colon inside an inline math mode chunk, like this: $0.5 \in [0,1]:$
3 votes

How can I include the red-circled paragraph in the math mode?

Something like this? (Not sure I was able to decipher your handwriting entirely correctly... E.g., is it \gamma or r?) \documentclass{article} \usepackage{mathtools,bm} \newlength\mylen \settowidth\...
  • 450k
2 votes
Accepted

Tangents to a circle through a point

another (short) one with PSTricks. Run with lualatex. \RequirePackage{pdfmanagement-testphase}% For opacity \DocumentMetadata{} \documentclass[pstricks, border=6pt, svgnames]{standalone} \usepackage{...
  • 13.7k
2 votes

Align long equation in paragraph

You seem to be doing \usepackage{palatino} and set a textwidth of 13cm. Indeed, I can reproduce the output with \documentclass[a4paper]{article} \usepackage{palatino} \usepackage{geometry} \geometry{ ...
  • 1.0m
2 votes

How to ensure a colon after math-mode is always upright?

You could define \newcommand\upcolon{\textup{:}} Possibly using xspace so as not to gobble trailing whitespace.
  • 39.6k
2 votes

How can I include the red-circled paragraph in the math mode?

I'd prepare two “boxes” to be set flush left and flush right respectively, anchored at their top line. Some horizontal smashing gives the desired result. \documentclass{article} \usepackage{amsmath,...
  • 1.0m
2 votes
Accepted

Rightwards open-headed arrow with circle tail in math mode

I'm not sure if this is what you mean by an open-headed arrow, but here is a tikz solution: You can adjust the size of the circle and the triangle however you wish, or change the triangle to a ...
  • 24.2k
2 votes
Accepted

How do correclty set a numeric interval with square brackets through siunitx package?

As I see it, siunitx doesn't has the functionality to specify a custom set of brackets to wrap around it. The various bracket options for range-exponents, list-units, product-units and range-units ...
  • 91.2k
1 vote

\widehat and \widetilde are too small for certain letters with kpfont-otf

In unicode-math-table.tex you can find (a few spaces removed for readability) \UnicodeMathSymbol{"00302}{\hat }{\mathaccent}{circumflex accent}% \UnicodeMathSymbol{"00302}{\widehat ...
  • 1.0m
1 vote

Vector arrows that cross tall characters (b, d, h, k)

You could do something like this, but I am unsure whether this looks really nice: \documentclass{article} \newcommand{\myvec}[2][0mu]{% \smash{\mkern4mu\mkern#1\relax\vec{}}% \mkern-4mu\mkern-...
1 vote
Accepted

How can I reply this type of alignment? And, How could I add a "constant" text to all even rows?

I suggest to mark up the various parts. I used \wff (well-formed formula) for the main lines and \why for the justification. Choose your own preferred names. \documentclass{article} \usepackage{...
  • 1.0m
1 vote

How can I reply this type of alignment? And, How could I add a "constant" text to all even rows?

Just use an environment which enables left alignment and use \llap{$\equiv$}\quad at even rows. For example, in Plain TeX: \def\lequiv{\llap{$\equiv$}\quad} $$ \eqalign{ & (\phi\...
  • 56.5k
1 vote

How can I include the red-circled paragraph in the math mode?

Sorry I am having a bit of trouble reading the hand writing so couldn't even work it out from first principles. But I have maybe given you a place to start. \documentclass{article} \begin{document} $...
  • 549
1 vote

Subscripts fail to render

I note you have \ExplSyntaxOn but no \ExplSyntaxOff so _ is a letter here for use in command names, not a subscript command.
1 vote

Multirow curly bracket and replicating a figure

The simplest possible solution is using the cases environment from the amsmath package. \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation*} \lambda_{Np} = \lambda_p \...

Only top scored, non community-wiki answers of a minimum length are eligible