GeneralAppendix's title format

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
vhrankina
Posts: 1
Joined: Mon Jan 07, 2019 1:19 pm

Appendix's title format

Post by vhrankina »

How can I change appendix's title format? It should follow this format:
Додаток А
Title here
i.e. label should be 'Додаток', appendix's number should be A, Б, В, Г (cyrillic letters) and on the next line the title itself.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Appendix's title format

Post by Johannes_B »

Welcome to the forum.

For the numerals, you would have to adapt something like this for greek.


For the appendix word in ukrainian, just load babel accordingly.

Code: Select all

\documentclass{report}
\usepackage[ukrainian]{babel}
\makeatletter
\newcommand{\cyralpha}[1]{\c@cyralpha{#1}}
\newcommand{\c@cyralpha}[1]{%
  {%
    \ifcase\number\value{#1} %
    \or
    \CYRA
    \or
    \CYRB
    \or
    \CYRV
    \or
    \CYRG
    \fi
  }%
}
\begin{document}
\chapter{Introduction}
Text
\chapter{Conclusion}
\appendix
\renewcommand{\thechapter}{\cyralpha{chapter}}
\chapter{Wombat}
\chapter{Capybara}
\chapter{Mara}
\chapter{Duck}
\end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply