How to number subfigures in Serbian Cyrillic?Subfigure indices in RussianSerbian Cyrillic using LuaTeX and...
Is there anything in the universe that cannot be compressed?
How could reincarnation magic be limited to prevent overuse?
How do I get my neighbour to stop disturbing with loud music?
When you have to wait for a short time
How did the Altair 8800 front panel load the program counter?
A vector is defined to have a magnitude and *a* direction, but the zero vector has no *single* direction. So, how is the zero vector a vector?
How to query field names from custom object by data type?
How does the search space affect the speed of an ILP solver?
How would a disabled person earn their living in a medieval-type town?
In Toy Story, are toys the only inanimate objects that become alive? And if so, why?
Received email from ISP saying one of my devices has malware
Is this statement about a motion being simple harmonic in nature strong?
Deck of Many Things. What happens if you don't declare any number of cards and just start drawing?
Does Q ever actually lie?
Does the telecom provider need physical access to the SIM card to clone it?
Is it good practice to speed up and slow down where not written in a song?
How to number subfigures in Serbian Cyrillic?
Is the net torque changed when a partner on a seesaw stands or hangs from her end instead of sitting?
How to run a command 1 out of N times in Bash
Using font to highlight a god's speech in dialogue
What is the practical impact of using System.Random which is not cryptographically random?
Could a complex system of reaction wheels be used to propel a spacecraft?
Can two aircraft be allowed to stay on the same runway at the same time?
Necessity of tenure for lifetime academic research
How to number subfigures in Serbian Cyrillic?
Subfigure indices in RussianSerbian Cyrillic using LuaTeX and XeTeXMikTex 2.9 Serbian Cyrillic hyphenation problemscyrillic and breakhref, how do I define?How to use Serbian cyrillic script with Polyglossia and mintedproblem with serbian italicsCyrillic uppercase in addcontentslineHow to use minitoc heading in cyrillicOverleaf - how to render latin letters as serbian cyrillicCyrillic inclusions
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
How can I number subfigures using Serbian Cyrillic letters: (а), (б), (в), (г), (д) and so on? I'd like the solution to be compatible with Polyglossia
.
Here's the MWE for the question.
documentclass[a4paper,oneside,12pt,serbianc]{article}
% Serbian language and Cyrillic script
usepackage{fontspec}
defaultfontfeatures{Mapping=tex-text}
usepackage{polyglossia}
setmainlanguage[Script=Cyrillic]{serbian}
setmainfont{Times New Roman}
newfontfamilycyrillicfont{Times New Roman}[Script=Cyrillic]
letcyrillicfontttttfamily
usepackage{graphicx}
usepackage[subrefformat=parens,labelformat=parens]{subfig}
begin{document}
begin{figure}
centering
subfloat[Нешто]{includegraphics[width=0.4textwidth]{example-image-a}label{subfig:abcd}}quad
subfloat[Нешто друго]{includegraphics[width=0.4textwidth]{example-image-b}label{subfig:xyzw}}
caption{Опис слике}label{fig:figure}
end{figure}
Слика ref{fig:figure} садржи subref*{subfig:abcd} и subref*{subfig:xyzw}.
end{document}
subfloats polyglossia cyrillic
add a comment |
How can I number subfigures using Serbian Cyrillic letters: (а), (б), (в), (г), (д) and so on? I'd like the solution to be compatible with Polyglossia
.
Here's the MWE for the question.
documentclass[a4paper,oneside,12pt,serbianc]{article}
% Serbian language and Cyrillic script
usepackage{fontspec}
defaultfontfeatures{Mapping=tex-text}
usepackage{polyglossia}
setmainlanguage[Script=Cyrillic]{serbian}
setmainfont{Times New Roman}
newfontfamilycyrillicfont{Times New Roman}[Script=Cyrillic]
letcyrillicfontttttfamily
usepackage{graphicx}
usepackage[subrefformat=parens,labelformat=parens]{subfig}
begin{document}
begin{figure}
centering
subfloat[Нешто]{includegraphics[width=0.4textwidth]{example-image-a}label{subfig:abcd}}quad
subfloat[Нешто друго]{includegraphics[width=0.4textwidth]{example-image-b}label{subfig:xyzw}}
caption{Опис слике}label{fig:figure}
end{figure}
Слика ref{fig:figure} садржи subref*{subfig:abcd} и subref*{subfig:xyzw}.
end{document}
subfloats polyglossia cyrillic
add a comment |
How can I number subfigures using Serbian Cyrillic letters: (а), (б), (в), (г), (д) and so on? I'd like the solution to be compatible with Polyglossia
.
Here's the MWE for the question.
documentclass[a4paper,oneside,12pt,serbianc]{article}
% Serbian language and Cyrillic script
usepackage{fontspec}
defaultfontfeatures{Mapping=tex-text}
usepackage{polyglossia}
setmainlanguage[Script=Cyrillic]{serbian}
setmainfont{Times New Roman}
newfontfamilycyrillicfont{Times New Roman}[Script=Cyrillic]
letcyrillicfontttttfamily
usepackage{graphicx}
usepackage[subrefformat=parens,labelformat=parens]{subfig}
begin{document}
begin{figure}
centering
subfloat[Нешто]{includegraphics[width=0.4textwidth]{example-image-a}label{subfig:abcd}}quad
subfloat[Нешто друго]{includegraphics[width=0.4textwidth]{example-image-b}label{subfig:xyzw}}
caption{Опис слике}label{fig:figure}
end{figure}
Слика ref{fig:figure} садржи subref*{subfig:abcd} и subref*{subfig:xyzw}.
end{document}
subfloats polyglossia cyrillic
How can I number subfigures using Serbian Cyrillic letters: (а), (б), (в), (г), (д) and so on? I'd like the solution to be compatible with Polyglossia
.
Here's the MWE for the question.
documentclass[a4paper,oneside,12pt,serbianc]{article}
% Serbian language and Cyrillic script
usepackage{fontspec}
defaultfontfeatures{Mapping=tex-text}
usepackage{polyglossia}
setmainlanguage[Script=Cyrillic]{serbian}
setmainfont{Times New Roman}
newfontfamilycyrillicfont{Times New Roman}[Script=Cyrillic]
letcyrillicfontttttfamily
usepackage{graphicx}
usepackage[subrefformat=parens,labelformat=parens]{subfig}
begin{document}
begin{figure}
centering
subfloat[Нешто]{includegraphics[width=0.4textwidth]{example-image-a}label{subfig:abcd}}quad
subfloat[Нешто друго]{includegraphics[width=0.4textwidth]{example-image-b}label{subfig:xyzw}}
caption{Опис слике}label{fig:figure}
end{figure}
Слика ref{fig:figure} садржи subref*{subfig:abcd} и subref*{subfig:xyzw}.
end{document}
subfloats polyglossia cyrillic
subfloats polyglossia cyrillic
edited 1 hour ago
Milos
asked 12 hours ago
MilosMilos
2162 silver badges7 bronze badges
2162 silver badges7 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
In [russian]{babel}
there is a mapping for cyrillic alphabetical numbering. Since the question asked for polyglossia
I copied the definition of that mapping. Then you can redefine the subfigure
counter to use the mapping.
MWE:
documentclass[a4paper,oneside,12pt,serbianc]{article}
% Serbian language and Cyrillic script
usepackage{fontspec}
defaultfontfeatures{Mapping=tex-text}
usepackage{polyglossia}
setmainlanguage[Script=Cyrillic]{serbian}
setmainfont{DejaVu Serif}
newfontfamilycyrillicfont{DejaVu Serif}[Script=Cyrillic]
letcyrillicfontttttfamily
% mapping copied from Russian babel
defcyralph#1{ifcase #1or аor бor вor гor дor еor жor зor иor кor лor мor нor оor пor рor сor тor уor фor хor цor чor шor щor эor юor яelse @ctrerr fi}
usepackage{graphicx}
usepackage[subrefformat=parens,labelformat=parens]{subfig}
% use the mapping for subfigure numbers
defthesubfigure{cyralph{value{subfigure}}}
begin{document}
begin{figure}
centering
subfloat[Нешто]{includegraphics[width=0.4textwidth]{example-image-a}label{subfig:abcd}}quad
subfloat[Нешто друго]{includegraphics[width=0.4textwidth]{example-image-b}label{subfig:xyzw}}\
subfloat[Нешто]{includegraphics[width=0.4textwidth]{example-image-a}label{subfig:three}}quad
subfloat[Нешто друго]{includegraphics[width=0.4textwidth]{example-image-b}label{subfig:four}}\
caption{Опис слике}label{fig:figure}
end{figure}
Слика ref{fig:figure} садржи subref*{subfig:abcd} и subref*{subfig:xyzw}.
end{document}
Note that I changed the font because I don't have Times New Roman here.
Result:
Thanks. It works like a charm. :)
– Milos
1 hour ago
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f506469%2fhow-to-number-subfigures-in-serbian-cyrillic%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
In [russian]{babel}
there is a mapping for cyrillic alphabetical numbering. Since the question asked for polyglossia
I copied the definition of that mapping. Then you can redefine the subfigure
counter to use the mapping.
MWE:
documentclass[a4paper,oneside,12pt,serbianc]{article}
% Serbian language and Cyrillic script
usepackage{fontspec}
defaultfontfeatures{Mapping=tex-text}
usepackage{polyglossia}
setmainlanguage[Script=Cyrillic]{serbian}
setmainfont{DejaVu Serif}
newfontfamilycyrillicfont{DejaVu Serif}[Script=Cyrillic]
letcyrillicfontttttfamily
% mapping copied from Russian babel
defcyralph#1{ifcase #1or аor бor вor гor дor еor жor зor иor кor лor мor нor оor пor рor сor тor уor фor хor цor чor шor щor эor юor яelse @ctrerr fi}
usepackage{graphicx}
usepackage[subrefformat=parens,labelformat=parens]{subfig}
% use the mapping for subfigure numbers
defthesubfigure{cyralph{value{subfigure}}}
begin{document}
begin{figure}
centering
subfloat[Нешто]{includegraphics[width=0.4textwidth]{example-image-a}label{subfig:abcd}}quad
subfloat[Нешто друго]{includegraphics[width=0.4textwidth]{example-image-b}label{subfig:xyzw}}\
subfloat[Нешто]{includegraphics[width=0.4textwidth]{example-image-a}label{subfig:three}}quad
subfloat[Нешто друго]{includegraphics[width=0.4textwidth]{example-image-b}label{subfig:four}}\
caption{Опис слике}label{fig:figure}
end{figure}
Слика ref{fig:figure} садржи subref*{subfig:abcd} и subref*{subfig:xyzw}.
end{document}
Note that I changed the font because I don't have Times New Roman here.
Result:
Thanks. It works like a charm. :)
– Milos
1 hour ago
add a comment |
In [russian]{babel}
there is a mapping for cyrillic alphabetical numbering. Since the question asked for polyglossia
I copied the definition of that mapping. Then you can redefine the subfigure
counter to use the mapping.
MWE:
documentclass[a4paper,oneside,12pt,serbianc]{article}
% Serbian language and Cyrillic script
usepackage{fontspec}
defaultfontfeatures{Mapping=tex-text}
usepackage{polyglossia}
setmainlanguage[Script=Cyrillic]{serbian}
setmainfont{DejaVu Serif}
newfontfamilycyrillicfont{DejaVu Serif}[Script=Cyrillic]
letcyrillicfontttttfamily
% mapping copied from Russian babel
defcyralph#1{ifcase #1or аor бor вor гor дor еor жor зor иor кor лor мor нor оor пor рor сor тor уor фor хor цor чor шor щor эor юor яelse @ctrerr fi}
usepackage{graphicx}
usepackage[subrefformat=parens,labelformat=parens]{subfig}
% use the mapping for subfigure numbers
defthesubfigure{cyralph{value{subfigure}}}
begin{document}
begin{figure}
centering
subfloat[Нешто]{includegraphics[width=0.4textwidth]{example-image-a}label{subfig:abcd}}quad
subfloat[Нешто друго]{includegraphics[width=0.4textwidth]{example-image-b}label{subfig:xyzw}}\
subfloat[Нешто]{includegraphics[width=0.4textwidth]{example-image-a}label{subfig:three}}quad
subfloat[Нешто друго]{includegraphics[width=0.4textwidth]{example-image-b}label{subfig:four}}\
caption{Опис слике}label{fig:figure}
end{figure}
Слика ref{fig:figure} садржи subref*{subfig:abcd} и subref*{subfig:xyzw}.
end{document}
Note that I changed the font because I don't have Times New Roman here.
Result:
Thanks. It works like a charm. :)
– Milos
1 hour ago
add a comment |
In [russian]{babel}
there is a mapping for cyrillic alphabetical numbering. Since the question asked for polyglossia
I copied the definition of that mapping. Then you can redefine the subfigure
counter to use the mapping.
MWE:
documentclass[a4paper,oneside,12pt,serbianc]{article}
% Serbian language and Cyrillic script
usepackage{fontspec}
defaultfontfeatures{Mapping=tex-text}
usepackage{polyglossia}
setmainlanguage[Script=Cyrillic]{serbian}
setmainfont{DejaVu Serif}
newfontfamilycyrillicfont{DejaVu Serif}[Script=Cyrillic]
letcyrillicfontttttfamily
% mapping copied from Russian babel
defcyralph#1{ifcase #1or аor бor вor гor дor еor жor зor иor кor лor мor нor оor пor рor сor тor уor фor хor цor чor шor щor эor юor яelse @ctrerr fi}
usepackage{graphicx}
usepackage[subrefformat=parens,labelformat=parens]{subfig}
% use the mapping for subfigure numbers
defthesubfigure{cyralph{value{subfigure}}}
begin{document}
begin{figure}
centering
subfloat[Нешто]{includegraphics[width=0.4textwidth]{example-image-a}label{subfig:abcd}}quad
subfloat[Нешто друго]{includegraphics[width=0.4textwidth]{example-image-b}label{subfig:xyzw}}\
subfloat[Нешто]{includegraphics[width=0.4textwidth]{example-image-a}label{subfig:three}}quad
subfloat[Нешто друго]{includegraphics[width=0.4textwidth]{example-image-b}label{subfig:four}}\
caption{Опис слике}label{fig:figure}
end{figure}
Слика ref{fig:figure} садржи subref*{subfig:abcd} и subref*{subfig:xyzw}.
end{document}
Note that I changed the font because I don't have Times New Roman here.
Result:
In [russian]{babel}
there is a mapping for cyrillic alphabetical numbering. Since the question asked for polyglossia
I copied the definition of that mapping. Then you can redefine the subfigure
counter to use the mapping.
MWE:
documentclass[a4paper,oneside,12pt,serbianc]{article}
% Serbian language and Cyrillic script
usepackage{fontspec}
defaultfontfeatures{Mapping=tex-text}
usepackage{polyglossia}
setmainlanguage[Script=Cyrillic]{serbian}
setmainfont{DejaVu Serif}
newfontfamilycyrillicfont{DejaVu Serif}[Script=Cyrillic]
letcyrillicfontttttfamily
% mapping copied from Russian babel
defcyralph#1{ifcase #1or аor бor вor гor дor еor жor зor иor кor лor мor нor оor пor рor сor тor уor фor хor цor чor шor щor эor юor яelse @ctrerr fi}
usepackage{graphicx}
usepackage[subrefformat=parens,labelformat=parens]{subfig}
% use the mapping for subfigure numbers
defthesubfigure{cyralph{value{subfigure}}}
begin{document}
begin{figure}
centering
subfloat[Нешто]{includegraphics[width=0.4textwidth]{example-image-a}label{subfig:abcd}}quad
subfloat[Нешто друго]{includegraphics[width=0.4textwidth]{example-image-b}label{subfig:xyzw}}\
subfloat[Нешто]{includegraphics[width=0.4textwidth]{example-image-a}label{subfig:three}}quad
subfloat[Нешто друго]{includegraphics[width=0.4textwidth]{example-image-b}label{subfig:four}}\
caption{Опис слике}label{fig:figure}
end{figure}
Слика ref{fig:figure} садржи subref*{subfig:abcd} и subref*{subfig:xyzw}.
end{document}
Note that I changed the font because I don't have Times New Roman here.
Result:
answered 7 hours ago
MarijnMarijn
12k1 gold badge6 silver badges40 bronze badges
12k1 gold badge6 silver badges40 bronze badges
Thanks. It works like a charm. :)
– Milos
1 hour ago
add a comment |
Thanks. It works like a charm. :)
– Milos
1 hour ago
Thanks. It works like a charm. :)
– Milos
1 hour ago
Thanks. It works like a charm. :)
– Milos
1 hour ago
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f506469%2fhow-to-number-subfigures-in-serbian-cyrillic%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown