Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TeX: Bold selection instead kinovar for black/white printing #56

Open
EliseyP opened this issue Oct 19, 2020 · 2 comments
Open

TeX: Bold selection instead kinovar for black/white printing #56

EliseyP opened this issue Oct 19, 2020 · 2 comments
Assignees

Comments

@EliseyP
Copy link

EliseyP commented Oct 19, 2020

For BW printing we can select f.e. fist letter in word with bold.
Although PonomarUnicode font haven't bold typeface, there is FakeBold options (OpenOffice use it, i think).
We can create own fake-bold font and redefine some TeX macroses.
For example, global redefining \cu@kinovar (in my style-file i have own option "black", one can add option "fakebold" etc.):

\documentclass{article}
\usepackage{polyglossia}
\usepackage{fontspec}
\usepackage{xcolor}
\setmainlanguage{churchslavonic} % объявляем основным языком документа церковно-славянский
\usepackage{churchslavonic}
\newfontfamily\churchslavonicfont[Script=Cyrillic,Ligatures=TeX,HyphenChar=_]{PonomarUnicode.otf}
\newfontfamily\PonomarBold[Script=Cyrillic,Ligatures=TeX,HyphenChar="005F,FakeBold=2]{PonomarUnicode.otf}
\makeatletter
\renewcommand{\cu@kinovar}[1]{%
  {\PonomarBold% Fake Bold
  #1}}%
\makeatother
\begin{document}
Ра́дꙋйсѧ

\cuKinovar Ра́дꙋйсѧ

\end{document}    

Screenshot_20201019_175123

@typiconman
Copy link
Owner

This needs to be added to the documentation.

@typiconman typiconman self-assigned this Nov 1, 2020
@typiconman
Copy link
Owner

@pgmmpk Please comment on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants