1

I was wondering if anyone can show me how to write ~ in Latex as I am new to Latex and trying to write my statistics notes in a neat format. I've surfed around the web, but could not find it.

  • For figuring out how to write a symbol, http://detexify.kirelabs.org/classify.html is extremely useful too. – chsk May 09 '21 at 19:54

1 Answers1

4

Reaction on the comment of user chsk ("Just out of curiosity, what do you mean by "\textasciitilde still seems to give a strange output"? –").

enter image description here

\documentclass{article}

\begin{document} \texttt{\textbackslash textasciitilde}: Text \textasciitilde{} Text \end{document}

  • 1
    Kuehner Thank you :D – PandaNinja May 08 '21 at 01:49
  • Just out of curiosity, what do you mean by "\textasciitilde still seems to give a strange output"? – chsk May 09 '21 at 19:56
  • @chsk: See update :). – Dr. Manuel Kuehner May 10 '21 at 18:01
  • Thanks --- how's that strange, though? This is how a tilde traditionally was rendered on both typewriters and (later) computers, and very likely this is what not just DEK but anyone who used TeX expected to see when TeX was made. – chsk May 10 '21 at 18:43
  • @chsk Then replace "strange" with "too high IMHO" :). In my experience, which is limited, people nowadays expect something closer to \sim. Feel free to edit my question if you think that it needs modification. This way just a thoughtless comment from me. – Dr. Manuel Kuehner May 10 '21 at 19:28
  • 1
    Fair enough. The times, they are a-changin'! – chsk May 10 '21 at 20:00