Latex em dash. Our readers outside the U. Latex em dash

 
 Our readers outside the ULatex em dash org

You don’t need to use any package for. LaTeX knows four kinds of dashes: a hyphen (-), en dash (–), em dash (—), or a minus sign (−). I don't think the idea about creating a package for nonbreaking hyphens/dashes or "no-line-breaking" after them is so uncommon though. 通常英文寫作的 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. Just in case anyone is looking for another way to escape special characters, this can be done with the listings package. documentclass {article} egin {document} [ ho^+ , ho^- , ho^0 ] [ ho=frac {m} {V. 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). However, two en-dashes yield one em-dash. The symbol intercal is quite a nice symbol for transpose, but it is placed a little low. Command. documentclass{article} % Preamble egin{document} % Body end{document}The En-Dash (–) By comparison the shorter en dash—taking up the same space on the page as the letter “n”—has fewer, simpler use cases by comparison. hyphen,-用于复合词 upper-case letter Tip 2: Dashes in LaTeX. Type two hyphens with no space between them like–this. The en dash is approximately the length of the letter N, and the em dash the length of the letter M. UserGuide 3. documentclass {article} egin {document} [ a pm b ] [ x=frac {-bpmsqrt {b^2-4ac}} {2a} ] [ 2ax_1=. The main use of em dashes is to set off extra information in a sentence. It is accompanied by practical implementation of code and output, so that the depth of knowledge increases. 6. TeX - LaTeX - Stack Exchange. Some languages usually need a dedicated. — becomes em-dash —. 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. If the list follows the independent clause, it is best to use a colon instead. They are used for, respectively, hyphenation and joining words, indicating a range, punctuation, and a mathematical symbol. There is also the param escapeMapFn to modify the mapping of escaped characters, so you can add/modify/remove your own escapes if necessary. e. Use the em dash to denote a break in a sentence: ‘He was running, Watson—running desperately’. Like commas and parentheses, em dashes set off extra information, such as examples, explanatory or descriptive phrases, or supplemental facts. h1 = text(2,6,['Test' char(8212) 'example']); Please refer to the following page to see numeric codes for the common dashes:. documentclass{article} % Preamble egin{document} % Body end{document}Latex command. tom-a-horrocks on Apr 4, 2018. Name. turn a sequence of 3 hyphens " --- " into an em-dash "—". So you could presumably get your backslash by typing: \verb=\=. This doesn’t work add LaTeX support to dcc. Or with widehat if. A space is used before and after the en-dash when used in literary copy. Any suggestions on how to. 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. Hyphens are obtained in LaTeX by typing -, en-dashes by typing --and em-dashes by typing ---. Parentheses would not be acceptable there, so I would. tfm > cmlh10. In LaTeX you can get a longer hyphen by using two or three dashes, i. em dash: —. However, you can define this symbol by using C with the degree (°) symbol. , if your bibliography has two entries, authored by Anna Häuser. sentence-per-line, no em-dash spaces: The food---which was delicious---reminded me of home. 1): Even in English writing, many style guides recommend to use an en-dash surrounded by spaces in places where the (American) writer would commonly use an em-dash: [. Many word processors will automatically insert an em dash when you type a pair of hyphens. To modify the book function, search for the following lines of code:Typing the En Dash and Em Dash. 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 modern character code standards, the character is called “hyphen-minus” to reflect its ambiguity, but. documentclass {article} egin {document} % Useing keyboard key [ f' (x) = x^2 ] [ g. So, like so: —⁠. We love good questions. In latex, there is no default predefined command to represent the degree celsius (°C) symbol. ﹘, “Two-thirds” em-dash, between en-dash and em-dash. You need to use the heta command to print this symbol in latex. 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. For Example: Weeding, planting, and watering — that’s all we did this weekend to clean up the garden. An en-dash (option-hyphen) is the proper punctuation for specifying a range, and is a little wider than a regular hyphen. g. Insert an em dash in Scrivener for Mac with a shortcut. 54. lambda → λ. This let us set a sentence like so with subtle perfection. If the list follows the independent clause, it is best to use a colon instead. the . These can be inserted using -, -- and ---. name. Quadruple integral → ⨌. How to type Hyphen, En-dash, and Em-dash in LaTeX? Our main objective is to teach you LaTeX in a very easy way. LaTeX distinguishes three different types of dashes in text: the hyphen -, the en dash - and the em dash —. Using em dashes instead of parentheses puts the focus on the information between the em dashes. . or. It is accompanied by practical implementation of code and output, so that the depth of knowledge increases. How can one obtain ----typeset as one long separator of the size of 4 hyphens joined? PS: A mechanism for possible extensions (with an argument) to longer widths would be a bonus, e. LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. The em dash can be used to introduce dialogue — Like this? — Yes, like this. , ancillary glyphs added to a letter, or basic glyph. Corrected LaTeX em-dashes (from 4 to 3). Example. Thus for example, to specify a range of page numbers, one would type on. \lambda x. The word-processing program may form this automatically when two hyphens are typed together. em dash representation in an edit tab. I am using the natbib package with a bibliography style close to humannat, (I have changed it in only one place), and I would like to get a long dash instead of the full author name in multiple references where the author is the same. However, some style guides, such as the. , $ar {mathbb {R}}$ but unfortunately this creates a bar that is much too small (horizontally) and can barely be seen. documentclass {article} egin {document} [ sin heta,;cos heta,; an heta. Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this siteThe various pre-defined dash patterns are documented in section 15. An en-dash is also used in numerical series as in from ten–twenty pieces. It is accompanied by practical implementation of code and output, so that the depth of knowledge increases. Visually, the difference in these punctuation marks is in their length: hyphen: –. 8. 7. The list of format characters that are escaped include space, (tab), – (en-dash), — (em-dash). tex. The trouble is the em-dash, which I can’t set in the listings environment. These listings and proofs are rather math-heavy, and thus are not wrapped in verbatim or lstlistings. The 2010⁠–⁠2011 season was our best yet. Note to expert LaTeX users: if Sphinx latex user with xelatex has - turned off Smart Quotes for some. This allows line breaks after em-dashes and en-dashes, which has always been the behavior of plain TEX, LATEX, LuaTEX, etc. I have actually not found any code point in Unicode for the shorter em-dash, so I would guess the shorter em-dash—if at all present in a given font—would reside within the Private Use Area (PUA), so additionally, this would become very font-dependent. For a range of numbers use the en dash "--" as in 2--8 (named because it is as wide as n). To show a sudden interruption in quotations and reported speech, use 2 em dashes in a row. With --, there is a feasible break points, because the ligature ends with the default hyphen character. It only takes a minute to sign up. There should be no space between the en dash and the adjacent material. I am using CS/IT/SWE Resume Template from Overleaf (and am also a LaTeX noob). Stefan Kottwitz Site Admin Posts: 10061 Joined: Mon Mar 10, 2008 7:44 pm. There are four types of dashes used in writing: - Hyphen: joins two separate words into a single concept. Catherine Traffis. Find out how to type em dashes, when to use them, and see the difference between an em dash vs. A) In place of a colon: Use an em dash to show a sudden change of thought. I need something that's just right, in. 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). The elements within both environments have to be declared beginning with the item command. ind file, which is read in directly with the printindex command. An em dash or pair of dashes often sets off illustrative or amplifying material introduced by such phrases as for example, namely, and that is, when the break in continuity is greater. The term “em dash” comes from the field of typography—an “em” is a width equivalent to the height of a given font. , a literal em-dash, U+2014, in the source: DeclareUnicodeCharacter{2014}{dash} dash can then be defined in the usual manner; I use: DeclareRobustCommanddash{%. How to type Hyphen, En-dash, and Em-dash in LaTeX? Our main objective is to teach you LaTeX in a very easy way. Pandoc, CSL - em dash to separate author names. Mathematically, use of plus-minus symbols is much higher. Alternatively, press CTRL + ALT + minus key on the numeric keypad, three times. 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. To indicate a parenthetic expression use the em dash "---" (as wide as m). For Example: Weeding, planting, and watering — that’s all we did this weekend to clean up the garden. On Windows, Alt + 0 1 5 1 on the Numpad creates an em dash. Dashes in Latex Subject: Re: dashes Date: Tue, 29 May. Manuel Kühner asked why the position is important for me. It works fine when using a unicode em dash, or explicitly using the extemdash macro. Its primary use is as a diacritic (accent) in combination with a base letter but, for historical reasons, it is also used in standalone. As I would say we're a community who cares about such details and. pm. word–word) will autocorrect to an em dash. I want to write three short dashes ---, but Latex automaticaly change it to one long dash (em-dash). Few keyboards have a dash, but a word processor can usually produce one in one way or another. You could also define varemdash in a similar context: ewcommand {varemdash} [1] [10pt] {% makebox [#1] {leadershbox {---}hfillkern0pt}% } if this is your default usage. The em dash can function like a comma, a colon, or parenthesis. It is accompanied by practical implementation of code and output, so that the depth of knowledge increases. sx, it says. Skip to content. LogoutAppositives can also be set apart by parentheses or em dashes when they come at the end of a sentence. exe type long emdash in any. A hyphen is not a dash—it is a character for specific purposes. For example, ---can be used to create em dashes (—), quotes can be typed ``like this'' instead of “like this. This depends on the font, If I use SimSun (as I had used it in a previous answer) I see no gap if I use the input you show (2 em dashes) I do see a gap if I use the classic TeX input -----Unicode 6. 04/02/03. I’ve just installed TeX Live 2012. heta → 𝛳. This option is selected automatically for textile input. For example, Mr. – 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. It allows, in a manner similar to parentheses, an additional thought to be added within a sentence by sort of breaking away from that sentence—as I’ve done here. Like a colon, an em dash introduces a clause that explains or expands upon something that precedes it. 48–56. That said, I'd like to echo @TorbjørnT. I would like to use semantic line breaks in my document's source code, but I'm not sure what to do with em dashes: ---. 3Relation operators. If you want to use the ligatures --and ---with standard unicode fonts, use: 1 Answer. 2. Diacritical marks may appear above, below, or within a letter, or between two letters. LaTeX. It is accompanied by practical implementation of code and output, so that the depth of knowledge increases. Certainly a sentence with more than two is imparsible. dashleftarrow → ⇠. To highlight this, consider the following example: \documentclass {article} \begin {document} \showoutput | --- \end {document} 56. Running XeLaTeX in the hope it will print any Unicode character is not successful, as you experienced. The dash is a punctuation mark consisting of a long horizontal line. Example. It is wider than an en dash (–) or a hyphen (-). Dashes: If you want to uses dashes as punctuation, be consistent about their size and surrounding spacing. According to the docs, Xaringan should. TeX, LaTeX, and Bibtex are hard to use well. This is as a result of the default font encoding OT1. The latex commands required to print the big delta symbol in a latex document are given in this tutorial and are illustrated. It is accompanied by practical implementation of code and output, so that the depth of knowledge increases. It only takes a minute to sign up. Logout. when all lines are of the same width). documentclass {article} egin {document} [. \iiint. , Do a global search of ‐ (U+2010) and replace all instances with - (U+0045). When it pops up, click the symbols button, which looks like a capital omega on Windows 10 and four small squiggly characters on Windows 11. Completed proofing. According to MS Word, 2210 is a hyphen, 2012 is a dash, 2013 is an en dash, 2014 is em dash. LuaLaTeX is not inserting em dashes unless there is space around the triple dash. Hyphens and dashes are used to separate or join things in the text: phrases, words, prefixes, numbers, etc. 2-em dash 用来表示单词拼写不全,或名字的省略,或粗话的省略,或无法识别的字迹等。. As always, the golden rules: be consistent; do what your style guide tells you to do. documentclass {article} egin {document} [ vec {p} ] end {document} Output :An em-dash is typically used as a stand-in for a comma or parenthesis to separate out phrases—or even just a word—in a sentence for various reasons (e. The Imitation of Christ. Like commas and parentheses, em dashes set off extra information, such as examples, explanatory or descriptive phrases, or supplemental facts. The em dash is the most beautiful punctuation mark, all the more because it is rare --- and it is best kept that way. ] For example, He said he had it under control—I could see that wasn't true. To show a sudden interruption in quotations and reported speech, use 2 em dashes in a row. I chose the filename cmlh10 where lh stands for “long hyphen”. The hyphen is half the size of the en dash. These can be inserted using -, -- and ---. Well—yes. org admin. 56. An em dash can also mark dialogue, signify an interruption, indicate a sudden break in thought, and introduce a list. So, if you are using an 11pt font, then the space provided by quad will also be 11pt (horizontally, of course. 3. You can purchase a license here: Buy Detexify for Mac. This doesn’t work add LaTeX support to dcc. You already mentioned this in your question and it seems counter-intuitive for you. (As in: "A specter is haunting Europe—the specter of Communism. what imakeidx does create is an . Use an em dash like a colon or semicolon to create emphasis. documentclass{article} % Preamble egin{document} % Body end{document}Info Newest Frequent Score Active Unanswered. text. According to grammarbook. The MWE below shows what I’ve tried so far. No installation, real-time collaboration, version control, hundreds of LaTeX templates, and more. Stefan. The character repertoire had to be kept small, so several characters such as hyphen, en dash, em dash, and minus sign were lumped together. I don't know about latex. 10: Dimensions, hyphenation, justification, and breaking. 7. Latex command. Putting spaces before and after an em dash is a matter of preference; just. In Russian typography the emdash, which is typed as the ligature ---in LaTeX, is 20% shorter than the standard emdash. Against all odds, Pete—the unluckiest man alive—won the lottery. Skip to content. 2. 14. Learn how to use an en dash in a sentence with these examples and best practices. The main use of em dashes is to set off extra information in a sentence. (For TeX, creating the en-dash from -- involves ligation. Em-dashes An em-dash is a punctuation mark. , but I am no expert on this. There are three types of dashes you can create with LaTeX: A dash between words, like "near-perfect". Example. You can define it as follows. ”. S. extnonbreakinghyphen ¶ Non-breaking hyphen character, Unicode U+2011. \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). ”. 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. A dash is a horizontal line that shows a pause or break in meaning, or that represents missing words or letters. ewcommand*{iiemdash}{% 2em dash ule[0. Papers often demonstrate problems that are easy to fix once you know how. In the following document, we will refer to special characters for all symbols other than the lowercase letters a–z, uppercase letters A-Z, figures 0–9, and English punctuation marks. And you can use this command in either math mode or text mode. This is what is simply called dash. This will join the symbol on both ends to its neighbors (without adding a space) and prevent line breaking. So you need to. LuaLaTeX is not inserting em dashes unless there is space around the triple dash. On a Mac. ”. 12. Notice especially line 5: "s—-" where the "s" is lopped off and the em-dash is followed by a hyphen. Insert an Em or En dash using the Symbol menu. usepackage [utf8] {inputenc} % usually not needed (loaded by default) usepackage [T1] {fontenc} in your preamble. They have usually the INSERT mode and the REPLACE mode. Alternatively there is also a vert command, which is probably a bit more semantic, but is actually just a synonym. First copy the base font (I use cmr10) to the current directory and convert it to a property list. . 倍角の倍角ダッシュがしばしば使われる。活字等の. This rendering is handled by the MathJax library (version 2. What purpose does an em dash serve in a sentence? If you’re looking for the answer — or just wondering what an em dash is — learn how (and when) to use an em dash correctly here. )Latex command. " For instance the style guide I'm following suggests using en dash to reduce the ambiguity in post-apocalyptic-–science fiction movies. There are two types of dash. \verb* or \begin {verbatim*} – to make whitespace visible. You can define. Open the file cmlh10. You can use opt-hyphen and opt-shift-hyphen to create an em- or en-dash whenever you want. Some diacritical marks, such as the acute ( ´ ) and grave ( ` ), are often called accents. frenchsetup {ItemLabeli= extbullet, ItemLabelii= { ormalfontfseries extendash}} Accepted keys are ItemLabeli up to ItemLabeliv. The latex commands are: Hyphen: - En-dash: extendash; Em-dash: extemdash; With the latter two, you will likely want to. Open jfbu opened this issue Dec 7,. Depending on the context, the em dash can take the. You can also print this character in a LaTeX document using the symbol {92} command from the usepackage [T1] {fontenc} package and, this command works in both text mode and math mode of LaTeX. I would be grateful for any suggestions. - is really horrible and the dashed line cannot even be represented this way (-- is the en-dash). These can be inserted using -, -- and ---. If you are using a typewriter, a pair of hyphens is the closest you can get to an em dash. It is accompanied by practical implementation of code and output, so that the depth of knowledge increases. documentclass{article} % Preamble egin{document} % Body end{document}The em dash helps separate the parts of a sentence. This will mean you need to force a line break on either side of the dash. Here is a MWE: \\documentcl. LaTeX下 连字符(hyphen)、连接号(en dash)、破折号(em dash) 存在不同的表现形式和使用方法。 以下参考英文破折号(em dash)、连接号(en dash)与连字符(hyphen)的区别及各自用法是什么? - 功夫 熊猫 - 博客园. It is accompanied by practical implementation of code and output, so that the depth of knowledge increases. LaTeX. Lengths are units of distance relative to some document elements. You can find the em dash in the symbol drop-down menu in Microsoft Word. For using the command extpipe loading a package like tipa or t4phonet is. An en-dash is generally used in two situations. Learning em dash use strategies and best practices can benefit anyone striving to become a better writer. It can either end or begin a line of text. LaTeX knows four kinds of dashes: a hyphen (-), en dash (–), em dash (—), or a minus sign (−). maurera July 10, 2019, 4:49pm 18. The documentation states that if babelshorthands = true, then "--- is rendered as em dash. Latex command. If you prefer, you can configure your keyboard in Windows to accept Unicode codepoint numbers, instead of "traditional". If the paragraph with the sentence in question stretches over more than one line - try to add some manual hyphenation above, thus, added up, the hyphenations may provide the desired effect. Sorry. How can I add an emdash (---) after every item label in every description environment in my document?Is there a global way to override the layout of each item? This produces the desired effect, but I'm manually inserting the emdash after each item: documentclass{book} egin{document} egin{description} item[A] --- description. Then will be the gradient of the function. For have a line filled to the end of the text block (like. We love good questions. Skip to content. @Karl: Wrt. Letters are rendered in italic font; numbers are upright / roman. – A. The verb version would work, but would change the font. The third parbox contains the — character that is equivalent to typing extemdash. 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. The following instructions assume you are using version 3 for Mac or Windows. The commands are listed in the table below. The styles of biblatex-chicago do not know that option and do not allow you to turn the dash off easily. There is one problem that currently seems insolvable to me. See how it works on Vimeo . 2. e. If I'm not wrong, in French the em-dashes, typeset with --- in LaTeX, are usually treated like the guillemets as far as non-breaking spaces go. You do not need to use any package to write the lambda symbol in LaTeX, just use the default lambda. LuaLaTeX is not inserting em dashes unless there is space around the triple dash. Hyperref applies in bookmarks EN-DASH and EM-DASH TeX ligatures but not double quotes ones, and extra twist with xelatex #112. e. How to type Hyphen, En-dash, and Em-dash in LaTeX? Our main objective is to teach you LaTeX in a very easy way. This page describes some common LaTeX problems, indexed by mnemonic for quick reference, and explains how to fix them. 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. Second Best Option: Use the Symbols Section on Word or WordPress. The shorter en dash (–) is used to mark ranges and with the meaning “to” in phrases like “Dover–Calais crossing. It's not interchangeable with other types of dashes. The intersection defines the common section between the two sets. Alternatively, you can modify the labels of only certain levels with. Notice especially line 5: "s—-" where the "s" is lopped off and the em-dash is followed by a hyphen. With mathpazo all characters are roughly at the same height, but the hyphen is still a tad thicker. We love good questions. Dashes and Hyphens. A “Em Dash” can be used when you are in a. 03/25/03. extleftarrow ¶ ←, Left arrow. com, the Em Dash should be preferable for a more informal writing in English language. ") 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. It's only a small difference but I was curious if there is a proper way to handle this. @SherylHohman A hyphen (-) is a punctuation mark that's used to join words or parts of words. This is because these older engines only support a fixed set of sizes—between 5 and 17 point. en dash (medium, width of "N"), em dash (long, width of "M"). To achieve that, I changed the delimiter to " --- " in the citation style file (. 1964— and therefore might be needed in titles, and. Output : You need to use imath and jmath instead of unit vectors i and j. Load the babel package and use \allowhyphens---. Note that not all keyboards around the world are the same. Viewed 771 times. 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. The latex commands are: Hyphen: -En-dash: \textendash; Em-dash: \textemdash; With the latter two, you will likely want to append {}, because they swallow following space. 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. 4 Spaces around em-dash By default, the half-space is inserted before and after em-dash. And if you don’t enclose the characters in curly brackets then the first character will be valid as a. user448810 user448810. By Parvez / Symbols / September 8, 2023. The food, which was delicious, reminded me of home. \lambda → λ. Alternatively, press CTRL + ALT + minus key on the numeric keypad, three times. 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. Depending on the context, the en dash is read as “to” or “through. org. Another beautiful dash defined as a symbol. They are organized into seven classes based on their role in a mathematical expression. lambda → λ. The em dash is made on most PCs by holding down the ALT key while typing 0151 on the keypad ( — ). How to type Hyphen, En-dash, and Em-dash in LaTeX? Our main objective is to teach you LaTeX in a very easy way. The. Latex command. Typing the En Dash and Em Dash. There are two ways to print the prime symbol in a latex document. You do not need to use any package to write the lambda symbol in LaTeX, just use the default \lambda command and the symbol will be printed in the document. It allows, in a manner similar to parentheses, an additional thought to be added within a sentence by sort of breaking away from that sentence—as I’ve done here. To typeset an em-dash in Latex, use triple hyphens: ‘-‏-‏-’: A comment---like this---uses an em-dash, not a hyphen. There is a difference between -- and \-- as well as --- and \---. TeX. It’s not interchangeable with other types of dashes. It accepts a callback function. 1. I'd love it if docutils would actually interpret "--" and "---" as LaTeX does, but I'm sure that would be a philosophical hurdle. lstinline { [RegularExpression (@"d+")]} Since all characters will be displayed as they are, it is not possible to execute any command inside the block. Let me explain what went wrong. represented by the em-dash (---), but the dashdot line given by -. documentclass{article} % Preamble egin{document} % Body end{document}Sorted by: 6. You can repeat the process to insert two of them together in a single Em Dash is not as long as you want. With current (>2018) distributions inputenc is no longer needed if the file is UTF-8, as that is the assumed default encoding. I’m new to Dash and am trying to see what options there are for rendering LaTeX code. 7. In HTML, you can. Rule #5. I rarely use the en dash, because a hyphen will do.