v1.5 LaTeX-cn release! HUGE changes —— Edited 2016.10.10
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
- Using
- Some skills to change default font, including
\rmdefault
and\familydefault
commands. - Changes about packages:
- txtfont package: selecting Roman font in your doc.
- fontspec package: how to set your font in math environment, include
\setmathrm
and some other commands. - ctex package:
- 7 new font commands:
\songti
,\heiti
,\fangsong
,\kaishu
,\yahei
,\lishu
,\youyuan
. \zihao
command:\zihao{0/-0/1/-1/...}
.
- 7 new font commands:
- tcolorbox package: large amount of modification to use this instead of listings package.
- lettrin package:
\lettrine
- shortverb package:
\MakeShortVerb
- multicol package: how to change columns in the middle of the page
- makecell package:
\makecell
,\multirowcell
,\Xhline
,\Xcline
- caption & subcaption package
- colortbl package
- 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
- Using
- Others:
\hrulefill
and\dotfill
\firsthline
andlasthline
\underbracket
and\overbracket
(math mode)\cfrac
and some others (math mode)- Typos fixing