[XeTeX] Problem changing default fonts
Tobias Schoel
liesdiedatei at googlemail.com
Sat Oct 2 16:11:14 CEST 2010
Hi,
\textbf{\textsf{\huge Some Text}}
reads nicer, because it doesn't use grouping-only braces. It's always
confusing for me to find a pair of braces in empty space (means: without
a macro before), and it doesn't look like proper coding.
btw: why are there no macros like \texthuge, \textlarge, ... ?
bye Toscho
Am 01.10.2010 23:46, schrieb Herbert Schulz:
>
> On Oct 1, 2010, at 11:47 AM, Drébon wrote:
>
>> On 28/09/2010 00:25, Peter Dyballa wrote:
>>> Update once more and hope that fontspec 2.1a will come!
>>
>> It is allready in that version...
>>
>> The command \huge \bf{\sf{Some Text}}}, do not print bold text...
>>
>> Maybe \bf and \sf are not accessible in xelatex ?
>>
>> Regards.
>>
>> --
>> D.
>
> Howdy,
>
> A complete example would have been nice since you get an error because you have too many `}'. Also \bf and \sf are old fashioned declarations left over from LaTeX 2.09 and behave the way they do in Plain TeX; they are mutually exclusive. What you want is
>
> {\huge\textbf{\textsf{Some Text}}}
>
> using commands, or, if you really want to use declarations
>
> {\huge\bfseries\sffamily Some Text}
>
> which works just fine.
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest dot com)
>
>
>
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
> http://tug.org/mailman/listinfo/xetex
More information about the XeTeX
mailing list