a little more specific on switching fonts
Earlier my question was 'what if I want to add an extra sans serif typeface?' (you can see below that I already have one ss - dax, but I need to add ITCAvantGarde as well as part of mainface or in some other way??). *I would like to add to that question, since it is closely connected.* This time, realizing I needed to also use small caps, and because AlegreyaSC of various weights is available in my system, you can see how I thought I would need to add it into the definitions below - in the second line. Then in the body of the document where I needed small caps, I did as follows: {\sc The text I need in small caps} and the rest of the paragraph follows... But the result is that the entire document is now in small caps. Clearly I am doing something wrong. \definefontfamily [mainface] [rm] [alegreya] \definefontfamily [mainface] [sc] [alegreyasc][[tf=file:alegreyasc-regular]] \definefontfamily [mainface] [ss] [dax][tf=file:dax-regular] \definefontfamily [mainface] [mm] [alegreya] \setupbodyfont[mainface] Anyone able to help me with this please? Julian
participants (1)
-
jbf