I have a long text in English with one pages and one more word in Serbian.
Originally, the package used was for typesetting is fourier
.
The package works well, except that it is missing fonts for the Serbian language, in particular for Cyrillic.
I found another package, called erewhon
which is rather similar and has Cyrillic symbols. However, there are some differences with respect to spacing.
If I only load the fourier
package, then the Cyrillic part is bad.
If I only load the erewhon
package, then the math formulas are thin and look bad, and there are spacing issues and too much space in new lines (this is barely noticeable, but sums up over the document).
If I load both packages, then the fonts are ok, but there are some spacing issues and too much space in new lines (again barely noticeable, but sums up over the document).
Is it possible to somehow load a package only for one page and one extra word, or to use the font from erewhon
only for these two pages and use the package fourier
in the rest of the document?
I tried creating two pdfs, one with both packages and one with only fourier
. Then I copied the two pages with Cyrillic text into the second document. This is exactly how I want the document to look, however, changing the pdf file broke all the links in the document.
Here's an example.
\documentclass[a4paper,11pt]{book}
\usepackage[utf8]{inputenc}
\usepackage[serbianc, french, italian, main=english]{babel}
\usepackage[T2A]{fontenc}
\usepackage{lmodern} %used for fixing blurry typewriter font (from the document, not sure if needed)
\usepackage{erewhon}
\usepackage{fourier}
\begin{document}
This page is in English.
\newpage
\begin{otherlanguage}{serbianc}
Ова страница је на Српском. % The spacing here is not important
\end{otherlanguage}
\newpage
This is another page.
The previous pages are in English/\foreignlanguage{serbianc}{Српски}). % The spacing here is not important
\newpage
The document continues in English...
Line one. % The spacing between line here changes when I \usepackage{erewhon}
Line two. % With only \usepackage{fourier} the spacing is good
Line three.
\end{document}
So, the above code compiles, and works well, except that spacing is inherited from erewhon
, which looks bad and creates huge gaps in the document.
Is it possible to fix the spacing issue, or to load the Cyrillic font in a different way which would preserve the fourier
spacing?
serbianc.ldf
frombabel
.\usepackage[scale=0.95]{erewhon}
. But beside this, you can select erewhon locally by calling the font family:{\fontfamily{erewhon-TLF}\selectfont Ова страница је на Српском}