Visual Studio Code & LaTeX Workshop elegantly write LaTeX documents that support Chinese __ technology

Source: Internet
Author: User

LATEX is a typesetting system based on Tex, used for typesetting high quality science and math documents. Tex Live

Texlive is a collection environment of Tex that contains compilers such as Pdfletex,xeletex.
Download Address: Http://ctan.mirrors.hoobly.com/systems/texlive/Images/texlive2017-20170524.iso
Installation process: Https://zhuanlan.zhihu.com/p/19779481?columnSlug=LaTeX Visual Studio Code

Visual Studio Code, a powerful Cross-platform editor. Latex Workshop

Latex Wordshop is an extension of Visual Studio code that can be compiled, redirected, and code-prompted.

After installing Tex Live and Vscode, search Latex workshop and install it directly inside the extension.

Latex Workshop default is compiled with Pdflatex, we will change him to Xelatex after the perfect support of Chinese.

The modification method is as follows:

CTRL +,

Search latex-workshop.latex.toolchain-> Right-click Replace in setting-> modified to the following code

    "Latex-workshop.latex.toolchain": [
        {
            "command": "Xelatex",
            "args": [
                "-synctex=1",
                "]- Interaction=nonstopmode ",
                "-file-line-error ",
                "%doc% "
            ]
        }, {
            " command ":" BibTeX ",
            " Args ": [
                "%docfile% "
            ]
        }, {
            " command ":" Xelatex ",
            " args ": [
                "-synctex=1 ",
                "]- Interaction=nonstopmode ",
                "-file-line-error ",
                "%doc% "
            ]
        }, {
            " command ":" Xelatex ",
            "args": [
                "-synctex=1",
                "-interaction=nonstopmode",
                "-file-line-error",
                "%doc%"
            ]
        }
    ]

This is the end of the configuration, ctrl+alt+b compiled, ctrl+alt+t view.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.