Until I select a font using \fontspec{ ... }, XeLaTeX uses the default of Computer Modern. Once I select some font, I have no idea how to re-select Computer Modern. Can anyone help?
|
|
||||
|
|
|
XeLaTeX (via
Alternatively, if you are mainly using Computer Modern in your document, you can use As noted by Andrey Vihrov, the second solution is probably to be preferred, since the optical sizes of Latin Modern are set up when the font is loaded in the regular way. With the first solution, you would need to add the optical size information using the If you want to restore the defaults completely (rather than just have access to the Latin Modern fonts with a command) you can redefine
Edit note: Please note that the current version of this answer has been reorganized to reflect the discussion in the comments. Thanks. |
|||||||||||||||
|
|
As a default fontspec doesn't use computer modern but the latin modern font. To get back exactly the default setup set the font family to lmr, lmss, lmtt. Either localy or by redefining the defaults:
|
|||
|
|
|
Old However, you can still switch back to
This is obtained by name type emb sub uni object ID ------------------------------------ ----------------- --- --- --- --------- DQLQYU+CMR10 Type 1C yes yes no 4 0 ZSODJO+CMSS10 Type 1C yes yes no 5 0 YLHYBL+CMTT10 Type 1C yes yes no 6 0 EKZHDP+XITS-Identity-H CID Type 0C yes yes yes 8 0 PMNGJM+TeXGyreCursor-Regular-Identity-H CID Type 0C yes yes yes 10 0 It's OK if you want to use
name type emb sub uni object ID ------------------------------------ ----------------- --- --- --- --------- BLJUZB+LinLibertineO-Identity-H CID Type 0C yes yes yes 5 0 ANBDAK+CMR10 Type 1C yes yes no 6 0 |
|||||||||
|



