Skip to content

v1.5 LaTeX-cn release! HUGE changes —— Edited 2016.10.10

Compare
Choose a tag to compare
@wklchris wklchris released this 10 Oct 08:47
· 59 commits to master since this release

Warning:

This page may have been revised for many times, so its source code can be NOT up-to-date. You need to visit the main page of Note-by-LaTeX to get the latest source code consistent with the PDF here.

Again, this page only provides latest PDF but not latest source code.

2016.10.15 - I'm working for TikZ chapter now. To keep this v1.5 stable, draft PDF files won't be upload until I nearly finish it. However, you can download my latest code and compile it by yourself. Then you can see where I'm.

Features:

  • LaTeX-cn (v1.4): It's a version written after reading LaTeX入门. Changes include:
    • Largely enhance the highlight of source code, commands, environments & packages.
    • Add a new chapter to introduce the Pros & Cons of LaTeX, and on which occasion you may need it.
    • Add a new subsection: Linespace.
      • \linespread & \baselineskip
      • \lineskiplimit & \lineskip
    • Add a new subsection: Lapbox
      • \rlap and \llap
    • Add a new subsection: tcolorbox package
    • Add some new subsections
    • Appendix:
      • Using \appendix instead of \begin{appendices} (supported by appendix package) in Appendix chapters.
      • renewcommand chapter-format
    • Some skills to change default font, including \rmdefault and \familydefault commands.
    • Changes about packages:
      1. txtfont package: selecting Roman font in your doc.
      2. fontspec package: how to set your font in math environment, include \setmathrm and some other commands.
      3. ctex package:
        • 7 new font commands: \songti, \heiti, \fangsong, \kaishu, \yahei, \lishu, \youyuan.
        • \zihao command: \zihao{0/-0/1/-1/...}.
      4. tcolorbox package: large amount of modification to use this instead of listings package.
      5. lettrin package: \lettrine
      6. shortverb package: \MakeShortVerb
      7. multicol package: how to change columns in the middle of the page
      8. makecell package: \makecell, \multirowcell, \Xhline, \Xcline
      9. caption & subcaption package
      10. colortbl package
      11. Others: nameref, lastpage, imakeidx, glossary, diagbox package
    • Other small changes:
      • Using \@ instead of \null (from TeX) to control the space after dot.
      • Using \width, \height, \depth, and \totalheight to refer to normal parameters of the box should have owned.
      • Using \char` command to generate special symbols.
      • Adding braces in Appendix A.
      • Adding a new pic about box: height, width and depth.
      • Adding new contents about \footnote and \marginpar
      • Depth of ToC: \setcounter{tocdepth}{2}
      • New contents about font in LaTeX, \fontfamily{...}\selectfont
      • New example about \newenvironment
      • New example about use of \rlap and \overbrace
    • Others:
      • \hrulefill and \dotfill
      • \firsthline and lasthline
      • \underbracket and \overbracket (math mode)
      • \cfrac and some others (math mode)
      • Typos fixing