[OS X TeX] times font

Peter Dyballa Peter_Dyballa at Web.DE
Tue Oct 2 10:57:51 CEST 2012


Am 02.10.2012 um 06:36 schrieb juan tolosa:

> Still, the "trade mark" ® does not show
> when I try
> {\timesfont ® is a trade mark}

Maybe you should try to understand some basics of fonts, their naming schemes, their encodings, how LaTeX can distinguish between hundreds of characters when a TeX font encoding (TFM) has only 128 slots and a virtual TeX font encoding (VF) has 256 slots.

In LaTeX you would put in the preamble

  \usepackage{times}		% {\rm,\sf,\tt}default = {ptm,phv,pcr}
  \usepackage[utf8x]{inputenc}
%  \usepackage[utf8]{inputenc}
  \usepackage[full]{textcomp}
  \usepackage[T1]{fontenc}	% other font encodings: TS1, T2A, T2B, T2C, X2, LCY, OT2, LY1, T5
  %%%%\renewcommand{\sfdefault}{pag}
  %%%%\renewcommand{\rmdefault}{ppl}
  %%%%\renewcommand{\ttdefault}{pcr}

to be able to make use of a font depending extra set of characters from the textcomp package. Depending on the file's input encoding you could then use ® directly or \textregistered.

--
Greetings

  Pete

Time flies like an error – but fruit flies like a banana!
				- (almost) Groucho Marx




More information about the macostex-archives mailing list