Hot answers tagged

10 votes

How can I make an overline with open circle endpoints?

A different approach than my other answer using picture mode :-). Scales according to the current math style. \documentclass{article} \usepackage{pict2e,amsmath}% amsmath for scalable fraction rule ...
campa's user avatar
  • 30.8k
9 votes

How can I make an overline with open circle endpoints?

As long as you don't need the symbol across math styles: \documentclass{article} \makeatletter \newcommand*{\overObarO}[1]{% \vbox{% \@tempdima\fontdimen22\scriptscriptfont2 \advance\@...
campa's user avatar
  • 30.8k
7 votes

How can I make an overline with open circle endpoints?

If you need more flexibility you can use TikZ: No argument \mybar{AB} creates open circles. Empty argument \mybar[]{AB} creates closed ones. You can also make colors such as \mybar[red]{AB}. \...
Sandy G's user avatar
  • 41.7k
6 votes

Is it possible to get the LaTeX command for special symbol, like J calligraphic with bar in the middle

I believe that what you call a "special J with bar in the middle" is actually an "F". % !TEX TS-program = pdflatex \documentclass{article} \usepackage[scr=esstix]{mathalpha} \...
Mico's user avatar
  • 503k
5 votes
Accepted

A symbol for a Q which looks similar to the Weierstrass P, ℘, given by \wp

Using Sandy G.' idea, but avoiding to change all \mathcal symbols, I'd borrow just the Q from dutchcal. \documentclass{article} \usepackage{amsmath} \makeatletter \newcommand{\dutchcal@scale}{0.85} \...
egreg's user avatar
  • 1.1m
4 votes
Accepted

Custom Symbol - Simplified way

Not exactly an answer, but I would probaby opt for an Expl-flavored TikZ solution which makes it much easier to draw the arrows and position the different parts. I would also make use of a comma-...
Jasper Habicht's user avatar
4 votes
Accepted

What tex symbol is used for the "let" word?

Disclaimer: Neither I nor other users who commented on your question have never seen the symbol used for this meaning; we can hence fairly denote this usage as rather uncommon, to say the least. If ...
campa's user avatar
  • 30.8k
4 votes
Accepted

What tex symbol is used for the "consider" word?

If you are fine with a curved line you can superimpose \sphericalangle with \cdot. Otherwise... picture mode! \documentclass{article} \usepackage{amssymb} \newcommand*{\considerA}{{\sphericalangle\...
campa's user avatar
  • 30.8k
4 votes

A symbol for a Q which looks similar to the Weierstrass P, ℘, given by \wp

As @egreg mentions, this code will change all the \mathcal symbols, which may not be desired. The dutchcal Q is similar, but needs to be lowered to mimic \wp. \documentclass{article} \usepackage{...
Sandy G's user avatar
  • 41.7k
4 votes

How do I write the % symbol in KaTeX (in Notion)?

In LaTeX: \documentclass{article} \usepackage{siunitx} \begin{document} 70\% does work and also \qty{70}{\percent} and even the deprecated \SI{70}{\percent} \end{document} KaTeX problems not ...
cabohah's user avatar
  • 10.8k
3 votes

How to implement the five star notation in Latex

I used this in komacv: \usepackage{forloop} \newcounter{x} \newcommand{\skill}[1]{% \forloop{x}{0}{\value{x} < #1}{% $\textcolor{colortheme}\bullet$ }% \forloop{x}{#1}{\value{x} ...
Darkproduct's user avatar
2 votes
Accepted

Subscript under subset sign

\mathop{\subset}_{t=x}^{t=y} will give the limits layout you show in display math.
David Carlisle's user avatar
2 votes

fontspec breaks capital greek letters redefinition

With legacy TeX, the capital upright Greek letters are taken from the OT1 encoded version of the main text font, but when fontspec is loaded, the main text font doesn't have the characters in the ...
egreg's user avatar
  • 1.1m
1 vote

Custom Symbol - Simplified way

Jasper's code works very nicely and allows for all desirable tweaks: here is an example, with a style close to that used in the OP. \documentclass[tikz, border=0pt]{standalone} \usepackage{fontspec} \...
Vincent Krebs's user avatar
1 vote

How can I create a symbol for the origin of a coordinate plane in Tikz?

The desired character can be typed using the calligraphic font, obtained through the \mathcal command in math mode, e.g., $\mathcal{O}$ will give you the right typography, A complete MWE is the ...
Sebastiano's user avatar
  • 53.6k
1 vote
Accepted

In math mode, create a symbol with $\partial$ and $\partial$ fillped horizontally

I'm not sure it's a good idea, not only because it's a highly nonstandard symbol. \documentclass{article} \usepackage{graphicx} \makeatletter \NewDocumentCommand{\gramian}{}{\partial\,{\mathpalette\...
egreg's user avatar
  • 1.1m
1 vote

Looking for \nmid but with a larger, more pronounced slash

You could make a new symbol by superimposing a rotated - on \mid. \documentclass{article} \usepackage{graphicx, amssymb} \makeatletter \newcommand{\Nmid}{\mathrel{\mathpalette\N@mid\relax}} \...
Sandy G's user avatar
  • 41.7k
1 vote
Accepted

Looking for \nmid but with a larger, more pronounced slash

Basic ingredients: in mathabx.dcl we find \DeclareMathSymbol{\notdivides}{3}{matha}{"1F} in mathabx.sty we find \DeclareFontFamily{U}{matha}{\hyphenchar\font45} \DeclareFontShape{U}{matha}{m}{n}...
egreg's user avatar
  • 1.1m
1 vote

Subscript under subset sign

I'd rotate \bigcup. \documentclass{article} \usepackage{amsmath} \usepackage{graphicx} \makeatletter \DeclareRobustCommand{\bigsubset}{% \DOTSB\mathop{\bigsubsupset@{\bigcup}}\slimits@ } \...
egreg's user avatar
  • 1.1m
1 vote

Subscript under subset sign

You could use \DeclareMathOperator* from the amsmath package. That way you get the indices above and below only in display mode, not inline so the spacing between lines is not affected. \...
Sandy G's user avatar
  • 41.7k

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