Commit 4c04815e authored by Kuato's avatar Kuato
Browse files

nouveau templates pour espagnol

parent efda001e
% entete
%%!TEX TS-program = latex
\documentclass[a4paper,11pt]{article}
\usepackage[utf8]{inputenc} % UTF-8
\usepackage[T1]{fontenc}
\usepackage{lmodern} % Prévient un bug d'affichage evince lié à [T1]{fontenc}
\usepackage[frenchb]{babel} % francisation
%\usepackage[spanish]{babel} % castellanización
\usepackage[fleqn]{amsmath} % aligne le mode maths à gauche
\usepackage{amssymb} % the amsfont symbols
\usepackage[table, usenames, svgnames]{xcolor} % Couleurs
\usepackage{multicol} % Multi-colonnes
\usepackage{fancyhdr} % Mise en page, en-tête et pied de page
\usepackage{calc} % Opérations
\usepackage{marvosym} % Martin Vogels Symbole (\EUR)
\usepackage{cancel} % draw diagonal lines
\usepackage{units} % typesetting units and nice fractions
\usepackage[autolanguage]{numprint} % écrituredes virgules
\usepackage{tabularx} % creates a paragraph-like column whose width
% automatically expands
\usepackage{wrapfig} % allows figures or tables to have text wrapped around
\usepackage{pst-eucl, pst-plot} % figures géométriques
\usepackage{wasysym} % Symbole Euro
%\usepackage{textcomp}
\input{##{{TABVAR}}##}
\usepackage[a4paper, dvips, left=1.5cm, right=1.5cm, top=2cm,%
bottom=2cm, marginpar=5mm, marginparsep=5pt]{geometry}
\newcounter{exo}
\setlength{\headheight}{18pt}
\setlength{\fboxsep}{1em}
\setlength\parindent{0em}
\setlength\mathindent{0em}
\setlength{\columnsep}{30pt}
\usepackage[bookmarks=true, bookmarksnumbered=true, ps2pdf, pagebackref=true,%
colorlinks=true,linkcolor=blue,plainpages=true,unicode]{hyperref}
\hypersetup{pdfauthor={Jérôme Ortais},pdfsubject={Ejercicios de
matemáticas},pdftitle={Ejercicios creados por Pyromaths, un software libre
en Python bajo licencia GPL}}
\makeatletter
\newcommand\styleexo[1][]{
\renewcommand{\theenumi}{\arabic{enumi}}
\renewcommand{\labelenumi}{$\blacktriangleright$\textbf{\theenumi)}}
\renewcommand{\theenumii}{\alph{enumii}}
\renewcommand{\labelenumii}{\textbf{\theenumii)}}
{\fontfamily{pag}\fontseries{b}\selectfont \underline{#1 \theexo}
}
\par\@afterheading\vspace{0.5\baselineskip minus 0.2\baselineskip}
}
\newcommand*\exercice{%
\psset{unit=1cm}
%\ifthenelse{\equal{\theexo}{0}} {} {\filbreak}
\refstepcounter{exo}%
\stepcounter{nocalcul}%
\par\addvspace{1.5\baselineskip minus 1\baselineskip}%
\@ifstar%
{\penalty-130\styleexo[Corrección del ejercicio]}%
{\penalty-130\styleexo[Ejercicio]}%
}
\makeatother
\newlength{\ltxt}
\newcounter{fig}
\newcommand{\figureadroite}[2]{
\setlength{\ltxt}{\linewidth}
\setbox\thefig=\hbox{#1}
\addtolength{\ltxt}{-\wd\thefig}
\addtolength{\ltxt}{-10pt}
\begin{minipage}{\ltxt}
#2
\end{minipage}
\hfill
\begin{minipage}{\wd\thefig}
#1
\end{minipage}
\refstepcounter{fig}
}
\count1=\year \count2=\year \ifnum\month<8\advance\count1by-1\else\advance\count2by1\fi
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0pt}% filet en haut de page
\lhead[]{} \rhead[]{} \chead[]{}
\cfoot{\textsl{\footnotesize{Año \number\count1\hspace{0.1mm}/\number\count2}}}
\rfoot{\textsl{\tiny{http://www.pyromaths.org}}}
\begin{document}
##{{BOOKMARK}}##
\newcounter{nocalcul}[exo]
\renewcommand{\thenocalcul}{\Alph{nocalcul}}
\raggedcolumns
\setlength{\columnseprule}{0.5pt}
{
\begin{center}
{\large \textbf{##{{TITRE}}##}}\par
\end{center}
\noindent \textbf{Nombre :} \hfill \textbf{Nº: \hskip 0.5cm \; }\par
\vskip 0.3cm \hrule\vspace{\baselineskip}
\vskip 0.3cm {\noindent \textbf{Fecha :} \hfill \textbf{##{{NIVEAU}}##}}\par
\vskip 0.3cm \hrule\vspace{\baselineskip}
% fin entete
% pied de page
\end{document}
% fin pied de page
% entete
%%!TEX TS-program = latex
\documentclass[a4paper,11pt]{article}
\usepackage[utf8]{inputenc} % UTF-8
\usepackage[T1]{fontenc}
\usepackage{lmodern} % Prévient un bug d'affichage evince lié à [T1]{fontenc}
\usepackage[frenchb]{babel} % francisation
%\usepackage[spanish]{babel} % castellanización
\usepackage[fleqn]{amsmath} % aligne le mode maths à gauche
\usepackage{amssymb} % the amsfont symbols
\usepackage[table, usenames, svgnames]{xcolor} % Couleurs
\usepackage{multicol} % Multi-colonnes
\usepackage{fancyhdr} % Mise en page, en-tête et pied de page
\usepackage{calc} % Opérations
\usepackage{marvosym} % Martin Vogels Symbole (\EUR)
\usepackage{cancel} % draw diagonal lines
\usepackage{units} % typesetting units and nice fractions
\usepackage[autolanguage]{numprint} % écrituredes virgules
\usepackage{tabularx} % creates a paragraph-like column whose width
% automatically expands
\usepackage{wrapfig} % allows figures or tables to have text wrapped around
\usepackage{pst-eucl, pst-plot} % figures géométriques
\usepackage{wasysym} % Symbole Euro
%\usepackage{textcomp}
\input{##{{TABVAR}}##}
\usepackage[a4paper, dvips, left=1.5cm, right=1.5cm, top=2cm,%
bottom=2cm, marginpar=5mm, marginparsep=5pt]{geometry}
\newcounter{exo}
\setlength{\headheight}{18pt}
\setlength{\fboxsep}{1em}
\setlength\parindent{0em}
\setlength\mathindent{0em}
\setlength{\columnsep}{30pt}
\usepackage[bookmarks=true, bookmarksnumbered=true, ps2pdf, pagebackref=true,%
colorlinks=true,linkcolor=blue,plainpages=true,unicode]{hyperref}
\hypersetup{pdfauthor={Jérôme Ortais},pdfsubject={Ejercicios de
matemáticas},pdftitle={Ejercicios creados por Pyromaths, un software libre
en Python bajo licencia GPL}}
\makeatletter
\newcommand\styleexo[1][]{
\renewcommand{\theenumi}{\arabic{enumi}}
\renewcommand{\labelenumi}{$\blacktriangleright$\textbf{\theenumi)}}
\renewcommand{\theenumii}{\alph{enumii}}
\renewcommand{\labelenumii}{\textbf{\theenumii)}}
{\fontfamily{pag}\fontseries{b}\selectfont \underline{#1 \theexo}}
\par\@afterheading\vspace{0.5\baselineskip minus 0.2\baselineskip}}
\newcommand*\exercice{%
\psset{unit=1cm, dash=4pt 4pt, PointName=default,linecolor=Maroon,
dotstyle=x, linestyle=solid, hatchcolor=Peru, gridcolor=Olive,
subgridcolor=Olive, fillcolor=Peru}
%\ifthenelse{\equal{\theexo}{0}}{}{\filbreak}
\refstepcounter{exo}%
\stepcounter{nocalcul}%
\par\addvspace{1.5\baselineskip minus 1\baselineskip}%
\@ifstar%
{\penalty-130\styleexo[Corrección del ejercicio]}%
{\penalty-130\styleexo[Ejercicio]}%
}
\makeatother
\newlength{\ltxt}
\newcounter{fig}
\newcommand{\figureadroite}[2]{
\setlength{\ltxt}{\linewidth}
\setbox\thefig=\hbox{#1}
\addtolength{\ltxt}{-\wd\thefig}
\addtolength{\ltxt}{-10pt}
\begin{minipage}{\ltxt}
#2
\end{minipage}
\hfill
\begin{minipage}{\wd\thefig}
#1
\end{minipage}
\refstepcounter{fig}
}
\count1=\year \count2=\year \ifnum\month<8\advance\count1by-1\else\advance\count2by1\fi
\pagestyle{fancy}
\cfoot{\textsl{\footnotesize{Año \number\count1\hspace{0.1mm}/\number\count2}}}
\rfoot{\textsl{\tiny{http://www.pyromaths.org}}}
\lhead{\textsl{\footnotesize{Página \thepage/ \pageref{LastPage}}}}
\chead{\Large{\textsc{##{{TITRE}}##}}}
\rhead{\textsl{\footnotesize{##{{NIVEAU}}##}}}
\DecimalMathComma
\begin{document}
##{{BOOKMARK}}##
\newcounter{nocalcul}[exo]
\renewcommand{\thenocalcul}{\Alph{nocalcul}}
\raggedcolumns
\setlength{\columnseprule}{0.5pt}
% fin entete
% pied de page
\end{document}
% fin pied de page
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment