I am trying to write a math paper, and I need to write the following symbol:  $\overline{\underline{X}}$  Is there any package that already contains it?
86823
This question led to a new package:      (using a variation of egreg's code, and stating this in the manual; the package isn't really new now, sorry for the delayed announcement)  I have read about "How to get Roman numerals" but asked myself how to get Roman numerals formatted as in     i.e. with fitted over- and underline (without manually using boxes and such)? I'm curious for your answer(s)!
82921
See the above excerpt from John Lee's Introduction to Smooth Manifolds. In differential topology and linear algebra, there's an operator called the interior product or contraction operator, denoted $\iota_X(\omega)$ or alternatively with some other "half box" like operator $X_|\omega$. Does anyone know how to markup that operator in LaTeX?   Google has turned up nothing except for this thread:   That thread did receive an accepted answer, which was \invneg from the MnSymbol package, but the suggestion given there does not seem correct to me. Or at least, it does not match what I'm familiar with. That answer results in an inverted negation symbol, whereas the contraction operator should have a stroke down at the floor of the line, and a long stroke going up almost the full height of the line. It can be found in many texts, but why can I not find the correct LaTeX markup?
79292
I'm trying to create symbols \opn for "open subset" and \cls "closed subset". I want them to look like this:      My current solution is:  \def\opn{\!\ensuremath{\subseteq\!\!\!\!\!\raisebox{1pt}{$\circ$}}\,}  \def\cls{\!\ensuremath{\subseteq\!\!\!\!\!\raisebox{1pt}{$\bullet$}}\,}   But the problem is when I use this, Latex doesn't treat \subseteq and \circ as a single symbol, so the spacing is incorrect when for example I write $U~\!\!\!\opn\!\!\!~X$:    How can I make the position of the circle be fixed in the middle, so that \opn becomes a single symbol that is resizable, i.e. responds well to \huge?  Edit: @egreg @MartinScharrer: When using your command (to define the stalk of a sheaf)   \mathcal{F}_x:=\frac{\bigsqcup\{\mathcal{F}(U);\, x\in U \opn X\}}{s\sim s'  \,\Longleftrightarrow\, s\in\mathcal{F}(U)\text{ and }s'\in\mathcal{F}(U')\text{ and } \exists x\in W \opn U\cap U'\!:s|_W=s'|_W}   I get ugly results, namely (egreg's solution)  and (Martin Scharrer's solution) .  Currently, I like this edited Martin's solution the most aesthetically appealing:  \def\opn{ \ensuremath{\mathrel{\subseteq \!\!\!\!\!\raisebox{1.63pt}{$\scriptstyle\circ$}}}}    %odprta podmnozica \def\opnn{\ensuremath{\mathrel{\subsetneq\!\!\!\!\!\raisebox{1.63pt}{$\scriptstyle\circ$}}}}    %prava odprta podmnozica \def\cls{ \ensuremath{\mathrel{\subseteq \!\!\!\!\!\raisebox{1.63pt}{$\scriptstyle\bullet$}}}}  %zaprta podmnozica \def\clsn{\ensuremath{\mathrel{\subsetneq\!\!\!\!\!\raisebox{1.63pt}{$\scriptstyle\bullet$}}}}  %prava zaprta podmnozica   but there is still a problem in the above code. Could anyone edit this last code to fix the problem with spacing?
106641
How do I format a list of questions like this?     I'm getting the equation on a new line below the i) when using enumerate and \list.  I don't want to get rid of \[ and \] either as I like the long integral sign  I get this instead:
53580
This is difficult for me to explain, but how do I put words over a symbol? For instance, I want to add words over an equal sign. Anyone know the command/syntax for that?  Also adding ^ doesn't cut it..., I want the text to appear ON TOP.
12056
Is there a way to force a line break inside a math mode text?  My example:  \[   \underbrace{....}_\text{Some long text that should be multiline} \]   Trying  \text{Some long text that\\ should be multiline}   Didn't do the trick.
56711
This thread evoked from .  \documentclass{article}  \usepackage{unicode-math} % This causes the question mark bug % This code requises unicode-math % How can you use the code without unicode-math -package? \setmathfont[BoldFont={latinmodern-math.otf}]{latinmodern-math.otf} \setmathfont[range=\mathscr,Scale=MatchUppercase]{Asana-Math.otf} \usepackage{tikz} \usetikzlibrary{tikzmark,decorations.pathreplacing,calc} \newcommand\MyText[4][0pt]{% \begin{tikzpicture}[overlay, remember picture] \draw [decoration={brace},decorate,thick]    ( $ ({pic cs:#3}|-{pic cs:#2}) + (#1,1.3ex) $ ) --       node[anchor=west,xshift=5pt,text width=5cm] {#4}    ( $ (pic cs:#3) + (#1,0) $ ); \end{tikzpicture}% }  % I have defined question like this \usepackage[framemethod=tikz]{mdframed} \newtheorem{question}{Question} \mdfdefinestyle{que}{   linecolor=cyan,   backgroundcolor=cyan!20, } \surroundwithmdframed[style=que]{question}  \begin{document} \begin{question} Lorem ipsum? \end{question} \end{document}   I am thinking why you need the  package for the TikZ code.  Why does the TikZ code require unicode-math package?
26437
I stumbled over a problem, which I assume should be quite common, but I couldn't find a satisfying answer (e.g.  and  are not what I am looking for).    I'd like to get an overline over a symbol, but not over its subscript. Though this is no problem, the grouping destroys the kerning of the subscript. Consider the example:    How can I get the overline just over f like in the second line, but the kerning of the subscript of the first line?  Of course I could adjust it manually with negative spacing, but I wonder if there is a more generic solution.  MWE  \documentclass{article}  \usepackage{amsmath} \usepackage{helvet} \usepackage{sansmathfonts}  \begin{document}  without overline: \[f_t\] with overline and subscript outside: \[\overline{f}_t\] with overline and subscript inside: \[\overline{f_t}\]  \end{document}
41746
Sometimes I want to underline some text, and it extends past the end of a line.  Why does \underline{} not automatically wrap my text for me ?    Also, how can I underline text so that it will still wrap ?
29819
How do I insert the line "|" after the equation in LaTeX (see image below)? I'm using LyX so if you can point me to the symbol of that line is also OK.    I don't know if this line has a proper name so the title of this question may be very vague. If you could provide me a name, I'll edit this question's title.
45594
In my long document I, sadly, have to use several accents to denote different kinds of symbols. Currently, I use primes ($x'$), hat, tilde, and overline. In addition I use two colored symbols (red colored tilde and blue $\prescript\ulcorner$), as I need further distinguishment.  Now I'd like to have no colors in my document, while I still have at least six different ways to differentiate certain symbols.  Which alternatives could I use that are easy to recognize and 'stand out', while they are different to prime/hat/tilde/overline?  EDIT: The reader should be able to see the kind of accent used even if the symbol in question is in a sub-script (possibly even a sub-sub-script).
106706
It is common (or it used to be) to use a blackboard-bold variant of \mu to denote roots of unity in some mathematical papers.  However, despite searching (several times, periodically over several years) I have never been able to locate any package or technique that makes this possible, other than using Metafont or possibly hunting through the font definitions to see if it is something I can create a variant of (along the lines of the suggestions in Section 8 of the Comprehensive LaTeX symbol list).  Thus far, I haven't been sufficiently motivated to learn how to do any of this (although it probably would have resulted in a net time savings), and I feel like I cannot be the only person who would have tried.  Is anyone aware of an existing way to produce this character?
54642
Above is an example produced by S\overline{n}=\overline{n+1}. The overlines are not aligned vertically, which is highly undesirable. Is there any way to produce overlines of the same height throughout a whole formula?
25665
Is there in LaTeX a symbol or a macro for the average integral with a horizontal slash? I know about \strokedint, but I'd prefer the dash to be horizontal.
89025
Take a look at this symbol:   $$ \pi=3 + \underset{k=1}{\overset{\infty}{\large{\mathrm K}}} \frac{(2k-1)^2} 6 $$   Does it look familiar to you? If so please help me!
43127
I saw two less than signs on this Wikipedia article and I was wonder what they meant mathematically.    EDIT: It looks like this can use TeX commands. So I think this is the symbol: $\ll$
40427
I'm looking after a macro to write the (La)TeX logo (with parentheses), i.e. something similar to \TeX, \LaTeX, but where the output includes ()'s.