How to use Chinese elegantly in LaTeX?

Updated on vogue 2024-04-02
8 answers
  1. Anonymous users2024-02-07

    The Chinese support scheme is just a matter of macro packages, such as the common cjk xecjk. What you want to ask is not"Instead of a giant package like ctex, compile documentation including Chinese in the most concise way. "This can be done with miktex-portable(159m)+.

    It comes with TexWorks, so I may not be used to it at first, but the key thing is that I think I have to find a balance. In addition, TexWorks can be configured to implement WYSIWYG using LateXMK (requires Perl: ActivePerl Downloads, then add path to TexWorks) + SuMartPDF (set as the default PDF reader).

    So it's a very simple solution. In Chinese, the corresponding macro package will be installed automatically.

    Example: name: autocompileprogram:

    latexmkarguments: remove view pdf At this point, you need to change the engine of the configuration file to xelatex (not pdflatex).Reverse search (double-click to return to the source code) needs to be further studied.

  2. Anonymous users2024-02-06

    After compilation, you can see that only English content is displayed, and Chinese content is not displayed. Although I don't have garbled characters here, there are times when there is garbled characters. Here is the complete ** that can handle Chinese.

    The following details the details and settings of each command line, and the results obtained are as follows, you can find that Chinese appears, and there is no garbled characters. CJK is a combination of the English initials of Chinese, Japanese and Korean, which refers to the same code given to the ideographic characters of China, Japan and Korea in ISO 10646 and Unicode standards. Before you can process Chinese, you need to import this macro package first.

    This is the default sentence structure, which indicates that the CJK encoding process has begun. GBK is a national standard expansion code, which includes almost all men and symbols. song means that the text is in Song style, of course, it can also be replaced with kai (楷), li (li), hei (black) and other font formats.

    The result of the compilation is as follows. You can see that the Chinese font is in bold. Full installation of Tex Live 2015 (or later) Use the CTEX document class or CTEX macro package provided by CTEX macro set for successful cross-platform.

    Compile. The prerequisite is that the above-mentioned Song, Hei, Italics, and Imitation Song, are already installed in your system font. Windows comes with it.,In other environments, you can copy a copy from Windows to install.。

    Chinese processing is still xelatex+xecjk. There is no problem under both Linux and Windows. Ubuntu can use TexLive The latest 2013 already has xecjk and ctex, which can be compiled directly.

    Install CTEx macro package CTEX: project, use CTExArt, UTF8 encoding, compile with Xelatex, open PDF with PDF browser, install TexLive 2016 (full installation recommended); Create a UTF-8 encoded TEX source file; Add the following ** to the introduction section of the source file, compiled using pdflatex. First of all, you need to choose a distribution kit - CTEX, TEXlive, etc., the recommended Fahrenheit CTEX, the reason is that it is easy to install, and then choose the TEX implementation scheme - pdfTEX, XETEX, etc., it is recommended to use XETEX, the reason is that it supports UTF8 and can directly use the fonts that come with the system, which is very powerful!

    However, the tex source file must be UTF8. <>

  3. Anonymous users2024-02-05

    Complete installation of the latest release of the CTEX Bundle, Miktex Bundle, TexLive Bundle, one of the Mactex Bundles. Then choose a texter that you like, preferably one that supports UTF8 encoding, and then compile it with PDFLatex or Xelatex (the recommended method, you must ensure that you save it with UTF8 encoding). The tex package hasn't been updated for a long time, and you need to manually upgrade it after installation.

    A lot of people don't like ctex (sets as well as macro packs), all sorts of messy reasons, yes, mostly messy reasons. Linux users are not recommended to install Texlive in the source, it is recommended to install the Dummy package first, and then install it through the ISO image of Texlive. In addition, you need to pay attention to the problem of fonts, refer to:

    unixfonts - ctex-kit -。Explore TexmacsFor reference, using xelatex to generate Chinese pdf is lighter, 500 to m.

  4. Anonymous users2024-02-04

    Relatively basic methods:

    1) Use a texter (like Notepad in Windows, WordPad, UNIX Linux, Vi, Vim or Emacs, etc.) LaTex documents, assuming the document name is.

    2) Find a command-line tool (like the command prompt in Windows, commonly known as the DOS window; Unix Linux), switch the working directory to the directory where it is stored, and then run latex.

    3) If there is a cross-reference in , you usually have to run latex three times; If you still have an index in it, run MakeIndex once after the first Latex run, and then Latex twice

    4) To view the DVI file (compilation result), run XDVI & in UNIX Linux system, and double-click in the file manager in Windows.

    5) To get the ps file, you can run dvips next; To get a PDF file, you can run dvipdfm

    Adopt a graphical development environment:

    It depends on what kind of development environment you have installed. In China, CTEX suite is often used in Windows systems. Graphical development environments vary from software to software, so it's best to find someone familiar with it to show you through.

  5. Anonymous users2024-02-03

    Use the box function in Dulatex, for example: zhi$a b}} $7 is the font size of the big dao

    Small and "a" is the body of the public layout, and "b" is the subscript of the formula. In addition, you can insert text in the formula.

    Inserting text into a formula can be done using the command:

    The text command is a bit more powerful than the original Latex command mbox, which automatically changes the font size depending on the position.

    Here's an example: this is $

    this is $_

    this is $_

    Renderings:

  6. Anonymous users2024-02-02

    Enter Chinese first, then select Chinese and set it as "Subscript".

  7. Anonymous users2024-02-01

    How about you try this, $a me}} $ font size and "a" and "I" to the one you want.

  8. Anonymous users2024-01-31

    LaTex (LaTex) is a typesetting system based on this format, even if the user has no knowledge of typesetting and programming, he can take advantage of the powerful features provided by Tex to generate a lot of book-quality prints, LaTex uses Tex as its formatting engine, and the current version of the Latex is LaTex 2.

    Grammatical advantages1.Typography drifts to make it bright.

    2.Automatically help you put it away**or stool pants**.

    3.It works seamlessly with Jabref and is completely free.

    Disadvantages of grammar1.Poor readability.

    2.It is inconvenient to enter**.

    The framework of the document4.Font size conversion commandSimple rules of grammar7.Longitudinal fixed spacing control command

Related questions
14 answers2024-04-02

Clamp the food, prevent the food from slipping, if you want to eat elegantly, when you pick up the food, you should pay attention to the food in front of you, don't stretch out your arms in that bold posture to pick up the food, and pay attention to ensure that your tableware is clean when you pick up the food, and don't mix it with food, giving people a feeling of unhygienic care.

7 answers2024-04-02

Egg whites, also known as egg albumen, are composed of about 88% water, 10% protein and 2% other substances (including trace minerals, fats, vitamins and glucose). From the above figure, we can clearly see that the main components of egg whites are water and protein, and the vast majority of them are water (the water in the egg white accounts for about 2 3 of the total water content of the whole egg). That's why adding egg whites to the batter without adding water can also make the batter thinner. >>>More

7 answers2024-04-02

How to negotiate a salary increase with the boss elegantly?Do these points, and you don't need to say that the boss will automatically add it to you.

24 answers2024-04-02

Asking too much is fruitless, if you don't want to go to the interview of the current company. This can be done after receiving an offer. Give the company a message in return. >>>More

10 answers2024-04-02

Good head shape: shaved directly.

Bad head shape: shave, then grow a beard, and use the shape of the beard to compensate for the defects in the shape of the head. >>>More