Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sailing-innocent/xmake-latex-example

the sample repo for using xmake to manage various latex project
https://github.com/sailing-innocent/xmake-latex-example

latex xmake

Last synced: 3 months ago
JSON representation

the sample repo for using xmake to manage various latex project

Awesome Lists containing this project

README

        

# xmake + latex project example

use xmake and latex to build document gracefully.

## How to build

- install texlive and make sure `latexmk` command is valid
- install xmake and make sure `xmake` command is valid
- (optional) install graphviz and make sure `dot` command is valid

simply `xmake`

then you will find several pdf files located in your `output` directory.

## templates

Here I demonstrate how to use templates

- arxiv: a single arxiv.sty file, see `doc/template/arxiv` and `doc/sample/arxiv_use` for more info
- acmart: an acmart.cls with Format.dst, see `doc/template/acmart` and `doc/sample/acmart_use` for more info
- AIJabr book: a comprehensive mathematic book example from https://github.com/wenweili/AlJabr-1, see `doc/template/ajbook` and `doc/sample/aljabr` for more info

hint: you have to check the Nato Font installed correctly on your computer for compiling the third example, so by default the example is not open, you can open it by set `xmake f --math_book=true`

- Noto Sans CJK: https://github.com/notofonts/noto-cjk/releases/tag/Sans2.004
- Noto Serif: https://fonts.google.com/noto/specimen/Noto+Serif+SC

remember to install for all users and force clean cache by `fc-cache`

### Arxiv Use

![](./asset/arxiv_use.png)

### ACMART Use

![](./asset/acmart.png)

### AIJabr Book Use

![](./asset/aljabr.png)

## a note example

in `doc/note/aigc_survey`

## a pre example

in `doc/report/gan_report_slide`