2022 Developer Survey is open! Take survey.

Questions tagged [math-operators]

{math-operators} is about operators in math mode. These include sums, integrals and similar, text operators like sin, cos, etc.

Filter by
Sorted by
Tagged with
0 votes
0 answers
33 views

Exotic bracket symbols for a math article [duplicate]

I'm looking for a new type of "bracket" symbol for a math article, which is analogous but easily differentiated from $(\cdot),[\cdot],{\cdot},\langle \cdot\rangle,|\cdot|,<\cdot>$. ...
user avatar
  • 161
0 votes
3 answers
55 views

elementary school-like math operation

I'd like to write an equation formatted like this Term can be writted with siunitx package, but to align them like this? \flalign{} doesn't do exactly what I ask. Any idea?
user avatar
3 votes
2 answers
223 views

How can I renew the macro "\log" (from "log" to "\ell og")?

How can I renew the macro "\log" (from "log" to "\ell og")? Default function \log in line 1 I use renewcommand for \log: \renewcommand{\log}{\ell\text{og }} That shows ...
user avatar
0 votes
1 answer
62 views

How to get cleaner code for the division sum?

\documentclass{article} \usepackage{graphicx} \usepackage{longdivision} \usepackage{cancel} \begin{document} \section {Even Numbers} Even numbers are numbers that can be divided by two without ...
user avatar
  • 11
0 votes
1 answer
36 views

How can I create this table in overleaf?

I want to create this table in overleaf but I don't know how to add the three dots in the middle.
user avatar
  • 1
1 vote
0 answers
45 views

What is the correct spacing for an operator inside vertical bars?

I have recently learned from questions like Unwanted Space Between Vertical Bar and Math Operator that we should write \lvert \sin(x) \rvert instead of | \sin(x) | for denoting the absolute value of ...
user avatar
0 votes
2 answers
94 views

How to stop \newcommand and \DeclareMathOperator from adding unnecessary spaces?

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 ...
user avatar
0 votes
2 answers
86 views

Reverse of inclusion in Latex [duplicate]

How can we write the reverse of "inclusion" in Latex style? Like in the second statement here?
user avatar
0 votes
2 answers
63 views

How to change the size of large operators uniformly?

