[OS X TeX] LaTeXiT 1.3.1(Panther version) font question

Pierre Chatelier pierre.chatelier at club-internet.fr
Wed Jul 20 21:27:47 CEST 2005


Too be more clear :about what's not working

%%%%%%%Does not produce time fonts%%%%%%
\documentclass[10pt]{article}
\usepackage{times}
\selectfont %%%%%%%%%%%%%%%%%%% I tried here
\usepackage{geometry}
\usepackage{graphicx}
\pagestyle{empty}
\selectfont %%%%%%%%%%%%%%%%%%%and here
\newsavebox{\latexitbox}
\newcommand{\latexitscalefactor}{3.600000}
\newlength{\latexitwidth}
\newlength{\latexitheight}
\newlength{\latexitdepth}
\setlength{\topskip}{0pt}
\setlength{\parindent}{0pt}
\setlength{\abovedisplayskip}{0pt}
\setlength{\belowdisplayskip}{0pt}
\selectfont %%%%%%%%%%%%%%%%%%%and here
\begin{lrbox}{\latexitbox}
\selectfont %%%%%%%%%%%%%%%%%%%and here
toto foobarwiz
\end{lrbox}
\settowidth{\latexitwidth}{\scalebox{\latexitscalefactor}{\usebox 
{\latexitbox}}}
\settoheight{\latexitheight}{\scalebox{\latexitscalefactor}{\usebox 
{\latexitbox}}}
\settodepth{\latexitdepth}{\scalebox{\latexitscalefactor}{\usebox 
{\latexitbox}}}
\newwrite\foo
\immediate\openout\foo=\jobname.sizes
\immediate\write\foo{\the\latexitdepth (Depth)}
\immediate\write\foo{\the\latexitheight (Height)}
\addtolength{\latexitheight}{\latexitdepth}
\addtolength{\latexitheight}{0.720000 pt}
\addtolength{\latexitheight}{0.000000 pt}
\addtolength{\latexitwidth}{0.000000 pt}
\immediate\write\foo{\the\latexitheight (TotalHeight)}
\immediate\write\foo{\the\latexitwidth (Width)}
\closeout\foo
\geometry{paperwidth=\latexitwidth,paperheight= 
\latexitheight,margin=0pt,left=0.000000 pt,top=0.000000 pt}
\selectfont %%%%%%%%%%%%%%%%%%%and here
\begin{document}
\selectfont %%%%%%%%%%%%%%%%%%%and here
\scalebox{\latexitscalefactor}{\usebox{\latexitbox}}
\end{document}
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the macostex-archives mailing list