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.

Ηow can I get rid of this annoying box next to the letter as well the full stop

update-1: but to keep the Greek alphabet to the second level enter image description here

\documentclass[b5paper,10pt]{book}

\usepackage[cm-default]{fontspec}
\usepackage{xgreek}
\setmainfont{Arial}

\usepackage{enumitem}
\renewcommand{\theenumi}{\roman{enumi})}    


\begin{document}

\begin{enumerate}
 \item text

  \begin{enumerate}
   \item text
  \end{enumerate}

\end{enumerate}

\end{document}
share|improve this question
    
You could specify the labels for the second level list as begin{enumerate}[label=\roman*], or use enumitem's \setlist feature, which would be preferrable. –  Peter Grill Jan 28 '13 at 8:29
    
what I want is to be applied universally, because the text is already been written and is difficult to change all the begin{enumerate}. With that you propose lost and the brackets... :) –  karathan Jan 28 '13 at 8:44
    
\setlist[enumerate]{label=\roman*}, please see the enumitem manual. In the manual you will also find how to specify what to do on the various nested levels. –  daleif Jan 28 '13 at 8:52

2 Answers 2

up vote 3 down vote accepted

The annoying box is because Greek numerals should be followed by the character that xgreek calls \anwtonos, U+0374 (GREEK NUMERAL SIGN) that's apparently missing in Arial.

You can get redefine \anwtonos to everything you want, even to nothing:

\documentclass[b5paper,10pt]{book}

\usepackage[cm-default]{fontspec}
\usepackage{xgreek}
\setmainfont{Old Standard}

\usepackage{enumitem}
\setlist[enumerate,1]{label=\roman*)}

\renewcommand{\anwtonos}{}

\begin{document}

\begin{enumerate}
 \item text

  \begin{enumerate}
   \item text
  \end{enumerate}

\end{enumerate}

\end{document}

The example uses Old Standard because it's one where U+0374 is present. Use whatever font with Greek characters you prefer.

enter image description here

share|improve this answer
    
works perfectly ... :) –  karathan Jan 28 '13 at 11:08

The "box" means that you are using a char which is not in the font. xgreek prints after the alpha the Unicode Character 'GREEK NUMERAL SIGN' (U+0374) but it is not in Arial.

You should either switch to another font (e.g. Arial Unicode MS) or redefine \greeknumeral, or \anwtonos

share|improve this answer

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.