Hi, It seems that you want to crop the image and to only include a small portion of the image. If this is indeed your intention, then you can also crop the image with GIMP or other graphics software, and include the cropped image. It may also be possible to crop an image using the PGF/TikZ software in XeLaTeX, but I think that using GIMP or similar is easier. Regards, Wilfred
--- On Tue, 13/4/10, Tiandao Li <lit...@gmail.com> wrote: From: Tiandao Li <lit...@gmail.com> Subject: [XeTeX] No clipping support in XeTeX and \textcelsius To: xetex@tug.org Date: Tuesday, 13 April, 2010, 4:22 AM Hi, I had a xetex file with graphics, and I try to use the trim function in \includegraphics \documentclass[letterpaper,12pt]{article} \usepackage[cm-default]{fontspec} % provides font selecting commands \defaultfontfeatures{Mapping=tex-text} %\usepackage{xunicode}% provides unicode character macros %\usepackage{xltxtra} % provides some fixes/extras \usepackage{textcomp} \usepackage{color,graphicx} \begin{figure}[htbp] \begin{center} \includegraphics[scale=0.8]{figtab/161-0363.jpg} \includegraphics[trim=0mm 10mm 15mm 0mm, clip]{gel/20100222.jpg} \end{center} \end{figure} The log file always show the following error msg: Package xetex.def Warning: No clipping support in XeTeX yet on input line 207. So there is still no clip support now or in the near future? Is there any other ways to work around it? Another question, I used textcomp package, so I can use \textcelsius for temperature. However, the PDF file only show a square in the place of C. after I commented out packages of xunicode and xltxtra. textcomp package works fine. Why? Thanks, Tiandao -----Inline Attachment Follows----- -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex New Email names for you! Get the Email name you've always wanted on the new @ymail and @rocketmail. Hurry before someone else does! http://mail.promotions.yahoo.com/newdomains/aa/
-------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex