![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Changing font of a single character >Thread Next - Re: Changing font of a single character Re: Changing font of a single characterTo: NULL Date: 11/8/2006 7:19:00 PM On 8 Nov 2006 10:24:15 -0800, "PB" <pboparai@c...> wrote: >Hi, > >I was wondering how to change the font for a specific character. I.e. >when we use the capital letter for Pi, we would like it to be in >Courier New, but the rest of the document to be in Arial. Is there a >way to globally set this in the XSL so that everywhere the Pi symbol >will be using the Courier New font? XSL (and XML generally) has no concept of fonts. Can I assume you're trying to output HTML from your stylesheet ? In that case, CSS is the formatting technique you want, but there's also a default setting for the <pre /> HTML element in browsers, which uses monospaced fonts (usually Courier or System) So your problem is just to find all "pi" symbols in your document, and wrap them in your HTML output as <pre>"pi"</pre> Cheers - Neil ------------------------------------------------ Digital Media MVP : 2004-2006 http://mvp.support.microsoft.com/mvpfaqs | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
