I am preparing a poster based on a specific template I have to use. The template uses Arial as font. Strangely, typing "--" (for example for page ranges in references) does not result in an en-dash (–), but rather two visible hyphen characters "-"'s. Is there an alternative way to generate an en-dash directly?
121053
I am trying to get an en-dash by using two '-' characters, but instead of appearing as one long en-dash symbol, I'm getting --. Any idea how I can get an unbroken en-dash?
18381
I generally know how to use a hyphen, but when should I use an en-dash (–) instead of an em-dash, or when should I use a hyphen (-) instead of an em-dash (—)?
36794
Is it possible to tell (La)TeX to adjust the kerning of a specific character combination?  For example, suppose I want !! to be typeset as !\kern 1.2pt!, just like ff is automatically turned into a ligature, or -- is converted to an en-dash.  I know I could create a command for this combination&mdash;I am asking for a way to just type !! and have it use my desired kerning.
119350
I am writing a new custom keyboard layout for Xorg, but there is one particular glyph which does not exist in Unicode. It is, however, easy to create it by using a standard letter plus a combining diacritic mark.  For example, if I want the letter v with a macron below, the sequence U0073+U0331 creates the character that I want.   In my xkb layout definition, I can specify a single Unicode point (here altgr+d is bound to ḏ and altgr+shift+d to Ḏ):  key &lt;AC03&gt;  { [         d,          D,        U1E0F,        U1E0E ] }; // d with macron below   But I don't seem to be able to specify a 'combined' Unicode glyph for a single key:  key &lt;AB04&gt;  { [         v,          V,  U0076+U0331,  U0056+U0331 ] }; // v with macron below   Is it possible to create a system-wide xkb definition like this?
110102
I originally asked a question here:  but was asked to submit a new question including more info  I want to be able to type special characters such as ellipsis, en dash and em dash using the same key combinations as in osx (that is, alt+period for ellipsis, alt+hyphen for en dash, alt+shift+hyphen for em dash, etc.) Apparently, Right Alt is supposed to function this way natively. Both of my Alt keys work as normal Alt keys in keyboard shortcuts, but I'm not able to use them to create special characters.  My keyboard looks like this:     (with eject instead of power button). Ubuntu's original Norwegian (macbook) layout has a lot of errors ( | instead of ' etc.), so I use a custom layout file that I found on github: github.com/gulrotkake/Ubuntu-MacBook-Norwegian-keyboard I checked the file, and the 3rd and 4th level characters are included:  key &lt;AB09&gt;  { [    period,      colon, ellipsis,   periodcentered ] }; key &lt;AB10&gt;  { [     minus, underscore,       endash,       emdash ] };   I tried changing back to the original layout file (which I had stored as a backup), but I am still not able to produce any of the special characters.  I followed the advice of this post:  by going into org.gnome.desktop.input-sources and adding 'lv3:ralt_switch', 'misc:typo'. gsettings get org.gnome.desktop.input-sources xkb-options now outputs ['ctrl:swap_lwin_lctl', 'compose:rwin', 'lv3:ralt_switch', 'misc:typo']  This lets me write 3rd and 4th level characters with my Right Alt key, but they aren't mapped correctly (and I'm also no longer able to use the Right Alt key in my keyboard shortcuts). When I type alt+period I get » instead of ellipsis, alt+hyphen gives ellipsis instead of en dash, and so on.  I'm using Ubuntu 20.04 LTS  Edit: cat /etc/default/keyboard outputs:  BACKSPACE=guess XKBLAYOUT=no XKBVARIANT=mac   gsettings get org.gnome.desktop.input-sources sources outputs:  [('xkb', 'no+mac'), ('ibus', 'mozc-jp')]   I|ve tried using the custom keyboard layout from github as well as the default one. The behavior of the two keyboard layouts is the same: i normally cant write any special characters using Right Alt. Adding 'lv3:ralt_switch', I can write the characters but they are mapped incorrectly. Pressing the period key gives me  . : · ÷  and pressing the hyphhen key gives me - _  ̣ ˙ Adding 'lv3:ralt_switch', 'misc:typo' the mapping is different but still incorrect. pressing the period key gives me . : » > and pressing the hyphen key gives me - _ … ˙   Also, this might or might not be relevant, but before I switched to the github layout I tried to fix the wrong bindings on the default layout using sudo dpkg-reconfigure keyboard-configuration - choosing MacBook Pro international and norwegian. This made æ å ø and several other keys disappear. And this persisted on reboot. I fixed it by switching to the github layout. I|m unsure whether the Right Alt key functioned properly before doing this.
103117
Is there a math mode accent giving an ? I have tried \stackrel{frown}{x}, but the alignment and spacing are all wrong when compared to \breve{x}.
78971
I wish to use the enumerate/itemize environment within the proof/remark environment, but when I do this the first number/bullet-point is on the same line as the word 'Remark'/'Proof' indented to the right, and all subsequent number/bullet-points are all aligned nicely below.  I think it looks a bit clumsy. I tried adding a double backslash immediately after \begin{proof} but sometimes this means I have the word Proof at the bottom of a page and on the next page the bullet points start, which looks terrible. Is there a way round this?
23187
I very much like the typesetting in Numdam's writeup of . I find the font particularily pleasing, and the headers are nice as well. I've heard this is how it looked in the original release; I would like to snatch it. Does anyone know the name of the font, or does anyone have a general setup?
121350
I'm using XeLaTeX to compile my document. If I write in my document --- I don't get —, but --- in my PDF document. Same for – (--) character. I'm sure that font which I'm using have this character (Myriad Pro). Are there other ways to get this characters working?If copy&amp;paste this character, it works then. But never when using -- or --- shortcuts.
118387
How can I get universal in my new environment normalfont instead of italic (default)? I thought it was something simple like  \newtheorem{exercise}{ \normalfont}[chapter] `   but doesn't work. I could not find something similar but I think it is something simple, even for me as a new user to LaTeX.
61768
It is well known that you can make the font italic or bold using \textit{} or \textbf{}. However, if I have an italic or bold font, what command can I use to make it nonitalic or nonbold?
121088
I am working in Open Office Writer 3.3.0 and I have come across something a bit odd. When I write a semi-mathematical formula my "-" gets replaced by a "–", a slightly longer dash, and I cannot seem to turn it off in the autocorrect. I am not sure how to. the dash "-" does not appear in the autocorrect table of any language, whereas double-dash "--" does.  Any ideas how to disable this?
7443
In math mode one can do $\hbar$, which produces an h with a little line through the top of it. I want to do the same thing, except with the letter d instead. Is there a generalization of $\hbar$ that works for other letters besides just h?
93898
In math, one often needs to put a letter inside the symbols &lt;&gt;, e.g. to denote a cyclic group &lt;x&gt; generated by some element x. However, plain text displays the symbols &lt; and &gt; as an upside down exclamation point and an upside down question mark, respectively, while math type displays a large space like so:  &lt; x &gt;    Is there some way to reduce this spacing?
82786
I wish to write a paper about linguistics, so I thought about trying LaTeX. Sadly I couldn't figure out how to write the unique characters I need for my work, for example epsilon with a little tilde above it, i with two dots above it, velar nasal and so on.  I know I can write stuff like ó with \'{o}, but I couldn't figure out how to put the epsilon in there, or how to write more unique characters.
106373
Is there a font, available to -all- TeX users, that includes a glyph that can be recognized as the Unicode Replacement Character?  I realize I can use XeTeX with a  (or maybe any character not in the font), but I'm interested in using standard pdfTeX with standard LaTeX 2e and a pure ASCII input file.  The glyph typically looks like a filled black diamond with a white question mark inside it:    If no such font is available, what's the best robust strategy for getting such a glyph into a standard pdfTeX document (one whose input file has no Unicode or non-ASCII UTF-8 byte sequences in it) without using XeTeX or similar?  Inserting TikZ commands?  Raw PostScript?  Right now, for lack of a better solution, I'm using a \textbullet, simply because it's the boldest/blackest glyph I can think of, and it's available in most standard fonts.  Creating a custom font with one glyph in it is not really viable, or if it is it's a strategy of last resort, unless (perhaps) it can be done automatically and on the fly when processing the document each time.  (Reposted from the texhax mailing list: ; originally posed by Doug McKenna)
47838
My self defined environment having a symbol at the beginning and at the end works fine for text without enumeration. When including enumerate the symbols are not there where desired. Is it possible to have the first symbol directly in front of &quot;1.&quot; i. e. in the same line and the ending symbol in the same line as the last line of the enumeration? With \ignorespacesafterend and \unskip I did not succeed. \documentclass{article} \usepackage{amssymb} \newenvironment{myenv}{$\blacktriangleright$}{\hfill$\blacktriangleleft$}  \begin{document} There is a text.  \begin{myenv} And an example \end{myenv}  Here is another text.  \begin{myenv} \begin{enumerate} \item A \item B \end{enumerate} \end{myenv}  \end{document}