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
0answers
63 views

Why aren't my mathematical operators showing up? [duplicate]

I've inherited a fairly substantial LaTeX document as part of a new job. Unfortunately, I haven't really had time to get to grips with it and it now need to be compiled. There are no errors (other ...
3
votes
1answer
29 views

Crash between math \exp and that of gb4e

As originally tweeted here, I would like to use \exp to produce some exponential expressions in math mode, but since gb4e, which I also want to use to make interlinear glossing, overwrites the command ...
0
votes
2answers
39 views

How can I group elements of an array made with bmatrix like in this image?

How can I put this kind of grouping under elements of an array? Like the image I want to make groups of l elements.
0
votes
1answer
51 views

Is there an Average Operator? [duplicate]

In the same way that \min and \max work, is there a version for "ave" meaning the average? Thanks.
0
votes
0answers
36 views

\min and \max compiled as musical notes?

I have been working on a large document form some time now already, and I recently noticed that some of the \max and \min operators I used in math-mode and equation environments are being compiled ...
3
votes
4answers
967 views

Circled not equal sign

How can I create a circled not equal sign similar to the image below?
4
votes
2answers
140 views

trema (ddot) does not appear in mathrm mode with newtxmath font

Apologies for such a specific question. I am using the newtx fonts. For some reason, it seems that newtxmath ignores the trema (ddot) in math mode when using \operatorname or even just \mathrm. Here ...
4
votes
2answers
73 views

Moving a subscript on a binary operator

I have some code in which I write this: $\sim_r$. I want to use this command as a binary operator (in the same way as $\sim$ is normally used, but with a subscript). I would like to create a custom ...
1
vote
1answer
59 views

\int not coming out right

I am trying to write this: Using $$p_{\Theta | X} = \frac{f_{\Theta}(\theta) p_{X|\Theta}(x\,|\,\theta)}{\int f_{\Theta}(\theta ') p_{X|\Theta}(x\,|\,\theta ') \, d\theta '}$$ However, what I get ...
2
votes
1answer
72 views

\sum not coming out right

I am trying to write this: Using $$p_{\Theta | X} = \frac{p_{\Theta}(\theta) p_{X|\Theta}(x\,|\,\theta)}{\sum_{\theta ‘} p_{\Theta}(\theta ‘) p_{X|\Theta}(x\,|\,\theta ‘)}$$ However, what I get is ...
1
vote
2answers
38 views

How to increase the size of the coefficient of a root

I find that the coefficient 4 is very small compared to the symbol of the root. How does it increase in size? $ \dt\psi&=\sqrt[4]{\dfrac{g^2}{R^2}\cdot \left( G_z^2-1\right)} $
0
votes
1answer
60 views

How can we replace a math symbol?

I found a way to define a math symbol as follow: \documentclass{article} \makeatletter \begingroup\lccode`~=`* \lowercase{\endgroup\def~}{\times} \mathcode`*="8000 \makeatother \begin{document} ...
2
votes
1answer
50 views

How to DeclareMathOperator on operator that has underscore in it?

I am trying to compile latex generated by computer algebra system Fricas, which generates log_integral. Since latex does not know about this, I tried to make a math operator by changing log_integral ...
1
vote
2answers
66 views

How do you deal with multiple superscripts while writing higher order partial derivatives?

I have a set of PDE's i am trying to type in, certain higher order terms in them already have a superscript. I am using the physics package function \pdv[n]{}{} , this is the code I have written ...
0
votes
2answers
96 views

Symbol for Laplace Transform : 2 connected dots, one filled [duplicate]

What I want is the following: x(t) ●-o \hat{x}(f) (The bar should be longer) What is the name of the symbol in between and does it exist in LaTeX?
3
votes
4answers
137 views

how to vertically shift a summation limit and align the result with another one (in another term)?

Here is a formula each term of which includes a summation symbol: \documentclass{article} \usepackage{mathtools} \DeclarePairedDelimiter{\norm}{\lVert}{\rVert} \begin{document} \begin{equation*} \...
0
votes
2answers
63 views

how to type vector symbol in another way

Is there any other way for vector symbol for a quantity, which looks better than these two results. MWE: \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \...
0
votes
1answer
58 views

How to render a sharp sign that denotes the number of a set?

In math, # usually denotes the number of elements in a set (cardinality). For example, in this equation the #D{x} operator denotes the number of elements in the set D that satisfies property x. I ...
3
votes
3answers
118 views

How to reduce distance between two line of Vert?

How can I reduce distance between two line of \Vert? i.e. I want to have the following \Vert (for norm) instead of the usual one ? I remember that the output of \Vert in my previous TeXlive (2014) ...
2
votes
1answer
115 views

How do I write multiple exponents within a fraction (Anki and LaTeX)? [closed]

I'm using Anki and LaTeX to format my flash cards. This problem that I'm about to outline only occurs with the cloze card type. I basically want to express a fraction with multiple exponents like ...
2
votes
1answer
49 views

How to fix bad output of a custom overline macro?

For changing the vertical position of \overline I have found the following macro: \newcommand*\oline[1]{% \vbox{% \hrule height 0.5pt% % Line above with certain width ...
9
votes
3answers
414 views

Peano's dot notation

I am wondering what is the best way to typeset Peano's dot notation. It is a subset symbol with dots on both sides. For example, for 4/3 I write: ::\supset :\!.. However the spacing and the size of ...
0
votes
2answers
64 views

The “^” sign over the “=” sign [duplicate]

I want to have the "^" sign over the "=" sign. I have tried \newcommand{\defeq}{\overset{^}{=}}, \newcommand{\defeq}{\stackrel{\text{^}}{=}}, \newcommand{\defeq}{\overset{\^}{=}} and different ...
9
votes
2answers
1k views

How to make a vertical \iff?

I will like to make a vertical version of \iff. I can not be satisfied with \Updownarrow, as it is too short.
2
votes
1answer
42 views

Symbol of South-West cross-product operator

How can I ricreate this Mathematical symbol? I can't find this symbol anywhere. The symbol is the following in picture:
4
votes
4answers
113 views

A better expectation operator which plays nicely with undersetting?

I would like to define an expectation operator that acts like \iint in the following sense: I want it to behave nicely with limits in that I would like it to default to place text to the right, but ...
2
votes
1answer
89 views

Not parallel symbols using slashes

In France, we write d_1 // d_2 to indicate that the lines d_1 and d_2 are parallel. I would like to have a "not parallel" symbol. What is the best way to do that ? Advices alone are welcome. \...
0
votes
1answer
23 views

How to prevent spaces around a binary relation in math mode?

I'm trying to add a subscript both before and after the \cong symbol, but the problem I'm having is that because it is a binary operator, I'm getting spacing between the prescript and the symbol. I ...
0
votes
1answer
178 views

Is this a bug in LaTeX?

I have tried to use this symbol in one of my equations: \mathfrak{\mathcal{l}} But, instead of showing that letter in mathcal and mathfrak styles, it shows updownarrow?! I mean: \mathfrak{\mathcal{...
3
votes
1answer
123 views

odd (?) spacing for logic notation

I write code: $\sim(p\land q)\iff (\sim p\lor \sim q)$ and my output is like this: As you can see, the \land symbol is nice in between 'p' and 'q', but the \lor symbol stick somehow to the left, to ...
8
votes
3answers
190 views

Having a \dsum like we can have a \dfrac

I'm a lazzy man and I would like to have a \dsum operator to avoid the use of \displaystyle. I have made a macro but it would be nice to have the possibility to write \dsum_{k=1}^{n} instead of \dsum{...
2
votes
2answers
49 views

sqrt - Advices to ameliorate spacing

I do not like the spacing printed by sqrt. In the following code, which not takes care of empty optional argument for the moment, I break the good spacing before the sqrt symbol. \documentclass[12pt,...
4
votes
4answers
1k views

How do I write this symbol in latex? (disjoint sharp operator)

I can't find this symbol used to indicate the disjoint sharp operator. It's a # inside a circle. Is this symbol available in LaTex? if not, how can I draw it inside a mathematical equation?
0
votes
1answer
85 views

Division hut symbol

Is there a way to make the division symbol for long division? I am trying to write a long division problem and need the symbol that the divisor goes under. The symbol looks like a rectangle with only ...
0
votes
0answers
43 views

Can we use \glsxtrnewsymbol for a symbol containing \operatorname?

Please consider the following example from this question (Method 3): \documentclass{article} \usepackage[colorlinks]{hyperref} \usepackage[symbols, nogroupskip]{glossaries-extra} \...
2
votes
3answers
123 views

Letter edth for latex

I would like to use the Icelandic letter "edth" in latex equations (for context, I am working with the GHP formalism). Is there a Latex package for this letter (and others)? I have tried using "\dh" ...
0
votes
0answers
26 views

Creating your own summation-like command [duplicate]

Now I've asked this question here before, but since then I've lost my account, and after an hour of trying to find the answer again somewhere on this site, I thought I'd just ask it again. So it ...
3
votes
1answer
83 views

stackrel, vertical alignment and math operators

In the following MnWE, the macro \lhypbad produces a good vertical alignment but doesn't respect the space around the math operator <. See the picture below. What is the best way to fix that ? \...
3
votes
1answer
45 views

How to change a text into a math operator?

For example, I write \max_{\forall n}, this results in \forall n to be underneath \max. But \textsf{max} is so much cuter than \max. I want to write \textsf{max}_{\forall n} and preserve the ...
14
votes
1answer
1k views

What does “rel” in `\mathrel` and `\stackrel` stands for?

Most latex tags have straightforward meanings, for instance, \sqrt stands for/comes from "square root" \equiv stands for/comes from "equivalent to" What does "rel" in \mathrel and \stackrel stands ...
1
vote
1answer
58 views

How to declare a delimiter to be a left or right delimiter?

TeX knows the difference between a "left" and a "right" delimiter (e.g. ( and )) and adjusts spacing accordingly. However, the left and right versions of the delimiter | are the same, so TeX has to ...
5
votes
1answer
122 views

Perfecting the product integral (integral sign with loop at the top)

I want to use this symbol for the product integral: Perhaps with a bigger loop, too. What's the best way of building this notation? I got it to work for just the integral sign itself. \usepackage{...
1
vote
1answer
36 views

Large letter in align environment

I have the following formula in an align environment \documentclass[12pt]{article} \begin{document} \begin{align} \hspace*{5mm}w_{c} = \large{\textit{f}} _{w,c} * \frac{log(|C|)}{\int _{w,C}} \end{...
3
votes
3answers
245 views

Import font, straight integral symbol

I tried a lot (2 days) and try to find a way to extend a answer Using XITS with pdflatex but I am unable to understand the method here. How do I extend above answer to include vertical closed ...
1
vote
0answers
131 views

how can i write Arabic Mathematical Symbols by LaTex?

how can i write Arabic mathematical symbols within Arabic text by LaTex? For example, Integral, square root and derivative symbols from right to left as follow: Edit: \documentclass[12pt,a4paper]{...
6
votes
3answers
279 views

DeclareMathOperator and widearcarrow with kpfonts

The title says it all, I am using the package kpfonts and I would like to declare a math operator that has a widearc on top. However, when I compile I don't get any arc. \documentclass{article} \...
1
vote
0answers
55 views

Long divisions in pages

I'm using the 'insert equation' function in pages and there I can type some LaTeX code to get equations and so on. Anyway, very basic stuff. Now, I started using LaTeX a week ago, I found a lot of ...
0
votes
0answers
105 views

How use \DeclarePairedDelimiterX after \providecommand* for same command?

The package mismath includes the definition: \providecommand*{\abs}[1]{\left\vert#1\right\vert} After loading mathtools, I want to redefine \abs by: \DeclarePairedDelimiterX{\abs}[1]\lvert\rvert{#1}...
3
votes
1answer
48 views

pict2e: Cannot use decimal line slope argument inserted from macro

I am implementing nonstandard operators by drawing them as pictures using the pict2e package and then scaling them to fit in the various math modes. I store the picture's parameters in external macros ...
4
votes
1answer
80 views

Issue aligning tikz object to the document coordinate system

I am having difficulty to align an array of thick lines with the coordinates of the document. The issue can be seen in the following picture. The black boxes should be perfectly aligned with the ...

1 2 3 4 5 14