
P.S.: For more info on why it's always good to use the fontenc package for a more modern approach than the 1970's original encoding, see (1), (2), and (3). But for math I prefer to keep Knuth's traditional Computer Modern CM font, because the newtxmath font, like other Times math fonts, renders math italic v in way that is confusingly like a Greek nu.) I like newtxtext because it is slightly darker than CM. It is possible to produce many different mathematical symbols, generate sub- or superscripts, produce fractions. (The above command uses the newtx font only for regular text, while leaving the math fonts unchanged. Then tilde is rendered at mid height automatically and doesn't need to be lowered. Furthermore, if you use the Adobe Times-like font This problem goes away if you use T1-encoded fonts by adding
#HOW TO MAKE TILDE MATH LATEX MAC#
The Character Viewer app can be turned on in Mac Preferences, Keyboard, and select "Show keyboard and emoji viewers in menu bar".) Then right-click on the character to select "Copy Character Info". (I determined these unicode values by copying the rendered tilde character from the TeXShop Preview window and pasting it into the Character Viewer app in the menu bar on a Mac.
#HOW TO MAKE TILDE MATH LATEX PDF#
So cut-and-paste of a URL with a tilde from an Adobe-displayed pdf file into a web browser works fine. However, Adobe Acrobat somehow implemented a workaround and when displaying the pdf converts this into a regular "Tilde" TILDE Unicode: U+007E, UTF-8: 7E However, if you really want to type in unicode without using the LaTeX macros on an English keyboard, there are ways to type the characters.

same with the grave accents \a to render.

just write \'a and that makes the in the output. This means that cut-and-paste from Mac's Preview into a browser fails. But rather than write 'a and use a script. (previously known as a "non-spacing tilde", indicating its usage for accents over another character) and that is what Mac's Preview renders. Investigating further, I learned that the character that latex puts into the pdf file is not a regular tilde character but a "Combining Tilde" COMBINING TILDE Unicode: U+0303, UTF-8: CC 83 Tldr: To avoid some of the difficulties of typesetting a proper tilde ~ character, I recommend adding \usepackage command will display a URL with tildes correctly, but forces it to use a fixed-space terminal font, and there are times when you want to use a tilde somewhere besides in a URL.) After wasting a lot of time on a related problem with LaTeXing a tilde, I thought I should record my results here in case it is a help to anyone else.