In my opinion, the large operators are a little large, especially off lines. So is there any way to descale them uniformly? A MWE is as follows: \documentclass{article} \usepackage{amsmath} \begin{...
user avatar
  • 2,791
1 vote
1 answer
55 views

Introduce math operator without requiring amsmath package

Want to introduce a math operator named sgn but without using amsmath.
user avatar
  • 29
1 vote
5 answers
131 views

How to write a triple fraction with one missing line

I want to write a triple fraction with the first horizontal line missing. I tried doing it with a combination of \dfrac and \substack, or with matrices. But nothing looks similar to this: Does ...
user avatar
0 votes
0 answers
13 views

How can I make a quadruple dash sign? (i.e. equivalent sign with one dash more) [duplicate]

There are the equal sign (=, i.e. two dashes) and the equivalent sign (\equiv, three dashes). But how can I make a similar sign with four dashes?
user avatar
  • 101
3 votes
1 answer
148 views

Why does my \hbar look like this?

This \hbar is ugly with the bar too high and too left This is what I want My settings are: \documentclass{beamer} \usetheme{default} \usecolortheme{seahorse} \setbeamertemplate{navigation symbols}{} \...
user avatar
3 votes
1 answer
62 views

Using math commands inside \ExplSyntaxOn

I am trying to define new commands using xparse package. To be specific I am trying to abbreviate integrals from this \int\limits_{a}^{b}\ f(x)\ \mathrm{d}x to a more reader friendly \dint[a,b]{f(x)}{...
user avatar
  • 33
0 votes
1 answer
63 views

Big S math symbol representing both sum as well as integral

I need a big integral-sum symbol in mathematics environment like the big S symbol that was used by Schiff in his monograph on Quantum Mechanics (McGraw-Hill)
user avatar
2 votes
1 answer
269 views

Better Distinguish Greek \Sigma and math \sum?

I need to use both \Sigma and \sum in an article, and realize they are so close (except for their size) that they can be confusing for the reader. I have looked at alternatives for \Sigma ideally, or ...
user avatar
  • 400
0 votes
1 answer
24 views

Horizontal spacing of math operator and parenthesis

Take the following code for example, \documentclass[]{article} \begin{document} \begin{equation} \exp x \end{equation} \begin{equation} \exp (x) \end{equation} \begin{equation} \exp \...
user avatar
  • 353
14 votes
1 answer
2k views

How can I convince TeX to add space around math operators?

Since when is this good typesetting? What's the best way to make TeX typeset all three like the bottom one? Do I need to resort to a new command that outputs {\ \cup\ }? That would seem to fly in ...
user avatar
1 vote
3 answers
114 views

How do I type a vector concatenation symbol like this one?

I am trying to find out a way to type this symbol illustrated below by latex, which means vector concatenation. Does anyone know it? Thanks a lot!
user avatar
  • 71
0 votes
3 answers
55 views

Changing operator font for only one operator

I want to declare a custom operator op that is supposed to use sans-serif font. No other operator (\sin etc.) shall use sans-serif. I tried to use \DeclareMathOperator which yields correct spacing ...
user avatar
0 votes
0 answers
52 views

Vector arrow is not on the letter but shifted to left

I'm trying to type a vector notation over a letter but it ends up with a failure. It looks like the vector arrow and the letter I want to make a vector take two different spaces. Here's the code: \...
user avatar
  • 1
8 votes
3 answers
695 views

Primitive sum in latex

How to type a primitive sum (a summation sign with "*" sign at the top right corner) inside the equation?
user avatar
4 votes
2 answers
64 views

Seeking help on a macro \DefineOperator

I'm trying to build a command \DefineOperator for defining multiple operators at one time, which can be used like this: \DefineOperator { ord, card, car, disc } \DefineOperator { id, Id, Ker, Image = ...
user avatar
  • 4,849
10 votes
4 answers
811 views

Re-define "mu" in "$\mu$m" for units (upright \mu instead of italic \mu)

I have a 300+ page thesis and I constantly used $\mu$, which showcases mu in italic format. Now my supervisor wants me to correct this to non-italic. I do not want to change each one-by-one, therefore ...
user avatar
  • 121
-1 votes
3 answers
106 views

Command with variable number of arguments [*1 argument] + different behaviour depending on number of arguments and type of argument [closed]

I would like something that goes... from this: \cmd{⟨x_1⟩} \cmd{⟨x_1⟩,⟨x_2⟩} \cmd{⟨y_1⟩} \cmd{⟨y_1⟩,⟨y_2⟩} \cmd{⟨x_1⟩,⟨y_1⟩} \cmd{⟨x_1⟩,...,⟨x_n⟩,⟨y_1⟩} \cmd{⟨x_1⟩,⟨y_1⟩,...,⟨y_n⟩} \cmd{⟨x_1⟩,...,⟨...
user avatar
6 votes
2 answers
289 views

Correct spacing for Hodge star operator

In my textbook, the Hodge star operator is represented as an asterisk character with the same spacing as in the following image: But when I use the * character in the obvious way: \[ \ast d \ast \phi ...
user avatar
2 votes
1 answer
80 views

plus sign not shown in exponent [closed]

I am writing in Latex in the github markdown as shown below. Why is the plus sign not working in this example? <img src="https://render.githubusercontent.com/render/math?math=P(X^{t + 1}) \...
user avatar
  • 121
-3 votes
1 answer
53 views

Need LATEX code for this equation? [closed]

Hi, i'm writing a conference paper and i'm new to Latex. It's hard for me to write this equation. Kindly help me with this. Thanks
user avatar
1 vote
1 answer
54 views

How to stack \Rightarrow and \nLeftarrow?

I would like specify an operator that combines "implies" and "is not implied by". What I have in mind is something like a $\Rightarrow$ stacked over $\nLeftarrow$. I tried all of ...
user avatar
  • 771
0 votes
1 answer
65 views

please help in emergency [closed]

hi everyone could you help me. how can I write in tex
user avatar
1 vote
1 answer
32 views

Creating a variant of \varinjlim without redefining \varinjlim itself

I would like to define a command \laxcolim which renders the same as \varinjlim does, except with two "l"'s instead of one. But I still want the usual \varinjlim command to be available to ...
user avatar
  • 179
2 votes
2 answers
68 views

Looking for a way to write this expression on latex

Looking for a way to write this expression with LaTeX, I'm using the online Overleaf, but I can see no way to sort this out. The expression consists of a nabla symbol with a ring on it.
user avatar
0 votes
0 answers
59 views

How to type math expressions within ( | )

I am brand new to LaTeX after typing in Word on mac using Equation Editor. Journals now seem to want LaTeX, so I am trying to learn it. I am trying to type a mathematical expression A(Y|X). I typed:...
user avatar
  • 1
3 votes
2 answers
95 views

Subscript underneath probability

I want to write probabilities of the form I have a command that looks like this: \newcommand{\prob}[2][]{\mathcmd{\Pr\left[{#2}\if!#1!\else\mid{#1}\fi\right]}} But how can I add the subscript to the ...
user avatar
  • 1,036
0 votes
2 answers
61 views

Solving equation with under and above right arrow

How can I write my equation this way and size: I could not find something like this arrows that can be written above and under I've tried \underrightarrow but it's not what I need. also having issues ...
user avatar
0 votes
1 answer
46 views

How can I avoid MnSymbol to redefine the bracket parenthesis?

I'm trying to save the definition of the square brackets since the package MnSymbol redefines it. I think the redefined ones are aesthetically ugly. I'm looking for a solution similar to this. A ...
user avatar
5 votes
4 answers
297 views

\vDash and \models but with three horizontal lines

I'm looking for way to draw the \vDash or the \models operator but with three horizontal lines instead of just two. Is there an easy way to do this? It should look something like this: Thanks for any ...
user avatar
  • 61
1 vote
1 answer
32 views

DeclareMathOperator and fontawesome: Spacing problems

I am trying to use the symbol \faPlus from the latex package fontawesome and I have some troubles with the spacing. I declare my symbol with \DeclareMathOperator\plus{\text{\rm\scriptsize\faPlus}} The ...
user avatar
  • 1,894
4 votes
2 answers
86 views

Don't want limit on top of varprojlim

When in displaystyle mode, using \varprojlim_{i \in I}^{1} gives However, I want to look more like The above can be obtained by {\varprojlim_{i \in I}}^{1} but I was wondering if there's some way to ...
user avatar
0 votes
3 answers
65 views

How can add two blanks between sum and its expression?

The simple latex sum expression: \sum\limits_{i=0}^{n} \frac{1}{(1+x)^i} = 100 It create the below formulas: How can add two blanks between sum and its expression such as below?
user avatar
  • 137
2 votes
2 answers
93 views

Mathematical symbol [duplicate]

Does anyone know how to write the following symbol in Latex? I have tried to find it, but I can`t find it. Thanks in advance.
user avatar
2 votes
1 answer
51 views

Problematic use of predefined named operator?

In section 3.15 of the Short Math Guide for LaTeX, it says When predefining such a named operator is problematic (e.g., when using one in the title or abstract of an article), there is an alternative ...
user avatar
  • 187
0 votes
1 answer
68 views

How to write constraints above or below logical operators in latex? [duplicate]

I want to write constraints below logical operators like or. How do I do it. There is a question already on AND here, how do I do it for OR operator/ other operators like implication etc?
user avatar
  • 37
3 votes
0 answers
33 views

Setting additional brackets according to the pattern in the operator

Good day everyone! Maybe someone can suggest how to define a new (or override an existing) operator in a document, so that depending on the argument, the external output changes. In particular, I'm ...
user avatar
  • 97
2 votes
0 answers
41 views

How to print the symbol {{ }} [duplicate]

How to print the mathematical symbol of {{ }}
user avatar
  • 21
5 votes
3 answers
120 views

Unnecessary numbering is came for equation parts

I am on writing the following equation, but I am facing a problem that equation numbering is coming for the different steps of the same equation. The MWE as follows, \documentclass{article} \...
user avatar
6 votes
3 answers
170 views

How do I slant the Computer Modern root symbol?

Considering this question, actually I not remember as I must straighten square root symbol to have the classic sqrt symbol. I have used (for example), \def\mySqrt{\radical"0270373\relax} but it ...
user avatar
  • 46.2k
3 votes
2 answers
266 views

\oplus and \bigoplus with vertical or horizontal line instead of cross

I came across this great paper, Typing linear algebra: A biproduct-oriented approach by Hugo Daniel Macedo and José N. Oliveira, where they use this nice notation highlighted below for junc and split ...
user avatar
  • 480
4 votes
2 answers
177 views

How to write a text below a math operator

I want to achieve this but if I use \mathrm{argmax}_{y\in\mathcal{Y}} it does not put y\in\mathcal{Y} below argmax. How can I solve this?
user avatar
  • 41
3 votes
2 answers
49 views

Centering sub/superscript of operator after scaling

I would like to make the sub-/supperscript smaller 10% and use package scalerel to do that. Everything is fine until I find out that the sub-/superscript in operators are also scaled but they are not ...
user avatar
  • 139

1
2 3 4 5
18