Currvita: cirillic and old style figures + right align item labels











up vote
0
down vote

favorite












I have this document with currvita package:



documentclass[12pt,a4paper]{article}
usepackage{graphicx}
usepackage[utf8]{inputenc}
usepackage[russian]{babel}
usepackage[T1]{fontenc}
usepackage{cfr-lm}
usepackage{currvita}
usepackage{eso-pic}
usepackage{array}
usepackage{xcolor}
usepackage[left=3cm, right=3cm, top=3cm]{geometry}
pagenumbering{gobble}
usepackage[overload]{textcase}
newcommand*{ac}[1]{mbox{#1}}
usepackage[unicode, hidelinks]{hyperref}
tolerance=600
begin{document}
begin{cv}
{1234567890}
begin{cvlist}{Interests}
item[2018] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis pulvinar, lorem vel hendrerit convallis, lorem enim semper metus, ac imperdiet justo nisl eu lorem.
item[2017 — 2018] Лорем ипсум долор сит амет, ут иус цопиосае улламцорпер цонцлудатуряуе, яуи партем малуиссет интеллегат не.
end{cvlist}
end{cv}
end{document}
endinput




I want to achieve two things: align the labels of the items to the right, and be able to use Russian alphabet and old style figures at the same time with the default font. The result should be something like this:



enter image description hereDoes anyone know how to do that?










share|improve this question






















  • Please do not ask questions twice! See tex.stackexchange.com/questions/460286/item-right-align-label and tex.stackexchange.com/questions/461810/… ...
    – Kurt
    12 hours ago










  • The cfr-lm fonts don't support Cyrillic.
    – egreg
    12 hours ago










  • Thanks @egreg; it can be a different font. The important thing would be to be able to use Cirillic and old style figures. But I cant do it...
    – Nikita
    12 hours ago















up vote
0
down vote

favorite












I have this document with currvita package:



documentclass[12pt,a4paper]{article}
usepackage{graphicx}
usepackage[utf8]{inputenc}
usepackage[russian]{babel}
usepackage[T1]{fontenc}
usepackage{cfr-lm}
usepackage{currvita}
usepackage{eso-pic}
usepackage{array}
usepackage{xcolor}
usepackage[left=3cm, right=3cm, top=3cm]{geometry}
pagenumbering{gobble}
usepackage[overload]{textcase}
newcommand*{ac}[1]{mbox{#1}}
usepackage[unicode, hidelinks]{hyperref}
tolerance=600
begin{document}
begin{cv}
{1234567890}
begin{cvlist}{Interests}
item[2018] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis pulvinar, lorem vel hendrerit convallis, lorem enim semper metus, ac imperdiet justo nisl eu lorem.
item[2017 — 2018] Лорем ипсум долор сит амет, ут иус цопиосае улламцорпер цонцлудатуряуе, яуи партем малуиссет интеллегат не.
end{cvlist}
end{cv}
end{document}
endinput




I want to achieve two things: align the labels of the items to the right, and be able to use Russian alphabet and old style figures at the same time with the default font. The result should be something like this:



enter image description hereDoes anyone know how to do that?










share|improve this question






















  • Please do not ask questions twice! See tex.stackexchange.com/questions/460286/item-right-align-label and tex.stackexchange.com/questions/461810/… ...
    – Kurt
    12 hours ago










  • The cfr-lm fonts don't support Cyrillic.
    – egreg
    12 hours ago










  • Thanks @egreg; it can be a different font. The important thing would be to be able to use Cirillic and old style figures. But I cant do it...
    – Nikita
    12 hours ago













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have this document with currvita package:



documentclass[12pt,a4paper]{article}
usepackage{graphicx}
usepackage[utf8]{inputenc}
usepackage[russian]{babel}
usepackage[T1]{fontenc}
usepackage{cfr-lm}
usepackage{currvita}
usepackage{eso-pic}
usepackage{array}
usepackage{xcolor}
usepackage[left=3cm, right=3cm, top=3cm]{geometry}
pagenumbering{gobble}
usepackage[overload]{textcase}
newcommand*{ac}[1]{mbox{#1}}
usepackage[unicode, hidelinks]{hyperref}
tolerance=600
begin{document}
begin{cv}
{1234567890}
begin{cvlist}{Interests}
item[2018] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis pulvinar, lorem vel hendrerit convallis, lorem enim semper metus, ac imperdiet justo nisl eu lorem.
item[2017 — 2018] Лорем ипсум долор сит амет, ут иус цопиосае улламцорпер цонцлудатуряуе, яуи партем малуиссет интеллегат не.
end{cvlist}
end{cv}
end{document}
endinput




I want to achieve two things: align the labels of the items to the right, and be able to use Russian alphabet and old style figures at the same time with the default font. The result should be something like this:



enter image description hereDoes anyone know how to do that?










share|improve this question













I have this document with currvita package:



documentclass[12pt,a4paper]{article}
usepackage{graphicx}
usepackage[utf8]{inputenc}
usepackage[russian]{babel}
usepackage[T1]{fontenc}
usepackage{cfr-lm}
usepackage{currvita}
usepackage{eso-pic}
usepackage{array}
usepackage{xcolor}
usepackage[left=3cm, right=3cm, top=3cm]{geometry}
pagenumbering{gobble}
usepackage[overload]{textcase}
newcommand*{ac}[1]{mbox{#1}}
usepackage[unicode, hidelinks]{hyperref}
tolerance=600
begin{document}
begin{cv}
{1234567890}
begin{cvlist}{Interests}
item[2018] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis pulvinar, lorem vel hendrerit convallis, lorem enim semper metus, ac imperdiet justo nisl eu lorem.
item[2017 — 2018] Лорем ипсум долор сит амет, ут иус цопиосае улламцорпер цонцлудатуряуе, яуи партем малуиссет интеллегат не.
end{cvlist}
end{cv}
end{document}
endinput




I want to achieve two things: align the labels of the items to the right, and be able to use Russian alphabet and old style figures at the same time with the default font. The result should be something like this:



enter image description hereDoes anyone know how to do that?







horizontal-alignment oldstylenums currvita






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 13 hours ago









Nikita

53




53












  • Please do not ask questions twice! See tex.stackexchange.com/questions/460286/item-right-align-label and tex.stackexchange.com/questions/461810/… ...
    – Kurt
    12 hours ago










  • The cfr-lm fonts don't support Cyrillic.
    – egreg
    12 hours ago










  • Thanks @egreg; it can be a different font. The important thing would be to be able to use Cirillic and old style figures. But I cant do it...
    – Nikita
    12 hours ago


















  • Please do not ask questions twice! See tex.stackexchange.com/questions/460286/item-right-align-label and tex.stackexchange.com/questions/461810/… ...
    – Kurt
    12 hours ago










  • The cfr-lm fonts don't support Cyrillic.
    – egreg
    12 hours ago










  • Thanks @egreg; it can be a different font. The important thing would be to be able to use Cirillic and old style figures. But I cant do it...
    – Nikita
    12 hours ago
















Please do not ask questions twice! See tex.stackexchange.com/questions/460286/item-right-align-label and tex.stackexchange.com/questions/461810/… ...
– Kurt
12 hours ago




Please do not ask questions twice! See tex.stackexchange.com/questions/460286/item-right-align-label and tex.stackexchange.com/questions/461810/… ...
– Kurt
12 hours ago












The cfr-lm fonts don't support Cyrillic.
– egreg
12 hours ago




The cfr-lm fonts don't support Cyrillic.
– egreg
12 hours ago












Thanks @egreg; it can be a different font. The important thing would be to be able to use Cirillic and old style figures. But I cant do it...
– Nikita
12 hours ago




Thanks @egreg; it can be a different font. The important thing would be to be able to use Cirillic and old style figures. But I cant do it...
– Nikita
12 hours ago










1 Answer
1






active

oldest

votes

















up vote
2
down vote



accepted










There are only a few fonts supporting oldstyle figures in Cyrillic:




  • Lato (sans serif)

  • Erewhon

  • Heuristica (essentially the same as Erewhon)

  • XCharter


For the right alignment, you can patch the cvlist macro.



Here is with Erewhon.



documentclass[12pt,a4paper]{article}
usepackage[russian]{babel}

usepackage{currvita}
usepackage[left=3cm, right=3cm, top=3cm]{geometry}
usepackage[osf]{erewhon}

usepackage{graphicx}

usepackage{eso-pic}
usepackage{array}
usepackage{xcolor}
usepackage[overload]{textcase}
usepackage{regexpatch}

usepackage[unicode, hidelinks]{hyperref}

newcommand*{ac}[1]{mbox{#1}}

%% right alignment
tracingxpatches
makeatletter
xpatchcmd{cvlist}{##1hfill}{hfill##1}{}{ddt}
makeatother

%tolerance=600

begin{document}
begin{cv}

1234567890

begin{cvlist}{Interests}

item[2018] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis pulvinar, lorem vel hendrerit convallis, lorem enim semper metus, ac imperdiet justo nisl eu lorem.

item[2017 — 2018] Лорем ипсум долор сит амет, ут иус цопиосае улламцорпер цонцлудатуряуе, яуи партем малуиссет интеллегат не.

end{cvlist}

end{cv}

end{document}


enter image description here



With usepackage[osf]{XCharter} the output is



enter image description here



With usepackage[default,oldstyle]{lato} the output is



enter image description here



You have more choices for fonts if you switch to XeLaTeX.






share|improve this answer





















  • Thanks @egreg; do you know where can I find a list of LaTeX cirillic fonts? If I switch to XeLaTeX, will I be able to use this currvita template?
    – Nikita
    11 hours ago










  • @Nikita For a list of fonts, see tex.stackexchange.com/questions/114587/… and, yes, you can use currvita with XeLaTeX
    – egreg
    10 hours ago













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',
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
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f461838%2fcurrvita-cirillic-and-old-style-figures-right-align-item-labels%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








up vote
2
down vote



accepted










There are only a few fonts supporting oldstyle figures in Cyrillic:




  • Lato (sans serif)

  • Erewhon

  • Heuristica (essentially the same as Erewhon)

  • XCharter


For the right alignment, you can patch the cvlist macro.



Here is with Erewhon.



documentclass[12pt,a4paper]{article}
usepackage[russian]{babel}

usepackage{currvita}
usepackage[left=3cm, right=3cm, top=3cm]{geometry}
usepackage[osf]{erewhon}

usepackage{graphicx}

usepackage{eso-pic}
usepackage{array}
usepackage{xcolor}
usepackage[overload]{textcase}
usepackage{regexpatch}

usepackage[unicode, hidelinks]{hyperref}

newcommand*{ac}[1]{mbox{#1}}

%% right alignment
tracingxpatches
makeatletter
xpatchcmd{cvlist}{##1hfill}{hfill##1}{}{ddt}
makeatother

%tolerance=600

begin{document}
begin{cv}

1234567890

begin{cvlist}{Interests}

item[2018] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis pulvinar, lorem vel hendrerit convallis, lorem enim semper metus, ac imperdiet justo nisl eu lorem.

item[2017 — 2018] Лорем ипсум долор сит амет, ут иус цопиосае улламцорпер цонцлудатуряуе, яуи партем малуиссет интеллегат не.

end{cvlist}

end{cv}

end{document}


enter image description here



With usepackage[osf]{XCharter} the output is



enter image description here



With usepackage[default,oldstyle]{lato} the output is



enter image description here



You have more choices for fonts if you switch to XeLaTeX.






share|improve this answer





















  • Thanks @egreg; do you know where can I find a list of LaTeX cirillic fonts? If I switch to XeLaTeX, will I be able to use this currvita template?
    – Nikita
    11 hours ago










  • @Nikita For a list of fonts, see tex.stackexchange.com/questions/114587/… and, yes, you can use currvita with XeLaTeX
    – egreg
    10 hours ago

















up vote
2
down vote



accepted










There are only a few fonts supporting oldstyle figures in Cyrillic:




  • Lato (sans serif)

  • Erewhon

  • Heuristica (essentially the same as Erewhon)

  • XCharter


For the right alignment, you can patch the cvlist macro.



Here is with Erewhon.



documentclass[12pt,a4paper]{article}
usepackage[russian]{babel}

usepackage{currvita}
usepackage[left=3cm, right=3cm, top=3cm]{geometry}
usepackage[osf]{erewhon}

usepackage{graphicx}

usepackage{eso-pic}
usepackage{array}
usepackage{xcolor}
usepackage[overload]{textcase}
usepackage{regexpatch}

usepackage[unicode, hidelinks]{hyperref}

newcommand*{ac}[1]{mbox{#1}}

%% right alignment
tracingxpatches
makeatletter
xpatchcmd{cvlist}{##1hfill}{hfill##1}{}{ddt}
makeatother

%tolerance=600

begin{document}
begin{cv}

1234567890

begin{cvlist}{Interests}

item[2018] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis pulvinar, lorem vel hendrerit convallis, lorem enim semper metus, ac imperdiet justo nisl eu lorem.

item[2017 — 2018] Лорем ипсум долор сит амет, ут иус цопиосае улламцорпер цонцлудатуряуе, яуи партем малуиссет интеллегат не.

end{cvlist}

end{cv}

end{document}


enter image description here



With usepackage[osf]{XCharter} the output is



enter image description here



With usepackage[default,oldstyle]{lato} the output is



enter image description here



You have more choices for fonts if you switch to XeLaTeX.






share|improve this answer





















  • Thanks @egreg; do you know where can I find a list of LaTeX cirillic fonts? If I switch to XeLaTeX, will I be able to use this currvita template?
    – Nikita
    11 hours ago










  • @Nikita For a list of fonts, see tex.stackexchange.com/questions/114587/… and, yes, you can use currvita with XeLaTeX
    – egreg
    10 hours ago















up vote
2
down vote



accepted







up vote
2
down vote



accepted






There are only a few fonts supporting oldstyle figures in Cyrillic:




  • Lato (sans serif)

  • Erewhon

  • Heuristica (essentially the same as Erewhon)

  • XCharter


For the right alignment, you can patch the cvlist macro.



Here is with Erewhon.



documentclass[12pt,a4paper]{article}
usepackage[russian]{babel}

usepackage{currvita}
usepackage[left=3cm, right=3cm, top=3cm]{geometry}
usepackage[osf]{erewhon}

usepackage{graphicx}

usepackage{eso-pic}
usepackage{array}
usepackage{xcolor}
usepackage[overload]{textcase}
usepackage{regexpatch}

usepackage[unicode, hidelinks]{hyperref}

newcommand*{ac}[1]{mbox{#1}}

%% right alignment
tracingxpatches
makeatletter
xpatchcmd{cvlist}{##1hfill}{hfill##1}{}{ddt}
makeatother

%tolerance=600

begin{document}
begin{cv}

1234567890

begin{cvlist}{Interests}

item[2018] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis pulvinar, lorem vel hendrerit convallis, lorem enim semper metus, ac imperdiet justo nisl eu lorem.

item[2017 — 2018] Лорем ипсум долор сит амет, ут иус цопиосае улламцорпер цонцлудатуряуе, яуи партем малуиссет интеллегат не.

end{cvlist}

end{cv}

end{document}


enter image description here



With usepackage[osf]{XCharter} the output is



enter image description here



With usepackage[default,oldstyle]{lato} the output is



enter image description here



You have more choices for fonts if you switch to XeLaTeX.






share|improve this answer












There are only a few fonts supporting oldstyle figures in Cyrillic:




  • Lato (sans serif)

  • Erewhon

  • Heuristica (essentially the same as Erewhon)

  • XCharter


For the right alignment, you can patch the cvlist macro.



Here is with Erewhon.



documentclass[12pt,a4paper]{article}
usepackage[russian]{babel}

usepackage{currvita}
usepackage[left=3cm, right=3cm, top=3cm]{geometry}
usepackage[osf]{erewhon}

usepackage{graphicx}

usepackage{eso-pic}
usepackage{array}
usepackage{xcolor}
usepackage[overload]{textcase}
usepackage{regexpatch}

usepackage[unicode, hidelinks]{hyperref}

newcommand*{ac}[1]{mbox{#1}}

%% right alignment
tracingxpatches
makeatletter
xpatchcmd{cvlist}{##1hfill}{hfill##1}{}{ddt}
makeatother

%tolerance=600

begin{document}
begin{cv}

1234567890

begin{cvlist}{Interests}

item[2018] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis pulvinar, lorem vel hendrerit convallis, lorem enim semper metus, ac imperdiet justo nisl eu lorem.

item[2017 — 2018] Лорем ипсум долор сит амет, ут иус цопиосае улламцорпер цонцлудатуряуе, яуи партем малуиссет интеллегат не.

end{cvlist}

end{cv}

end{document}


enter image description here



With usepackage[osf]{XCharter} the output is



enter image description here



With usepackage[default,oldstyle]{lato} the output is



enter image description here



You have more choices for fonts if you switch to XeLaTeX.







share|improve this answer












share|improve this answer



share|improve this answer










answered 12 hours ago









egreg

700k8518623136




700k8518623136












  • Thanks @egreg; do you know where can I find a list of LaTeX cirillic fonts? If I switch to XeLaTeX, will I be able to use this currvita template?
    – Nikita
    11 hours ago










  • @Nikita For a list of fonts, see tex.stackexchange.com/questions/114587/… and, yes, you can use currvita with XeLaTeX
    – egreg
    10 hours ago




















  • Thanks @egreg; do you know where can I find a list of LaTeX cirillic fonts? If I switch to XeLaTeX, will I be able to use this currvita template?
    – Nikita
    11 hours ago










  • @Nikita For a list of fonts, see tex.stackexchange.com/questions/114587/… and, yes, you can use currvita with XeLaTeX
    – egreg
    10 hours ago


















Thanks @egreg; do you know where can I find a list of LaTeX cirillic fonts? If I switch to XeLaTeX, will I be able to use this currvita template?
– Nikita
11 hours ago




Thanks @egreg; do you know where can I find a list of LaTeX cirillic fonts? If I switch to XeLaTeX, will I be able to use this currvita template?
– Nikita
11 hours ago












@Nikita For a list of fonts, see tex.stackexchange.com/questions/114587/… and, yes, you can use currvita with XeLaTeX
– egreg
10 hours ago






@Nikita For a list of fonts, see tex.stackexchange.com/questions/114587/… and, yes, you can use currvita with XeLaTeX
– egreg
10 hours ago




















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f461838%2fcurrvita-cirillic-and-old-style-figures-right-align-item-labels%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

サソリ

広島県道265号伴広島線

Accessing regular linux commands in Huawei's Dopra Linux