summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ekaia
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-12-30 17:13:24 +0000
committerKarl Berry <karl@freefriends.org>2014-12-30 17:13:24 +0000
commitfc2e88f51b7f2984c54bab370576d8ad5cfab2a1 (patch)
tree4c23e3a4745f13799d0b8b2e15860ba4e0bd52ed /Master/texmf-dist/tex/latex/ekaia
parent4c6cfd8eadbb022bcd6060b825cdde83fa5a7c91 (diff)
ekaia (27dec14)
git-svn-id: svn://tug.org/texlive/trunk@35927 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ekaia')
-rw-r--r--Master/texmf-dist/tex/latex/ekaia/ekaia.sty175
1 files changed, 175 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/ekaia/ekaia.sty b/Master/texmf-dist/tex/latex/ekaia/ekaia.sty
new file mode 100644
index 00000000000..77be089a983
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/ekaia/ekaia.sty
@@ -0,0 +1,175 @@
+%%
+%% This is file `ekaia.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% ekaia.dtx (with options: `package')
+%%
+%% Copyright (C) 2014 by Edorta Ibarra and the Ekaia Journal (UPV/EHU)
+%% -------------------------------------------------------------------
+%%
+%% This file may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either
+%% version 1.2 of this license or (at your option) any later
+%% version. The latest version of this license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.2 or later is part of all the distributions of
+%% LaTeX version 1999/12/01 or later.
+%%
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Edorta Ibarra.
+%%
+%% This work consists of the files ekaia.dtx, ekaia.ins
+%% and the derived files ekaia.sty, ekaia.pdf and
+%% ekaia_[EUS].pdf.
+%%
+%%
+%% Description
+%%
+%% This package configures the document layout and provides a set of commands and
+%% environmets to generate an article following the style of the University of the
+%% Basque Country Science and Technology Journal ``Ekaia''.
+%%
+%%
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+\ProvidesPackage{ekaia}
+ [2014/07/20 v1.00 ekaia Package]
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+%%
+
+\RequirePackage[english,basque]{babel}
+\selectlanguage{basque}
+
+\frenchspacing
+
+\linespread{1.3}
+
+\RequirePackage[top=2.6cm,bottom=2.8cm,left=3cm,right=3cm]{geometry}
+
+\RequirePackage{sectsty}
+\sectionfont{\fontsize{12}{15}\selectfont}
+\subsectionfont{\fontsize{12}{15}\selectfont}
+\subsubsectionfont{\fontsize{12}{15}\selectfont}
+
+\RequirePackage{fancyhdr}
+\pagestyle{fancy}
+\renewcommand{\headrulewidth}{0pt}
+\fancyhead[L]{ }
+\fancyhead[C]{ }
+\fancyhead[R]{ }
+\fancyfoot[L]{ }
+\fancyfoot[C]{ }
+\fancyfoot[R]{\thepage}
+
+\makeatletter
+\let\ps@plain\ps@fancy
+\makeatother
+
+\makeatletter
+\def\ps@headings{%
+ \let\@oddfoot\@empty
+ \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
+ \let\@mkboth\markboth
+ \def\sectionmark##1{%
+ \markright {\MakeUppercase{%
+ \ifnum \c@secnumdepth >\m@ne
+ \thesection\quad
+ \fi
+ ##1}}}}
+\makeatother
+
+\RequirePackage{indentfirst}
+
+\makeatletter
+\def\fnum@figure{\textbf{\fontsize{10}{15}\selectfont\thefigure .~irudia}}
+\makeatother
+
+\makeatletter
+\def\fnum@table{\textbf{\fontsize{10}{15}\selectfont \thetable .~taula}}
+\makeatother
+
+\makeatletter
+\long\def\@makecaption#1#2{%
+\vskip\abovecaptionskip
+\sbox\@tempboxa{#1\textbf{.} \fontsize{10}{15}\selectfont #2}%
+\ifdim\wd\@tempboxa >\hsize
+#1\textbf{.} \fontsize{10}{15}\selectfont #2\par
+\else
+\global \@minipagefalse
+\hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
+\fi
+\vskip\belowcaptionskip}
+\makeatother
+
+\renewcommand\thesection {\indent \arabic{section}.}
+\renewcommand\thesubsection {\thesection \arabic{subsection}.}
+\renewcommand\thesubsubsection {\thesubsection \arabic{subsubsection}.}
+\renewcommand\theparagraph {\thesubsubsection \arabic{paragraph}.}
+\renewcommand\thesubparagraph {\theparagraph \arabic{subparagraph}.}
+
+\newcommand{\izenburua}[1]{
+\begin{flushleft}
+\fontsize{16}{15}\textbf{#1}\linebreak\fontsize{11}{15}
+\end{flushleft}
+}
+
+\newcommand{\datak}[2]{
+\begin{flushleft}
+Jasoa:~{#1}
+\linebreak
+Onartua:~{#2}
+\linebreak
+\end{flushleft}
+}
+
+\newenvironment{autoreak}
+{
+\flushright
+}
+
+\newenvironment{laburpena}
+{
+\selectlanguage{basque}
+\setlength{\parindent}{0pt}
+\textbf{Laburpena:}~\itshape
+}{\setlength{\parindent}{0.8cm}\\ }
+
+\renewenvironment{abstract}
+{
+\selectlanguage{english}
+\setlength{\parindent}{0pt}
+\textbf{Abstract:}~\bfseries
+}{\setlength{\parindent}{0.8cm}\selectlanguage{basque}\\ }
+
+\newenvironment{hitz-gakoak}{
+\setlength{\parindent}{0pt}
+\textbf{Hitz-gakoak:}~
+}{\setlength{\parindent}{0.8cm}\\ }
+
+\newenvironment{keywords}{
+\setlength{\parindent}{0pt}
+\textbf{Keywords:}~
+}{\setlength{\parindent}{0.8cm}\\ }
+
+\endinput
+%%
+%% End of file `ekaia.sty'.