Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm using luatex with fontspec and "Minion Pro" font. I want to typeset the labels in thebibliography environment in lining numerals instead of text numbers (as it is when you simply invoke Minion Pro), but couldn't achieve this.

Could anybody help me with this?

share|improve this question
    
Since you have some responses below that seem to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count (see How do you accept an answer?). This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). –  Martin Schröder Sep 17 '12 at 22:22
    
Do you want just the label numbers in the bibliography to use lining figures, or should lining figures be used for all numbers -- including page, volume, and issue numbers -- that may appear throughout the bibliography? It might look a bit odd to have lining figures for the labels and oldstyle figures for everything else? –  Mico Aug 27 at 20:41

2 Answers 2

up vote 0 down vote accepted

Does this work (assuming the MinionPro package)

\def\@biblabel#1{[{\figureversion{lining}#1}]}
share|improve this answer

You can make a newfontfamily with lining numbers and switch to that family before the bilio: An example:

\documentclass{article}
\usepackage{fontspec}
\setmainfont[Ligatures=TeX,Numbers={Monospaced,OldStyle}]{Minion Pro}
\newfontfamily\LFFam[Renderer=Basic,Numbers=Lining,Ligatures=TeX]{Minion Pro}

\begin{document}

These are non-lining numbers: 0123456789

{\LFFam
and these are lining numbers: 012345678}

\end{document}

enter image description here

share|improve this answer
    
Lining numbers should be only in biblabel, not in all bib entry –  pml Aug 27 at 22:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.