<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt">Hi,<br><br>&nbsp;&nbsp; I am currently using xetex + fontspec (which are part of MikTeX v.7 for Windows). I am able to get xetex to use the fonts on my windows system. I want to control the placement of the accents generated with Tex commands such as \.{}, \={}, \d{}. Previously I was able to do this using the macros provided in exaccent.sty. I am wondering how I would accomplish the same result when xetex is directly using a native TTF font. <br><br>&nbsp; I have pasted a small test file at the end of this email. Any help/pointers are appreciated.<br><br>thanks,<br>radha<br><br><hr style="width: 100%; height: 2px;"><br>\documentclass[11pt,letterpaper]{article}<br>\usepackage{fontspec}<br>\usepackage{exaccent}<br>\newfontfamily\trebuchetfont[BoldFont = {* Bold}, ItalicFont = {* Italic}, BoldItalicFont = {*
 Bold Italic}]{Trebuchet MS}<br>\setmainfont{Arial}<br>%======================================<br>% Adjustment to the location of accents<br>% code 6 (small circle); 9(bar); 10(dot)<br>%=======================================<br>\DeclareTextCommand{\=}{T1}[1]{\upperaccent[1ex]{9}{#1}}&nbsp;&nbsp; % upperaccent is defined in exaccent.sty<br>\DeclareTextCommand{\.}{T1}[1]{\upperaccent[1ex]{10}{#1}}&nbsp; % The "1ex" is the relative position of the accent.<br>\DeclareTextCommand{\d}{T1}[1]{\loweraccent[1ex]{10}{#1}}<br><br>\begin{document}<br>{\trebuchetfont The quick brown fox jumped over a lazy dog. \={T}he \d{q}uick \={b}rown \.fox jumped over a lazy dog.}\par<br>{\bf\trebuchetfont The quick brown fox jumped over a lazy dog. \={T}he \d{q}uick \={b}rown
 \.fox jumped over a lazy dog.}\par<br>{\it\trebuchetfont The quick brown fox jumped over a lazy dog. \={T}he \d{q}uick \={b}rown \.fox jumped over a lazy dog.}\par<br><br>\fontsize{18}{21}{\trebuchetfont
The quick brown fox jumped over a lazy dog. \={T}he \d{q}uick \={b}rown
\.fox jumped over a lazy dog.}\par<br>\fontsize{18}{21}{\bf\trebuchetfont
The quick brown fox jumped over a lazy dog. \={T}he \d{q}uick \={b}rown
\.fox jumped over a lazy dog.}\par<br><br>\end{document}<br><hr style="width: 100%; height: 2px;"><br><br><strong>Radhakrishna Valiveti <br></strong><font color="royalblue">rvaliveti@yahoo.com <br></font><div><br></div></div></body></html>