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've downloaded a CV template to play with from here, all is going well when I'm outputting with XeLaTeX apart from one thing, I can't understand the use of the string

Ê Ê Ê Ê&

In this piece of markup

\begin{tabularx}{0.97\linewidth}{>{\raggedleft\scshape}p{2cm}X}
\gray Period & \textbf{March 2009 --- August 2010 (Part Time)}\\
\gray Employer & \textbf{Buy More} \hfill New York, USA\\
\gray Job Title & \textbf{Supermarket Clerk}\\
Ê Ê Ê Ê& Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec et auctor neque. Nullam ultricies sem sit amet magna tristique imperdiet.
\end{tabularx}

Outputting with that string in makes the document format properly however leaves behind four square characters, removing them causes the format of the entire document to fall apart.

What's going on here? I'm using a different font to the template as I don't have the font specified on my OS (linux mint).

share|improve this question
    
does the log file report missing characters, you need to use a fon that has those characters. Please always post complete small documents so that any problems may be reproduced, and which show all packages loaded/ –  David Carlisle Jan 6 '13 at 1:07
    
@Max the OP tagged as xetex so I assume he needs fontspec rather than inputenc/fontenc –  David Carlisle Jan 6 '13 at 1:19
1  
If you just remove the Ê Ê Ê Ê the table format should be unaffected other than that string going as the first column is fixed width –  David Carlisle Jan 6 '13 at 1:20
1  
Latex just assumes the first column is empty if the line starts with &, nothing special. –  Max Jan 6 '13 at 1:25
1  
Because you want the text Lorem... to be in the second column, without that & it goes in the first column. Most likely the accented E were a mistake due to some encoding messup. –  David Carlisle Jan 6 '13 at 1:27
show 1 more comment

1 Answer 1

up vote 5 down vote accepted

I would guess your log says

Missing character: There is no � in font cmcsc10!
Missing character: There is no � in font cmcsc10!
Missing character: There is no � in font cmcsc10!
Missing character: There is no � in font cmcsc10!
Missing character: There is no � in font cmcsc10!

Which is what I get from the (complete) document

\documentclass{article}
\usepackage{tabularx}
\usepackage{color}
\def\gray{\color[rgb]{.5,.5,.5}}
\begin{document}

\begin{tabularx}{0.97\linewidth}{>{\raggedleft\scshape}p{2cm}X}
\gray Period & \textbf{March 2009 --- August 2010 (Part Time)}\\
\gray Employer & \textbf{Buy More} \hfill New York, USA\\
\gray Job Title & \textbf{Supermarket Clerk}\\
Ê Ê Ê Ê& Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec et auctor neque. Nullam ultricies sem sit amet magna tristique imperdiet.
\end{tabularx}

\end{document}

You could add something like

\usepackage{fontspec}
\setmainfont{TeX Gyre Adventor}

To change the font choice but I'm not sure of a font that has the accented letters in small caps. (None of the ones I tried did)


I assume you don't want exactly that string typeset but if you don't want the small caps accented letters at all, just miss them out:

enter image description here

\documentclass{article}
\usepackage{tabularx}
\usepackage{color}
\def\gray{\mbox{}\color[rgb]{.5,.5,.5}}

%\usepackage{fontspec}
%\setmainfont{TeX Gyre Adventor}


\begin{document}

\noindent
\begin{tabularx}{0.97\linewidth}{>{\raggedleft\scshape}p{2cm}X}
\gray Period & \textbf{March 2009 --- August 2010 (Part Time)}\\
\gray Employer & \textbf{Buy More} \hfill New York, USA\\
\gray Job Title & \textbf{Supermarket Clerk}\\
& Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec et auctor neque. Nullam ultricies sem sit amet magna tristique imperdiet.
\end{tabularx}

\end{document}
share|improve this answer
    
This did it, thanks again David. –  Ben Jan 6 '13 at 1:31
add comment

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.