LyXTheorems in Spanish

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
mikesol
Posts: 8
Joined: Sun Mar 22, 2009 8:42 am

Theorems in Spanish

Post by mikesol »

Hello,

I have a great problems yesterday with my Lyx's file, and I had to make again all over again (from source code, of course). The real problem is Theorems, Lemmas, etc appears in English and I need appears in Spanish. Now the definitions of theorems are

Code: Select all

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
\theoremstyle{plain}
\ifx\thechapter\undefined
\newtheorem{thm}{Theorem}
\else
\newtheorem{thm}{Theorem}[chapter]
\fi
  \theoremstyle{definition}
  \newtheorem{defn}[thm]{Definition}
  \theoremstyle{plain}
  \newtheorem{lem}[thm]{Lemma}
  \theoremstyle{remark}
  \newtheorem{notation}[thm]{Notation}


But I need this

Code: Select all

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
\theoremstyle{plain}
\ifx\thechapter\undefined
\newtheorem{thm}{Teorema}
\else
\newtheorem{thm}{Teorema}[chapter]
\fi
  \theoremstyle{definition}
  \newtheorem{defn}[thm]{Definición}
  \theoremstyle{plain}
  \newtheorem{lem}[thm]{Lema}
  \theoremstyle{remark}
  \newtheorem{notation}[thm]{Nota}



With my last Lyx file I could do this without any extra code, just putting some things in spanish, but I've trying a least a couple of hours and I can't.

Does anyone know how can I change that?

Thanks in advance.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Theorems in Spanish

Post by localghost »

Somehow it should be possible to include the babel package with the option for Spanish. Since I'm not a LyX user, this is the only advice I can give.


Best regards and welcome to the board
Thorsten
Post Reply