Latex em dash. Use em dash like you would a colon, or use in pairs like you would parentheses. Latex em dash

 
 Use em dash like you would a colon, or use in pairs like you would parenthesesLatex em dash When typing, use two hyphens together without spaces to form a dash

See how it works on Vimeo . Rule #5. Horizontal bar character, Unicode U+2015. And you can use this command in either math mode or text mode. I've noticed that en dashes and em dashes run into certain numbers and letters, and I don't believe it's standard to use spaces with these. In Word, you’ll hold down Shift+ Option+minus rather than the Ctrl+Alt+minus mentioned above. It only takes a minute to sign up. Joined: Wed Feb 08, 2012 1:54. I chose the filename cmlh10 where lh stands for “long. documentclass{article} % Preamble egin{document} % Body end{document}The Dash. In any software program that handles text, the em dash can be typed on an enhanced keyboard as Alt + ( 0 1 5 1 )—that is, hold down the "alternate" key and type, using the numerical pad on the right side of the keyboard, the numbers 0151. 9. In LaTeX, ---is an em dash. In the bygone days of typewriters, the em dash was rendered as two hyphens (--), but today modern word processing packages offer a genuine em dash in their special character. , and of the Regency. Certainly a sentence with more than two is imparsible. And mathematically, similar to (~) symbol is denoted by this symbol. An em-dash (or an en‐dash with spaces) is used to indicate a parenthetical clause/phrase (which, if removed does not interrupt the sentence), this is written in TeX by three consecutive hyphens, ---or extemdash. exe and xelatex. The method for inserting an em dash in Scrivener varies slightly with the version that you use. Is it better to omit the spaces between the words and the dash, or is it preferable to separate them with spaces instead? For example: No. LaTeX has defined two commands that can be used anywhere in documents (not just maths) to insert some horizontal space. I have many dashes like this — in the text but in the PDF all I get is two small dashes like this --. Some diacritical marks, such as the acute ( ´ ) and grave ( ` ), are often called accents. I don't know about latex. Here is a MWE: \\documentcl. There is also dash-katex, an alternative LaTeX renderer in Dash. Inserting an en-dash in Latex. Latex will automatically turn it into an en-dash. It only takes a minute to sign up. It places an — (em-dash) in the spot associated with |. lambda. , Do a global search of ‐ (U+2010) and replace all instances with - (U+0045). In Latin modern the hyphen is visibly thicker and lower than en-dash and em-dash. With OT1 7C means a wide dash, that's why we get a wide dash instead of the pipe symbol in standard encoding. user448810 user448810. name. documentclass {article} egin {document} [ sin heta,;cos heta,; an heta. The symbol intercal is quite a nice symbol for transpose, but it is placed a little low. Replace triple hyphen with em-dash? The em-dash is too long for German typographic conventions. On the other hand, $overline {mathbb {R}}$ creates a line that is too long. So you need to use the \textunderscore command to print this or you can use \_ this too. Logout. If smart is disabled, then in reading LaTeX pandoc will parse these characters literally. There are two kinds of dashes, the en dash, and the em dash (long dash). It accepts a callback function. 1. In proper typesetting, these should be dashes, either En Dashes (U+02013) "–" or Em Dashes (U+02014) "—". tom-a-horrocks on Apr 4, 2018. Its use or misuse for this purpose is a matter of taste, and subject to the effect on the writer’s or reader’s “ear. It can also be used for clarity in forming complex compound adjectives. Dashes and Hyphens. 1 Hyphens says that em dash can be generated by inserting three dashes in a row: --- . or. Colons are to be used if the real information is after the item, as in the song challenge example. documentclass{article} % Preamble egin{document} % Body end{document}having both include{Index} and printindex would duplicate the index, assuming that the file named Index. Typing: in Ubuntu/Gnome, Ctrl-Shift-u 2 0 1 0 Enter; in Windows, hold Alt and type + 2 0 1 0; on a Mac, hold. The em-dash (—) The em-dash is. 5. Hyphens and dashes are used to separate or join things in the text: phrases, words, prefixes, numbers, etc. 双重和三重的 em dash 相对少见,但也是正规的标点符号,可以介绍一下。. So, the following will assign the class “green. e. I process the markdown file with the -S option with. An en-dash is also used as a minus sign as in –10°F. Example. documentclass{article} % Preamble egin{document} % Body end{document}Note that the global chktexrc file is always loaded, also when you specify a different file on the command line. Were Rear-ended The Three Dashes And When To Use Them. Use the WORD JOINER Unicode character &#8288; on either side of your hyphen, or em dash, or any character. There are three kinds of dashes: hyphens, en-dashes and em-dashes, created in LaTeX by sequences of one, two and three keyboard minus signs respectively (i. idx file, which is then sent through the makeindex program to create an . The Imitation of Christ. The most common versions are the en dash –, generally longer than the hyphen but shorter than the minus sign; the em dash —, longer than either the en dash or the minus sign; and the horizontal bar ―, whose length varies. (Image credit: Tom's Guide) 2. So, if you are using an 11pt font, then the space provided by quad will also be 11pt (horizontally, of course. The following instructions assume you are using version 3 for Mac or Windows. You should be cautious about placing a hyphen before a suffix and avoid using a dictionary. To modify the book function, search for the following lines of code: Em dashes are used to replace commas, parentheses, colons, and semicolons. I want to represent, say, the closure of a set or the extended reals, e. LaTeX. I wanted to know if there is a way to insert a long dash —. You can also place this symbol on top of any letter, using the ~ {*} or ilde {*} command. I used two dashes, like this: --. Example. . Typing “---” prints just three hyphens, \emdash{} doesn’t print anything at all, escaping the listings environment does print the em-dash, but it creates trouble with the string formatting: The space characters are. However this switch mechanism works only for latex. The en and em dashes appear on the bottom row. documentclass{article} % Preamble egin{document} % Body end{document}Here is a variant on Herbert's answer, using dimexpr instead (inspired from the thread ifnum for real numbers of comp. 54. ] For example, He said he had it under control—I could see that wasn't true. Examples:. Theta is a very popular symbol used in mathematics. A dash is longer than a hyphen and is commonly used to indicate a range or a pause. 3. Latex command. 2 Answers. The 2 em dash can be used to indicate missing letters in a word, either because material is missing or illegible, or to conceal a name. – En dash: a mid-sized dash (longer than a hyphen but shorter than an em dash), shows a link or relationship between two concepts, or a range. With --, there is a feasible break points, because the ligature ends with the default hyphen character. How to type Hyphen, En-dash, and Em-dash in LaTeX? Our main objective is to teach you LaTeX in a very easy way. On the keyboard. h1 = text(2,6,['Test' char(8212) 'example']); Please refer to the following page to see numeric codes for the common dashes:. Which will be converted to three non-breaking spaces by your LaTeX software. \lambda. I want to write three short dashes ---, but Latex automaticaly change it to one long dash (em-dash). represented by the em-dash (---), but the dashdot line given by -. @Francesco -- looking at the bit out output you show, even if the em dash goes to a new line, the line ending with "proliferation" will be overfull, so it would probably be better to allow hyphenation within that word. This will produce a thick short dash before the h, but a longer thinner dash (em dash) before help. However, I want to use these glyphs in my Unicode setup, and trying it as follows: However, I want to use these glyphs in my Unicode setup, and trying it as follows: 3. " For instance the style guide I'm following suggests using en dash to reduce the ambiguity in post-apocalyptic-–science fiction movies. 6 I am preparing a poster based on a specific template I have to use. This option is selected automatically for textile input. UserGuide 3. Inserting an em-dash in Latex; Spaces and dashes; How to use an Em Dash (—) Properly. 4 Spaces around em-dash By default, the half-space is inserted before and after em-dash. Modified 1 year, 11 months ago. To highlight this, consider the following example: \documentclass {article} \begin {document} \showoutput | --- \end {document} 56. For example. LaTeX allows you to produce dashes of various length, known as `hyphens', `en-dashes' and `em-dashes'. It works fine when using a unicode em dash, or explicitly using the \\textemdash macro. ") on your keyboard. How to type Hyphen, En-dash, and Em-dash in LaTeX? Our main objective is to teach you LaTeX in a very easy way. documentclass {article} egin {document} [ 1 = lambda f. 88> substituted on input line 103. 3 Shorter em-dash usepackage[shortemdash]{extdash} This option rede nes Emdash to be shorter than the standard em-dash (0. In fact, more than a few in a whole article is probably getting annoying. Stegosaurus—a herbivore. Use the Emoji Menu: First, open the emoji menu by pressing Windows+Period (". MatLab command. Hello all. sentence-per-line, no em-dash spaces: The food---which was delicious---reminded me of home. The hyphen is half the size of the en dash. How do I do that?To type an en dash, use Alt+0150 instead. The functions that need further, special attention are those for entries of type @book and @inbook, because they have to deal with both repeated author (s) and repeated editor (s). There are many different types of integrals and the LaTeX amsmath package provides us with the various commands to typeset them as shown in the table below : LaTeX command. documentclass{article} % Preamble egin{document} % Body end{document}Of course, you could also set up new new unit as follows: DeclareSIUnit {mmmrad} {mm extrm {-}mrad} Note the use of extrm to get a short "dash" symbol rather than a long "math minus" symbol. Strangely, typing "--" (for example for page ranges in. Note that dashes are rather informal and should be used carefully in writing. (using \verb to do the last line, I guess) Share. imath and. clause-per-line, inconsistent em-dash spaces: The food ---which was. I have some text from which I am generating HTML and LaTeX outputs. For instance, we could use em dashes in place of commas or parentheses: One of the twins—she couldn’t tell them apart—ran to greet her. Insert an Em or En dash using the Symbol menu. You can turn off this V2 behavior by disabling FilterOnPaste via reg add HKCUConsole -v FilterOnPaste -d 0 -t REG_DWORD -f (as explained here, a sing out may be required) or turning off all V2 features altogether via reg add HKCUConsole -v ForceV2 -d 0 -t REG_DWORD -f. While it looks fine in. H—— and Mr. ”. The main use of em dashes is to set off extra information in a sentence. Lengths can be changed by the command: \setlength{\lengthname} { value _ in _ specified _ unit } For example, in a two-column document the column separation can be set to 1 inch by: \setlength{\columnsep} { 1in } Below is a table with some of the most common lengths and their. The latex commands are: Hyphen: - En-dash: extendash; Em-dash: extemdash; With the latter two, you will likely want to. documentclass {article} usepackage {MnSymbol} egin {document} [ ABC dashleftarrow 123 ] [ XYZ dashleftarrow 123 ]. En dashes should be used for number ranges 34–42 without space. 1. Em-dashes — when used to separate parenthetical clauses — are often used without any spacing, but I rather prefer them with a hair (or perhaps thin) space on either side. em-dash. It is accompanied by practical implementation of code and output, so that the depth of knowledge increases. The problem. 通常英文寫作的 Dash 指的就是 Em Dash,也就是中文的「破折號」:連結不同句子,而 Hyphen (連字號) 則是用來連結單字,它們的規模不同。連接號英文是 En Dash,用來代替 to 這個介系詞,最常看到用來連結數字,像是履歷表的工作時間。 A hyphen is usually very short (it has its own Unicode character, but you can use the hyphen-minus instead because it looks the same), a minus is of the same width as the decimal digits (and is sometimes a little bit higher than the others), an en-dash takes approximately the width of the letter “N” or “n”, and an em-dash takes. In any case, it's always good to use a macro in case you change your mind later. The em dash—so called because in traditional typesetting it was the length of a capital M—is often known by its more pedestrian, non-alphabetical name, the long dash. iiiint. Diacritical marks may appear above, below, or within a letter, or between two letters. tex will use 1 2 3. A hyphen (-) is a punctuation mark that’s used to join words or parts of words. 1. In British usage, we use only a single hyphen to. Just in case anyone is looking for another way to escape special characters, this can be done with the listings package. Use an en dash to indicate a range, for example ‘rows 1–10’. Name and Output. 6. juh. Load the LaTeX-package arydshln in the preamble with the command. Dashes are used to set off part of a sentence. When used in pdfTeX, approximated by an en-dash; with a Unicode engine, either typesets the glyph if available in the current font, or writes the usual “Missing character” warning to the log file. How to type Hyphen, En-dash, and Em-dash in LaTeX? Our main objective is to teach you LaTeX in a very easy way. I am using pandoc to generate pdf document (through latex). ") To get one, type ---(three hyphens in a row); the typographical convention is that there is no space between an em-dash and the surrounding text. documentclass {article} egin {document} [. Here I define a longdash command, by default it's (slightly less) than an em-dash; it has an optional argument: longdash[4] is (slightly less than). Logout. I don't think the idea about creating a package for nonbreaking hyphens/dashes or "no-line-breaking" after them is so uncommon though. The problem I have is that these transformations only occur for the strings in the yaml metadata (which appear in the title slide), but not for the text in the normal slides. end {document} Another option is to use the obreakdash command implemented by the amsmath package; this command suppresses any line break after the dash (or hyphen). Second, n-dash replaces a. documentclass{article} % Preamble egin{document} % Body end{document}LaTeX is a free typesetting system that allows their users to use a markup language to produce high-quality and consistent documents. En-dashes are used to express a range (“5–10 year sentence”). 9. ) This normally happens automatically with \setmainfont and \setsansfont, but not other commands such as ewfontfamily. doncherry. You can access three of them with different numbers of consecutive dashes. I've noticed that -- isn't automatically translated to an en-dash when I use that font. This symbol is a letter of the Greek alphabet. Learn how to use an en dash in a sentence with these examples and best practices. dash. All over the internet, there's this question on how to make LaTeX do the en-dash and em-dash. The styles of biblatex-chicago do not know that option and do not allow you to turn the dash off easily. Its primary use is as a diacritic (accent) in combination with a base letter but, for historical reasons, it is also used in standalone. 2Unary operators. I was wondering if there is a way to make the hyphen and en dash in a compound word appear at the same "height. The missing one in that sequence, 2011, isn’t represented in the ‘standard’ or ‘normal’ font set, for that code, as far as. 8 em). The syntax is convertto{mm}{1pt} to convert 1pt in mm: makeatletter defconvertto#1#2{strip@ptdimexpr #2*65536/ umberdimexpr 1#1} makeatotherDefined in the June 2021 release of LaTeX. Big Gamma/U+0393. Examples: Please call my lawyer—Richard Smith—on Tuesday. The third parbox contains the — character that is equivalent to typing extemdash. It is accompanied by practical implementation of code and output, so that the depth of knowledge increases. Top. The ‘obvious’ way to do this is probably to write A\,---\,B rather than A---B (no spaces) or A --- B (unfortunately large spaces). This is strictly a BBT thing and Zotero doesn't know about it so will treat it as if you. I am typesetting a book in Russian language and I noticed that, in some cases, an overfull box appears which cannot be solved via manual \hyphenation or \linebreak or even \emergencystretch, because an em-dash is causing it. How to type Hyphen, En-dash, and Em-dash in LaTeX? Our main objective is to teach you LaTeX in a very easy way. \iiiint. ch . This is not a comprehensive list. LogoutThe em-dash—which is longer than en-dash—is used for punctuation in sentences and in-line comments. e. Here the ~ {*} command is used in Latex text mode and the ilde. Unlike parentheses, which tend to minimize, dashes tend to emphasize the set-off text (i. Quadruple integral → ⨌. Triple integral → ∭. Therefore if the global file has 1 3 and the local file has 2 then chktex --localrc myrcfile mytexfile. Putting spaces before and after an em dash is a matter of preference; just. It isn't nice to have em-dash at the end of a line too. In Polish typography dash (pol. documentclass{article} % Preamble egin{document} % Body end{document}LaTeX. Memoirs of Louis XIV. In the example the parbox is just to force LaTeX to break as much as possible. I am typesetting a book in Russian language and I noticed that, in some cases, an overfull box appears which cannot be solved via manual hyphenation or linebreak or even emergencystretch, because an em-dash is causing it. Chapter 1: Writing documents Section 1. tex. The en dash is the width of an uppercase N — half the size of the em dash. They are organized into seven classes based on their role in a mathematical expression. Use the em dash to denote a break in a sentence: ‘He was running, Watson—running desperately’. that Jan Tschichold’s influential design for Penguin Books included spaced en-dashes instead of em-dashes, and that directive (and a few others) saw wide uptake throughout. Inserting an en-dash in Latex. e. We love good questions. In LaTeX you can get a longer hyphen by using two or three dashes, i. All the predefined mathematical symbols from the TeX package are listed below. Lengths can be changed by the command: setlength{lengthname} { value _ in _ specified _ unit } For example, in a two-column document the column separation can be set to 1 inch by: setlength{columnsep} { 1in } Below is a table with some of the most common lengths and their. On a regular-size keyboard with a number keypad, I can use keyboard shortcuts to create em dashes and en dashes: Em dash (—): Alt+0151. hyphen,-用于复合词 upper-case letter Tip 2: Dashes in LaTeX. LogoutWhen I add --input-encoding=utf-8 --output-encoding=utf-8 (that's the default output encoding, I think) to my docutils command-line, I see boxes in my browser where the em-dashes should be. For example, Chicago Style dictates that you must not have spaces before and after the em dash, while AP Style dictates that you should have spaces before and after, except when used to introduce items in a vertical list. a pm b → a ± b. In the following example, LuaLaTeX and the EB Garamond font are used. An em dash can also mark dialogue, signify an interruption, indicate a sudden break in thought, and introduce a list. I know that the mono spaced fonts are not designed for this but it would be a nice addition. To modify the book function, search for the following lines of code:Typing the En Dash and Em Dash. The underscore character is usually used to write a subscript in Math mode in latex, so it is not possible to print this character directly in the document. Defined in the June 2021 release of LaTeX. The underscore character is usually used to write a subscript in Math mode in latex, so it is not possible to print this character directly in the document. 1 Answer Sorted by: 21 You can use microtype: documentclass {article} usepackage [kerning=true] {microtype} SetExtraKerning {encoding = {OT1,T1,T2A,LY1,OT4,QX,T5,TS1,EU1,EU2}} % all text { extemdash =. g. I see a big. 4pt}} However, I compared that to the em-dash (---) and find that they are not on the same height: @Dr. Creating an em dash. The babel package for Cyrillic defines the command "= which should be used instead of dash: so you can write по"=своєму and it will correctly hyphenate that word. Skip to content. The long dash is the widest of the three horizontal marks that may be used in the middle of a sentence. It is similar in appearance to the hyphen but is longer and sometimes higher from the baseline. Example. Completed proofing. @Karl: Wrt. They are used for, respectively, hyphenation and joining words, indicating a. Mathematically, use of plus-minus symbols is much higher. The en dash is a symbol (–) that is slightly wider than a hyphen (-). You have, at least, three possible options: Use \textemdash instead of ---. You can find the em dash in the symbol drop-down menu in Microsoft Word. However, this does not allow line. Hi, I'm using XeLaTeX to write a thesis using the Arno Pro font. The character repertoire had to be kept small, so several characters such as hyphen, en dash, em dash, and minus sign were lumped together. Write an en dash. For the minus sign use $-100$ (that is, a hyphen in math mode). It is accompanied by practical implementation of code and output, so that the depth of knowledge increases. LaTeX. There are two ways to print the prime symbol in a latex document. For using Hyphen (-), En-dash (–), and Em-dash (—) symbols in documents, LaTeX provides you with some default commands by which you can use these symbols wherever you need them. See the below image for what I am seeing: I don't like this greyed out look, but I do like the overall document's default font. You can purchase a license here: Buy Detexify for Mac. Some languages usually need a dedicated. How to hyphenate properly at an em-dash? 3. ice-cream). 5ex]{2em}{0. Like a colon, an em dash introduces a clause that explains or expands upon something that precedes it. Symbol. or. Depending on the context, the en dash is read as “to” or “through. Catherine Traffis. @barbarabeeton: Thanks, I have now added three OpenType math fonts that are supported by package unicode-math. The en dash (–) is longer than a hyphen but shorter than an em dash. and the em-dash (—), which is the width of the letter "m". To indicate a parenthetic expression use the em dash "---" (as wide as m). Long-hold the hyphen for access to the en dash and em dash with Gboard on Android or the default keyboard on iOS. usepackage [utf8] {inputenc} % usually not needed (loaded by default) usepackage [T1] {fontenc} in your preamble. 数式モードで変数に ダッシュ を付けたいときは、「’」(シングルクォーテーション、シフトキーを押しながら6を押して入力される記号)を単純に入力すればよい。. \documentclass {article} \begin {document} \ [ 1 = \lambda f. documentclass {article} egin {document} Hello world! end {document} will produce exactly the same output with PDFLaTeX or XeLaTeX, because only ASCII characters appear. How to type Hyphen, En-dash, and Em-dash in LaTeX? Our main objective is to teach you LaTeX in a very easy way. . Navigate to Insert in the top menu bar, then Symbol. 1 introduces U+2E3A (TWO-EM DASH) but that might be a bit new to be in commonly distributed fonts, I get no visible character in that slot). UserGuide 3. Insert the hyphens using BBTs "raw inserts", which would look like 081401<pre>hyphen</pre> 1--081401<pre>hyphen</pre>4. Long dash with other fonts in XeLatex. LaTeX. \end {document} Another option is to use the obreakdash command implemented by the amsmath package; this command suppresses any line break after the dash (or hyphen). The food, which was delicious, reminded me of home. Latex command. 1. the . It is wider than an en dash (–) or a hyphen (-). For instance, LaTeX marks up hyphens, en-dashes, and em-dashes as ‘ - ‘, ‘ -- ‘, and ‘ --- ‘ which makes it very easy to type in which one you want. However, for English language that command "= is not defined. To define a hyphen for use as part of a hyphenated name in a macro, I used the command defmymathhyphen { {hbox {-}}}. These can be inserted using -, -- and ---. Even in English language, you don't want that after an en-dash in, let say, 123--456, the last number, 456, goes in the next line. Hyphen、En Dash 与 Em Dash -分割线- 如果你想与我进一步交流,关注公众号“ 学英语那点事 ”关注后就可以找到我啦,我还建立了一个大学生英语学习社群( 英语角 ),群里都是对英语充满热情的小伙伴,欢迎你和我们一起练口语、探讨学习难题~ First copy the base font (I use cmr10) to the current directory and convert it to a property list. This gives the usual en-dash. 6. #1 ight|_{#2}} So you can write at{f'}{x=1}. documentclass{article} % Preamble egin{document} % Body end{document}Sorted by: 6. And if you don’t enclose the characters in curly brackets then the first character will be valid as a. Command (⌘) + M. – becomes en-dash –. To use a character as a superscript, writing like this a^n is printed in the document an. Typing “---” prints just three hyphens, emdash{} doesn’t. You need to use the heta command to print this symbol in latex. \iiint. tex), which allows to do conversions in a purely expandable way. On Windows, Alt + 0 1 5 1 on the Numpad creates an em dash. Double integral → ∬. Alternatively, press CTRL + ALT + minus key on the numeric keypad, three times. However, for English language that command "= is not defined. Like a colon, an em dash introduces a clause that explains or expands upon something that precedes it. So, like so: —⁠. With mathpazo all characters are roughly at the same height, but the hyphen is still a tad thicker. Um editor de LaTeX online fácil de usar. With --, there is a feasible break points, because the ligature ends with the default hyphen character. The en dash will appear in the text field where your cursor is. Then you understand that for double prime you have to use the symbol or command twice at the same time. To typeset an em-dash in Latex, use triple hyphens: ‘-‏-‏-’: A comment---like this---uses an em-dash, not a hyphen. Em Dash Examples And Keyboard Shortcuts For The Long Dash. In order to have an em-dash displayed within a figure, the "Interpreter" property of the text should to be set to "LaTeX" and the equivalent LaTeX command "---" should be typed. vpl and add the following line at the very top. półpauza) and em dash (pol. In Linux Libertine the general tendency is the same, but less noticeable. 1Greek letters. automatic formating - dashes. maurera July 10, 2019, 4:49pm 18. Inserting an en-dash in Latex. In LaTeX, an en dash is nearly always used in ranges. Finally, click Execute immediately in the dropdown. $. Open the file cmlh10. Dot notation for derivative of a vector in LaTeX. The em-dash (—) The em-dash is normally twice as long as the n-dash; its length is equal to the width of the letter m, whence the name. This is as a result of the default font encoding OT1. It works fine when using a unicode em dash, or explicitly using the extemdash. When I add --input-encoding=utf-8 --output-encoding=utf-8 (that's the default output encoding, I think) to my docutils command-line, I see boxes in my browser where the em-dashes should be. You should never insert a hyphen manually to break a word; all modern word processors include an English dictionary and are able to. We can take an inspiration from cursors in text editors. If you have styles that called for explicitly using a separator that wasn't an en dash, it'd be helpful. It is accompanied by practical implementation of code and output, so that the depth of knowledge increases. If you are using a typewriter, a pair of hyphens is the closest you can get to an em dash. Write an em dash. documentclass {article} egin {document} [ abla f = grad : extit {f. When producing en- or em-dashes with fontspec enabled i XeLaTeX, the ligatures are not produced, it simply prints -- and ---. I shouldn't use swung dash (~) at all. In Russian typography the emdash, which is typed as the ligature ---in LaTeX, is 20% shorter than the standard emdash. The en dash derives its name from the fact that it is meant to be the same width as the letter N. Command. You. In formal writing, an em dash is the width of an m and longer than both a hyphen and an en dash. Basically just using | is mostly ok, but I have defined a special purpose command for this, that automatically scales the line vertically: ewcommandat[2]{left. g. Symbol. LogoutKnow the LaTeX command you want to use but can't remember how to write it? Here we present a great tips sheet produced by Dave Richeson; it's pre-loaded in Overleaf so you can see how the commands work instantly. Stefan.