HOME
> Office programs
> Latex: Insert Tilde - How To Set The Character
LaTeX: Insert tilde - how to set the character
Both for mathematical equations and for various commands in LaTeX, you need to know how to set a tilde. You will need the diacritical mark, which is represented as a serpentine line, in various places if you want to work successfully with LaTeX.
How to insert a tilde
As with most work with LaTeX, you need an appropriate command to insert a tilde.- You will have noticed that you can simply type the tilde as usual, but this does not preserve the tilde for you in a continuous text or mathematical environment.
- This is because LaTeX has reserved the character for a wrap-protected space.
- For a tilde to be used in a mathematical environment, you must use the $/tilde()$ command.
- If you want the tilde to appear above a letter to clarify the pronunciation, you must use $/tilde(a)$. In doing so, replace the letter a with the desired letter.
- If you want to place a tilde over multiple letters, select the command $/widetilde(abc)$.
- If you want the tilde to be in the body text, you can apply either /textasciitilde or/~{}.