Re: Theorems, lemmas, definitions... in Spanish

2009-04-24 Thread Michael Solis Chacon
I'm going to ckeck it.

Thanks




Re: Theorems, lemmas, definitions... in Spanish

2009-04-23 Thread Michael Solis Chacon

Ignacio García  writes:

> > Customizing the layout files (from .../share/lyx/layouts/...) in your
> > personal directory, e.g. ~/.lyx/layouts/...
> >
> > I send you a few examples (no definitives, they are tests!) and you
> > can make experiments with them.
> >
> > I hope that is a little help to start
> 
> To complet the set I add some layouts that they were missing in the
> previous mail, for translating "teorema por secciones"
> 
> ¡Suerte!
> Ignacio García
> 
> Attachment (modules2.tar.bz2): application/x-bzip2, 1631 bytes

Thanks for yours replies but, how can I open the attachments, it's a bin file,
how can I open that?

Thanks a lot.







Theorems, lemmas, definitions... in Spanish

2009-04-22 Thread Michael Solis Chacon
Hello guys,

I'm making my thesis in Lyx, and i need to write theorems, definitions, etc; but
its necesary that appear like Teorema, Lema, Definición, etc.(in Spanish)

I selected the document's language in spanish, the encoding is latin1, and the
Theorems(AMS), Theorems(AMS-Extended) and Theorems(By Chapter).

The problems it's the definitions for the theorems still in English,


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


Could someone help me?

Thanks in advance.


PS: The preamble is this, (copy-paste from the source view)


% Preview source code

%% LyX 1.6.2 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[12pt,oneside,english,spanish]{book}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[letterpaper]{geometry}
\geometry{verbose,tmargin=3cm,bmargin=3cm,lmargin=3.5cm,rmargin=3cm}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\usepackage{color}
\usepackage{verbatim}
\usepackage{textcomp}
\usepackage{amsthm}
\usepackage{relsize}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{amssymb}
\onehalfspacing

\makeatletter

%% LyX specific LaTeX commands.
\declarerobustcommand{\lyxmathsym}[1]{\ifmmode\begingroup\de...@ld{bold}
  \def\rmorbf##1{\ifx\m...@version\b@ld\textbf{##1}\else\textrm{##1}\fi}
  \mathchoice{\hbox{\rmorbf{#1}}}{\hbox{\rmorbf{#1}}}
  {\hbox{\smaller[2]\rmorbf{#1}}}{\hbox{\smaller[3]\rmorbf{#1}}}
  \endgroup\else#1\fi}

%% A simple dot to overcome graphicx limitations
\newcommand{\lyxdot}{.}

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

%% User specified LaTeX commands.

%%%Paquetes
\usepackage[Glenn]{fncychap}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage[spanish]{babel}
\usepackage[latin1]{inputenc}
\usepackage{babelbib}
\usepackage{fancyhdr}


%
%% Encabezados
%
\pagestyle{fancy}
\fancyhead{}
\fancyhead[CE]{\scriptsize \leftmark}
\fancyhead[CO]{\scriptsize \rightmark}
\fancyhead[LE,RO]{\thepage}
\fancyfoot{}
\renewcommand{\headrulewidth}{0.9pt}
%
%% Estilos de teoremas
% \swapnumbers
%\theoremstyle{plain}
%\newtheorem{teorema}{Teorema}%[section]
% \theoremstyle{definition}
% \newtheorem{definicion}[teorema]{Definici\'{o}n}
% \newtheorem{ejemplo}[teorema]{Ejemplo}
% \newtheorem{ejercicio}[teorema]{Ejercicio}
% \newtheorem{nota}[teorema]{$ $Nota}
% %\newtheorem*{sol}{Soluci\'{o}n}
% \newcommand{\bsol}{\begin{proof}[Soluci\'{o}n]}
% \newcommand{\esol}{\end{proof}}
% \theoremstyle{remark}
%% Fin Estilos

\renewcommand{\chaptername}{Capítulo}

\makeatother

\usepackage[spanish]{babel}
\addto\shorthandsspanish{\spanishdeactivate{~<>}}