GeneralInserting a backslash along with greek text.

General information and discussion about TeXnicCenter
Post Reply
Zoi
Posts: 1
Joined: Fri Feb 15, 2013 11:09 am

Inserting a backslash along with greek text.

Post by Zoi »

Hi LaTeX community! Glad I found you!

I seem to be encountering a weird problem with the newest version of TeXnicCenter. You know when you have typed in your text and realised you forgot to add a command? Or you want to add some formatting? So you go to the part of text you want to add the command to, add your backslash and the appropriate command (\newline or whatever). It works great with English! If I try to do so with Greek, though, the program freezes, so I have to shut it down and restart, thus loose all recent changes.

For example, look at the code below. I forgot to add the \en and \gr commands. If I put my cursor before the word "LaTeX" and type \en it works great. If I put my cursor after the word "LaTeX" (thus before Greek), it freezes as soon as I add the backslash. Previous version did not have said problem, so something must have changed..

So, um. Any ideas? :?

Code: Select all

\documentclass{article}
\usepackage[english, greek]{babel}
\usepackage[iso-8859-7]{inputenc}
\usepackage{graphicx}

\newcommand{\en}{\selectlanguage{english}}
\newcommand{\gr}{\selectlanguage{greek}}

\begin{document}

Με τη χρήση του LaTeX μπορεί κανείς να δημιουργήσει εύκολα και γρήγορα παρουσιάσεις.
\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
Post Reply