# Tag Info

## New answers tagged symbols

0

Can use the following: $\mathcal {P} (\mathbb{Z})$

1

You could use \mathbb{Z} to represent the Set of Integers!

6

Footnotes to the title or authors are treated differently than those in the body, because they're usually meant for acknowledgments or data relative to the author. You can redefine \maketitle not to do that and use the standard \footnote mechanism. For the footnote rule to use the whole text width, another command must be redefined. ...

0

I don't know why, but in documentclass{book} does it work. \documentclass[a4paper,oneside,12pt]{book} \usepackage[english]{babel} % formatting rules for the English language \usepackage[T1]{fontenc} % proper formatting for accented characters and non-standard characters such as pipelines \usepackage[top=33mm, bottom=38mm, left=26mm, right=20mm]{geometry} % ...

6

Alternative to Heiko's answer: \documentclass[12pt]{article} \usepackage{eurosym} \begin{document} $\pm \textrm{\EUR{1}}$ \end{document}

9


7

Yet another solution (adjust -8mu to your needs) \documentclass{article} \usepackage{amsmath} \newcommand{\dbot}{\mathbin{\text{$\bot\mkern-8mu\bot$}}} \begin{document} $\alpha\dbot\beta=\alpha\times\{0\}\cup\beta\times\{1\}$ $A \dbot B_{A \dbot B_{A \dbot B}}$ \end{document}

8

I experimented a little bit with tikz library and there is a way to provide such a symbol, which scales somehow with the font size. \documentclass{scrbook} \usepackage{tikz} \usepackage{xkeyval} \usepackage{xcolor} \usepackage{amsmath} % Not needed actually, but include if \boldmath is used \boldmath % Not needed actually \makeatletter ...

8

I'm not sure of the exact aspect of what you require, but would not \upmodelsor \upVdashbelow be what you want? According to the name of the first symbol, it should be of use in model theory. These come from mdsymbol (math symbols for Myriad Pro), and the same exist in MnSymbol (mat symbols for Minion Pro).

10


1

So, thanks to Keba I found the solution. You can use the romanbar package, which puts bars on top and bottom of a letter, without leaving a gap. \documentclass[]{article} \usepackage{romanbar} \begin{document} \Romanbar{X} \end{document} This generates: Thanks to everyone for their help!!!

4

The \overline{\underline{}} mentioned by Jubobs is easier, if you are happy with that look, unless you wanted to tweak the settings I mention below, or if you want rounded caps on your over/under rules. If you wanted this done on text, rather than math variables, then removing the \$ from my definitions will accomplish that. You can perform an ...

5

This is a (modest) alternative to the LaTeX3+lualatex approach. It uses xintexpr. It requires the user to employ \AND, \OR, \NOT in the logical expressions. Other keywords are \XOR, \ALL, \ANY. latest update: the number of variables is anyhow limited to 9, because each expression will be converted into a macro with that many parameters. Hence the first ...

11

The undesired spacing around \sim comes from the fact that \sim is defined as a relational symbol using \mathrel; from the kernel: \DeclareMathSymbol{\sim}{\mathrel}{symbols}{"18} You can supress this space treating \sim as an ordinary symbol using \mathord{\sim}: \cs_new_protected:Npn \__tt_build_header: { \seq_set_from_clist:NN ...

6

You can "extract" only that symbol from MnSymbol and use it in your document. This is the code to extract \leftpitchfork: \DeclareFontFamily{U} {MnSymbolA}{} \DeclareFontShape{U}{MnSymbolA}{m}{n}{ <-6> MnSymbolA5 <6-7> MnSymbolA6 <7-8> MnSymbolA7 <8-9> MnSymbolA8 <9-10> MnSymbolA9 <10-12> MnSymbolA10 ...

5

The characters which can be resized with \left, \middle and \right are those with a non zero \delcode. Commands are also allowed, provided their expansion starts with \delimiter; they are defined by \DeclareMathDelimiter in fontmath.ltx: %%% characters \DeclareMathDelimiter{(}{\mathopen} {operators}{"28}{largesymbols}{"00} ...

5

Using \scalerel, one can make one argument match the vertical extent of another argument. The optional argument is a max-width constraint (in this case, I chose 2ex). Here's an example of the same code working on two different \somethinghuge arguments. In this case, I chose \mysymbol as a / sign. \documentclass{article} \usepackage{scalerel} ...

5

First of all, \biggl. and \biggr. do exactly nothing, except introduce unwanted opening and closing atoms (and, possibly, the relative spacing). Second, \bigl/ makes the bigger / an opening atom, so you should use \big, instead. Third, the bigger / has wider sidebearings than the normal size symbol. If you need it only at normal and \big size, here's a ...

1

The package selinput was not yet mentioned. Because I found good answers regarding its use on other places in TeX.SX let me first link to them: Heiko Oberdiek (author of selinput): The input encoding depends on the editor that is used to write the TeX file … If the user is troubled to find the right encoding, then package selinput can help, … ...

8

The command \S is defined with \DeclareRobustCommand, so redefining it with \renewcommand is not the best strategy, see When to use \LetLtxMacro? If you really want a space after \S (which is not usual, I should say), it's better to act at a lower level. The kernel definition of \S is % latex.ltx, line 1798: ...

1

How about using the xspace package: \documentclass[12pt]{article} \usepackage{xspace} \let\OldS\S \renewcommand{\S}{\OldS\xspace} \begin{document} \S 13 \OldS 13 \S{} 13 \OldS{} 13 \end{document} The advantage is that if you ever want to typeset \S before a full stop or comma, xspace automatically omits the additional space.

3

I am posting this as the final result of taking Herbert's solution where I wanted it, which is a drop in replacement for \rule that provides rounded line caps. Herbert deserves the credit and will get the points, but others (like me) might wish to see/use this more seamless drop-in for \rule. Herbert's solution needed to be placed into an hbox, as he ...

7

\pdfcompresslevel=0 %%% to see how it works in the pdf code \pdfcompresslevel=0 \documentclass{article} \parindent=0pt \makeatletter \def\mathrule#1#2{% \@tempdima=\dimexpr#1-0.5#2 \@tempdimb=#2 \@tempdimc=0.5#2 \hbox to #1{% \pdfliteral{ q []0 d 1 J % set line cap to rounded ends \strip@pt\@tempdimb\space w ...

Top 50 recent answers are included