0

Please help, I using TeXworks.

  • 1
    https://tex.stackexchange.com/questions/9363/how-does-one-insert-a-backslash-or-a-tilde-into-latex?noredirect=1&lq=1 – Au101 Sep 06 '18 at 12:31
  • @VladyslavSemenyuk Can you give some context where you want to use this symbol? For example if it is part of an url, I suggest the url or hyperref package. – aloneprism Sep 06 '18 at 12:31
  • Welcome to TeX.SE! The code is $\sim$. Or Alt+126 in ASCII character. – Sebastiano Sep 06 '18 at 12:32

1 Answers1

1

If you are going to use it for e.g. values with units then it might be useful to use the siunitx package. You could then write:

\documentclass{article}
\usepackage{siunitx}
\begin{document}

\SI{\sim 10}{\meter}

\end{document}

Note: removed '\approx' from earlier version of this answer since it doesn't give the desired symbol.

  • 1
    Awesome that you're making answers! Just a few pointers: What do you mean by using the \approx command? It gives a symbol like this: , not this :~. Furthermore, try to be precise: that is the OP didn't mention units at all. Also: since it is already a suggested answer in the comments, you should at least acknowledge that too. - Again: it's great that you're trying to help, and that's only what I'm trying to do to! – Andreas Storvik Strauman Sep 06 '18 at 12:29
  • 1
    No,\approx produces two superimposed tilde characters and not just one – AndréC Sep 06 '18 at 12:30
  • You're right about the '\approx' command. Not sure what you mean with the comments though. I didn't see anything like that, maybe it was added while I was typing my answer. Anyway, thank you for the pointers. – user169883 Sep 06 '18 at 12:32
  • @user169883 for your interlocutor to receive a notification that you have replied, it is necessary that his nickname is preceded by the at sign (as I just did on yours) , see https://meta.stackexchange.com/questions/43019/how-do-comment-replies-work – AndréC Sep 06 '18 at 12:36