Tag Info

New answers tagged

3

A solution using \vvvert of package mathabx. The symbol can also be used with \left and \right. Since the package changes many math symbols, the following example only defines \vvvert and the symbol fonts, needed for it without changing other math symbols: \documentclass{article} %\usepackage{mathabx} % Math symbol font matha ...


5

Both symbols are available in Unicode: U+221D: ∝ PROPORTIONAL TO U+221E: ∞ INFINITY It is not a good idea to replace the well-established symbol for infinity, which even many non-mathematicians will understand, by a different symbol, a relational operator, which is used for a complete different purpose. This is called obfuscating and will ...


2

\documentclass{article} \usepackage{color} \newcommand\myinfty{{\infty% \mathchoice% {\llap{\color{white}\vrule width 0.2em height 0.3em depth -0.15em}}% {\llap{\color{white}\vrule width 0.2em height 0.3em depth -0.15em}}% {\llap{\color{white}\vrule width 0.2em height 0.22em depth -0.1em}}% {\llap{\color{white}\vrule width 0.2em height 0.15em depth ...


1

You can create your own copy of used math font and you can do changes here by fontforge program, for example. Or you can redefine the \infty macro, for example by such way: \let\oriinfty=\infty \def\infty{{\oriinfty\llap{\vrule height.24em depth-.2em width.2em}}} This example does the black rule over the infinity char in the appropriate place. Now, it is ...


2

If you load amsmath you can get the behavior you want with just two definitions: \documentclass{article} \usepackage{amsmath} \makeatletter \renewcommand{\slimits@}{\limits} \renewcommand{\nmlimits@}{\limits} \makeatother \begin{document} \( \sum_{i=0}^{3} \int_{-5}^{5} \lim_{n\to\infty} \prod_{j=0}^{n} \max_{j}\log_{2} x_{j} \) \[ \sum_{i=0}^{3} ...


2

This should work, placed in the preamble: \let\NOLIMITS\nolimits \let\nolimits\limits \let\displaylimits\limits \usepackage{amsmath} This prohibits completely limits to the right, the only way how to impose them now is using \NOLIMITS. It is necessary to use the tweaks before loading amsmath and it is necessary to load amsmath since amsmath redefines all ...


2

One hack would be to write: \let\originalsum=\sum \def\sum{\originalsum\limits} Of course, you would have to do this for every symbol that you wanted to "automate" the limits for. If you wanted to be swish you could do this in one hit with: \usepackage{etoolbox} \newcommand\ImposeLimitsOnOperator[1]{% \expandafter\let\csname ...


5

An exemplary solution. The second label commented. \documentclass{article} \usepackage{amsmath} \begin{document} \def\dint{\displaystyle\int} \def\dsum{\displaystyle\sum} \begin{equation} \mathrm{COG} = \frac{\dint_a^b\!\mu_{A}(x)x\, {d}x}{\dint_a^b\!\mu_{A}(x)\, {d}x} \label{eq:cogCont} \end{equation} \begin{equation} \mathrm{COG} = ...


2

As mentioned before, the amsmath command \DeclareMathOperator{\Det}{Det} is a good way to do this, but this is actually basically a wrapper for \newcommand{\Det}{\operatorname{Det}}. So if you only want to use the command once and don't want to define a symbol (especially useful if you are using an online tex editor), then just use \operatorname And just ...


3

As explained by egreg in his first comment, \min et. al. have the correct spacing when followed by a delimiter, because by intention, they operate on a set of values (over which to take the minimum). As you use it, \min_u G(u) + F(Ku) the expression is itself ambiguous, and the natural parsing as "minimum of G(u), plus...oh wait" causes some dissonance ...


1

Temporary solution. This one just checks if there is a subscript next to it. Nothing more. \documentclass{scrartcl} \usepackage{mathtools} \makeatletter \def\raremin{\@ifnextchar_\@rareminsub\@raremin} \def\@rareminsub_#1{\min_{#1}\,} \def\@raremin{\min\,} \makeatother \begin{document} $ \raremin_u G(u) + F(Ku) $ \[ \raremin_u G(u) + F(Ku) \] \end{document} ...


7

The default definition of \min is \def\min{\mathop{\operator@font min}} so it is an operator like \log and will get a thin space in \min x but not in \min(x) Your redefinition \renewcommand{\min}{\expandafter\,\operatorname*{min}} is the same as \renewcommand{\min}{\,\operatorname*{min}} and puts an additional thin space before the operator. the ...


1

I do not really understand what you want to type. In my MWE I just show some possibilities and hope that one of them fits your needs. The problem with the missing space you describe occurs due to missing braces behind the command (\textgreater{}). You may read some LaTeX documentations like this (2 MB) in order to understand, why this is happening. % ...


6

Just scale it. \documentclass{article} % large ops, copied from shuffle font package \DeclareFontFamily{U}{bigshuffle}{} \DeclareFontShape{U}{bigshuffle}{m}{n}{ <5-8> s*[1.7] shuffle7 <8-> s*[1.7] shuffle10 }{} \DeclareSymbolFont{BigShuffle}{U}{bigshuffle}{m}{n} \DeclareMathSymbol\bigshuffle{\mathop}{BigShuffle}{"001} ...



Top 50 recent answers are included