From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- macros/latex/contrib/serbianpart/README | 14 +++++ macros/latex/contrib/serbianpart/SerbianPart.pdf | Bin 0 -> 202683 bytes macros/latex/contrib/serbianpart/SerbianPart.tex | 62 +++++++++++++++++++++++ macros/latex/contrib/serbianpart/serbianpart.sty | 8 +++ 4 files changed, 84 insertions(+) create mode 100644 macros/latex/contrib/serbianpart/README create mode 100644 macros/latex/contrib/serbianpart/SerbianPart.pdf create mode 100644 macros/latex/contrib/serbianpart/SerbianPart.tex create mode 100644 macros/latex/contrib/serbianpart/serbianpart.sty (limited to 'macros/latex/contrib/serbianpart') diff --git a/macros/latex/contrib/serbianpart/README b/macros/latex/contrib/serbianpart/README new file mode 100644 index 0000000000..871bd7d498 --- /dev/null +++ b/macros/latex/contrib/serbianpart/README @@ -0,0 +1,14 @@ + +This is the README file + +This package provide a number of the part in letters, in serbian language +in latin scripts, like DEO PRVI, DEO DRUGI.... simillar like FIRST PART, +SECOND PART in english language. + +Licence: under GNU GPL + +Zoran T. Filipovic +Jurija Gagarina 263/6 +11070 Novi Beograd +Srbija +zoran dot filipovic at yahoo dot com diff --git a/macros/latex/contrib/serbianpart/SerbianPart.pdf b/macros/latex/contrib/serbianpart/SerbianPart.pdf new file mode 100644 index 0000000000..0aba5e0dc0 Binary files /dev/null and b/macros/latex/contrib/serbianpart/SerbianPart.pdf differ diff --git a/macros/latex/contrib/serbianpart/SerbianPart.tex b/macros/latex/contrib/serbianpart/SerbianPart.tex new file mode 100644 index 0000000000..201a4f2c11 --- /dev/null +++ b/macros/latex/contrib/serbianpart/SerbianPart.tex @@ -0,0 +1,62 @@ + +\documentclass[a4paper,12pt]{article} +\usepackage[T1]{fontenc} +\usepackage[latin1]{inputenc} +\usepackage{lmodern} +\usepackage{verbatim} +\usepackage{soul} +\usepackage{xspace} + +\title{The \textsf{serbianpart} package} +\author{Zoran T. Filipovi\'{c}\protect\footnote{My email is zoran.filipovic@yahoo.com} \\ + Jurija Gagarina 263/6 \\ + 11070 New Belgrade, Serbia \\} + %\textsf{zoran.filipovic@yahoo.com}} + +\usepackage[serbian,english]{babel} +\usepackage{serbianpart} + +\begin{document} +\frenchspacing +\maketitle + +\begin{abstract} +In this document I try to explain how to produce a number of the part in letters, +in serbian language in latin scripts. +\end{abstract} + +\section{Introduction} + +If you defines serbian language (latin scripts) in babel package, and type +\verb|\part{}| that produce something like that: \textbf{Deo I}. In many book +in serbian language, and for many publisher we must produce something like that: +\textbf{Deo Prvi}, \textbf{Deo Drugi}, \textbf{Deo Tre\'{c}i}, \ldots like +\textbf{First Part}, \textbf{Second Part} \ldots + +In this meaning, I type, in preambula: + +\begin{verbatim} +\renewcommand*{\thepart}{\ifcase\value{part}\or Prvi\or Drugi\or + Tre\'{c}i\or \v{C}evrti\or Peti\or \v{S}esti\or Sedmi\or Osmi\or + Deveti\or Deseti\or Jedanaesti\or Dvanaesti\or Trinaesti\or + \v{C}etrnaesti\or Petnaesti\or \v{S}esnaesti\or Sedamnaesti\or + Osamnaesti\or Devetnaesti\or Dvadeseti +\fi\space} +\end{verbatim} + +which in \LaTeX\ class (article, report and book) \textit{\&} \verb|memoir| class +produce \textbf{Deo Prvi}, \textbf{Deo Drugi}, \textbf{Deo Tre\'{c}i} \ldots to the +twenty part. + +This line you must typing just \textit{after} a \verb|\usepackage[serbian]{babel}| + +\section{The package} + +However, if you prefer a packages, you just put a \verb|\usepackage{serbianpart}| just +after line \verb|\usepackage[serbian]{babel}| seat on you chear and turn you machine +to going. After a few seconds you machine produce samething like that: + +\selectlanguage{serbian} +\part{The serbianpart package} + +\end{document} \ No newline at end of file diff --git a/macros/latex/contrib/serbianpart/serbianpart.sty b/macros/latex/contrib/serbianpart/serbianpart.sty new file mode 100644 index 0000000000..513895412b --- /dev/null +++ b/macros/latex/contrib/serbianpart/serbianpart.sty @@ -0,0 +1,8 @@ + +\ProvidesPackage{serbianpart} +\renewcommand*{\thepart}{\ifcase\value{part}\or Prvi\or Drugi\or + Tre\'{c}i\or \v{C}evrti\or Peti\or \v{S}esti\or Sedmi\or Osmi\or + Deveti\or Deseti\or Jedanaesti\or Dvanaesti\or Trinaesti\or + \v{C}etrnaesti\or Petnaesti\or \v{S}esnaesti\or Sedamnaesti\or + Osamnaesti\or Devetnaesti\or Dvadeseti +\fi\space} \ No newline at end of file -- cgit v1.2.3