General ⇒ remove '~' as active character
remove '~' as active character
Is it easy to make tilde to a normal character (space)?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- countbela666
- Posts: 64
- Joined: Thu Apr 26, 2007 2:44 pm
remove '~' as active character
for the following considerations I assume that you are using the babel package with option estonian loaded to achieve Estonian language functionality.
If you only want to use the tilde in its original meaning, babel provides the shortcut ~~ for that purpose. Otherwise you could try the following:
Code: Select all
\documentclass{article}
\usepackage[estonian]{babel}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\makeatletter
\def\tildeon{% switch on the "normal" tilde
\let\orgtilde\@tilde
\def\@tilde{~~}
}
\def\tildeoff{% switch back to estonian style
\def\@tilde{\orgtilde}
}
\makeatother
\begin{document}
foo~bar~olf\par
\tildeon
foo~bar~olf\par
\tildeoff
foo~bar~olf
\end{document}
Marcel
a thousand worlds for you to see here, take my hand and follow me...
Re: remove '~' as active character
The problem was that I haven't control over the way the bibliograpy is formatted by bibtex.