| 1 |
|
| 2 |
\documentclass[a4paper,12pt]{memoir} |
| 3 |
\usepackage[T1]{fontenc} |
| 4 |
\usepackage[latin1]{inputenc} |
| 5 |
\usepackage{lmodern} |
| 6 |
\usepackage{verbatim} |
| 7 |
\usepackage{soul} |
| 8 |
\usepackage{xspace} |
| 9 |
|
| 10 |
\title{The \textsf{srbook-mem} package} |
| 11 |
\author{Zoran T. Filipovi\'{c} \\ |
| 12 |
Jurija Gagarina 263/6 \\ |
| 13 |
11070 New Belgrade, Serbia} |
| 14 |
|
| 15 |
\usepackage[serbian,english]{babel} |
| 16 |
\usepackage[wilson]{srbook-mem} |
| 17 |
|
| 18 |
%%% NICE WIDHTOUT WILSONDOB OPTIONS IN SRBOOK-MEM (NO LIGHT) |
| 19 |
%%% \usepackage{srbook-mem} |
| 20 |
|
| 21 |
%\chapterstyle{default} |
| 22 |
%\chapterstyle{companion} |
| 23 |
%\chapterstyle{chappell} |
| 24 |
%\chapterstyle{ell} |
| 25 |
%\chapterstyle{ger} |
| 26 |
%\chapterstyle{ntglike} |
| 27 |
%\chapterstyle{thatcher} |
| 28 |
|
| 29 |
%%% NICE WIDTH WILSONDOB OPTIONS IN SRBOOK-MEM (NO LIGHT) |
| 30 |
%%% \usepackage[wilsondob]{srbook-mem} |
| 31 |
|
| 32 |
\chapterstyle{wilsondob} |
| 33 |
%\chapterstyle{komalike} |
| 34 |
%\chapterstyle{crosshead} |
| 35 |
%\chapterstyle{section} |
| 36 |
%\chapterstyle{article} |
| 37 |
%\chapterstyle{tandh} |
| 38 |
%\chapterstyle{section} |
| 39 |
|
| 40 |
\begin{document} |
| 41 |
\frenchspacing |
| 42 |
\maketitle |
| 43 |
|
| 44 |
\begin{abstract} |
| 45 |
In this document I try to explain how to produce a number of the book, part and chapter in |
| 46 |
letters for serbian language in latin scripts. This package working very nice under \verb|memoir| |
| 47 |
documentclass. |
| 48 |
\end{abstract} |
| 49 |
|
| 50 |
\section*{Introduction} |
| 51 |
|
| 52 |
If you defines serbian language (latin scripts) in babel package, and type |
| 53 |
\verb|\book{},\part{},\chapter{}| that produce, in \verb|memoir| class, something like that: \textbf{Book I}, \textbf{Deo I} and \textbf{Glava I}. In many book in serbian language, and for many publisher we must produce something like that: |
| 54 |
\textbf{Knjiga Prva} like \textbf{First Book}, \textbf{Deo Prvi} like \textbf{First Part} |
| 55 |
and \textbf{Glava Prva} like \textbf{Chapter First}. |
| 56 |
|
| 57 |
In this meaning, I produce this package which working with \verb|memoir| documentclass. |
| 58 |
|
| 59 |
\section*{The package} |
| 60 |
|
| 61 |
If you want use this packages, you just put couple line like: |
| 62 |
|
| 63 |
\begin{verbatim} |
| 64 |
\documentclass[a4paper,12pt]{memoir} |
| 65 |
\usepackage[T1]{fontenc} |
| 66 |
\usepackage[latin1]{inputenc} |
| 67 |
\usepackage[serbian]{babel} |
| 68 |
\usepackage{srbook-mem} |
| 69 |
\begin{document} |
| 70 |
your text |
| 71 |
\end{document} |
| 72 |
\end{verbatim} |
| 73 |
|
| 74 |
and that is produce \verb|\book| to the ten numbers (in letters), \verb|\part| to |
| 75 |
the twenty numbers (in letters) and \verb|\chapter| to the fourty numbers (in letters). |
| 76 |
|
| 77 |
Package provide a options which I call \verb|light| which produce Knjiga Prva, Deo Prvi, |
| 78 |
Glava Prva, width \verb|normalfont|. The default font is bold. I find that is options |
| 79 |
\verb|light| is very nice and smooth. However, because is \verb|memoir| class is such |
| 80 |
to many predefines chapterstyle, you may choose just a package, typing |
| 81 |
\verb|\usepackage{srbook-mem}|, width no \verb|light| options. I find that the output is very nice for the following chapterstyle: |
| 82 |
\begin{center} |
| 83 |
\verb|default:companion:chappell:ell:ger:ntglike:thatcher| |
| 84 |
\end{center} |
| 85 |
|
| 86 |
That is produce number in letter in chapter for serbian language in latin script. |
| 87 |
|
| 88 |
The second options is to typing \verb|\usepackage[wilson]{srbook-mem}|, which produce |
| 89 |
Jedan, Dva, \dots{} like One, Two \dots{} I find that the output is very nice for the |
| 90 |
following chapterstyle: |
| 91 |
\begin{center} |
| 92 |
\verb|wilsondob:komalike:crosshead:section:article:tandh:section| |
| 93 |
\end{center} |
| 94 |
|
| 95 |
So, if you want to use this options you must |
| 96 |
typing, in preambula, line \verb|\usepackage[wilson]{srbook-mem}| push you machine |
| 97 |
to going, and the output is: |
| 98 |
|
| 99 |
\selectlanguage{serbian} |
| 100 |
|
| 101 |
\book{Ovo je prva knjiga} |
| 102 |
|
| 103 |
\part{Ovo je prvi deo} |
| 104 |
\selectlanguage{serbian} |
| 105 |
\chapter{Ovo je prva glava} |
| 106 |
|
| 107 |
However, you just see the \verb|Test.pdf| and \verb|TestLight.pdf| and---for |
| 108 |
my \TeX friend---evrything will be clear. |
| 109 |
|
| 110 |
\chapter{Ovo je druga glava} |
| 111 |
|
| 112 |
Or you just see this \verb|SerbianBookMem.tex| files, and \dots |
| 113 |
|
| 114 |
\chapter{Ovo je tre\'{c}a glava} |
| 115 |
|
| 116 |
Happy \TeX ing! In serbian language, of course! |
| 117 |
|
| 118 |
\end{document} |