While I can set current CJK font family using \CJKfamily, there doesn't seem to be a way to get it? I think I can get \CJKrmdefault, \CJKsfdefault, \CJKttdefault, \CJKfamilydefault, but I am missing the one for plain, ungrouped text. Whenever I change \CJKfamily, I have to rely on the fact(?) that its scope is limited to the current group to restore its previous value.
How about adding \setCJKfamily and \getCJKfamily macros, moving its current functionalities into \setCJKfamily and making \CJKfamily more like \CJKfamilydefault, etc.?
While I can set current CJK font family using
\CJKfamily
, there doesn't seem to be a way to get it? I think I can get\CJKrmdefault
,\CJKsfdefault
,\CJKttdefault
,\CJKfamilydefault
, but I am missing the one for plain, ungrouped text. Whenever I change\CJKfamily
, I have to rely on the fact(?) that its scope is limited to the current group to restore its previous value.How about adding
\setCJKfamily
and\getCJKfamily
macros, moving its current functionalities into\setCJKfamily
and making\CJKfamily
more like\CJKfamilydefault
, etc.?