On an IT keyboard to produce ~ i have to press ALT+126.
In Texniccenter it doesn't work! it produce a question mark!
Am I wrong!?
thanks!
General ⇒ Tilde problem
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Tilde problem
i tried, but it doesn't work!
In other sofware ATL+126 works fine!
In Texniccenter, if I go anywhere in the menu, for example in Tools-Option-->Directory. And type ALT+126 in Default working directory , tilde appears!
In other sofware ATL+126 works fine!
In Texniccenter, if I go anywhere in the menu, for example in Tools-Option-->Directory. And type ALT+126 in Default working directory , tilde appears!
-
- Posts: 15
- Joined: Fri Feb 23, 2007 9:29 am
Tilde problem
Using \~{} or \textasciitilde{} in the text display part of \href urls produces a raised tilde, which is acceptable because the tilde is really a diacritic mark, and as such should be used in accenting characters. But this doesn't conform to normal document use of "~" in web documents and unix cmds. The web use of ~ based and the use of ~ the unix cmdl shortcuts is abnormal, but understandable, and you should be able to typeset them.
To fix this for your LaTeX document to look nicer you can try But this produces a tilde symbol that now looks to low (understandable since it is still supposed to be a diacritic).
So my preferred method of typesetting "~" in url's, or, if you do not want to load this extra package during tex'ing, just define a mid-tilde in your preamble
Alternatively, you might use the url package,
which uses a faked mid-tilde in urls using the maths \sim
To fix this for your LaTeX document to look nicer you can try But this produces a tilde symbol that now looks to low (understandable since it is still supposed to be a diacritic).
So my preferred method of typesetting "~" in url's, or, if you do not want to load this extra package during tex'ing, just define a mid-tilde in your preamble
Code: Select all
\newcommand{\midtilde}{\raisebox{-0.25\baselineskip}{\textasciitilde}}
Code: Select all
\usepackage[lowtilde]{url}
Support Free Software---It's Made for Everyone