/brilliant-CV-Submodule

Primary LanguageTypstApache License 2.0Apache-2.0



Brilliant CV Submodule

fork from brilliant-cv-submodule

Add support for multi-version and language Should be fully compatible with the original version, but minor changes in metadata.typ may be needed.

guide for multi-version and language

Compatibility

varVersion is used to specify the version of the CV, i.e., modules_cn or modules_SinglePage in my usage; varLanguage is used to specify the language of certain entry.

Basic usage is the same as the original version, but you need to rename one of the variables in metadata.typ as follows:

varLanguage -> varVersion

Then your CV should be fully compatible with the original version.

In-file language Switch

You can use languageSwitch to switch the language of certain entry in the same file.

title: languageSwitch((
      "en":[Master of Science, Electronics],
      "zh":[理学硕士, 电子学]
    )),

Notice the number of ( and ).

it doesn't make sense to use key of "" in the languageSwitch, But it should be compatible if you do so.

Please refer to the example repository for more information.

Any issue or PR is welcomed!