User's Guide to CLShanCommands

Last updated: December 5, 2013
Home       Books       Research Papers       Research Talks       Scientific Tools

I wrote some useful "LaTeX packages" for physicists, especially for elementary particle physicists.

In the clshan-math package I defined more than 500 commands for the mathematical symbols which could be used very often in our equations. In the clshan-matrix package I defined 28 matrices which can be always found in elementary particle physics, e.g. the "Pauli matrices" and the "Dirac gamma matrices". I also defined the clshan-YoungTableaux package for drawing the "Young Tableaux" easily.

For the people who use the "beamer class" to make their slides my clshan-beamer package with more than 50 useful commands can help them design their slides easily, especially for inserting pictures.

Moreover, I have also the clshan-color package and the clshan-font package to help the LaTeX users using different colors for text and background and some special type fonts and some special symbols defined in these fonts easily.

One can find all definitions of and lots of examples for the new commands defined in my packages in the book "User's Guide to CLShanCommands". Otherwise, there are also two files "CLShanCmds-Examples-Math" and "CLShanCmds-Examples-Matrix" for a quick view of the commands of the symbols and matrices defined in the clshan-math and clshan-matrix packages, respectively.

On the other hand, I also collected all my commands for drawing some figures with the normal LaTeX commands in my another book "Handbook of CLShanFigures". Most of these figures are for "Classical Mechanics" and "Quantum Mechanics". Because I used only the normal LaTeX commands to draw these figures, their orginal commands are flexible to be modified for your personal needs.

Please enjoy LaTeX as well as my "CLShanCommands" and "CLShanFigures".

Chung-Lin Shan



I wrote this User's Guide to help you to understand my \newcommands system in the clshan-math (Chapters 1 and 2), the clshan-matrix (Chapter 3), the clshan-YoungTableaux (Chapter 4), the clshan-beamer (Chapter 6), the clshan-color (Chapter 7) and the clshan-font (Chapter 8) packages and to use them conveniently. You can just take my definitions of these \newcommands, if you like them. Or, if you have some better ideas, you can also modify some of my definitions to your favorite style. By the way, if you want, please share me your good ideas.

On the other hand, you have two ways to use my whole packages. If you just use LaTeX 2.09, you have to delete (or at least add a % at the beginning of) the second and the third lines (\ProvidesPackage{clshan-xxxxxx} and \NeedsTeXFormat{LaTeX2e}) in the .sty files and save them as .tex files. Then you can copy or link the .tex files in the dictionary in which you work and input or include them to your own files.

If you use LaTeX2ε instead of LaTeX 2.09 (you use \documentclass instead of \documentstyle in the first line of your LaTeX files), it must be a better and more convenient way to use the \usepackage{clshan-xxxxxx} command. If you use WinEdt with MiKTeX to compile your .tex files, you can put the clshan-xxxxxx.sty files in a, for example, C:\MiKTeX\tex\latex\clshan\ dictionary, and then open the MiKTeX Options in the Accessories in the WinEdt Toolbar to Refresh the Files name database. Then you can use the \usepackage{clshan-xxxxxx} command directly.

Finally, if you find this User's Guide to CLShanCommands too thick to read (since Version 4.0 it is already more than one hundred pages) and just want a quick view of my \newcommands and their examples, it is convenient for you to look my CLShanCmds-Examples-Math.pdf file for my mathematical symbols in Chapter 2, and my CLShanCmds-Examples-Matrix.pdf file for the matrices in Chapter 3.


In Version 2.1, I added a few \newcommands in Sections 2.3 and 2.15.

In Version 3.0, I added more \newcommands in Sections 1.3, 1.4, and 2.14. Meanwhile, in order to use the \newcommands in Section 1.3 in the beamer class, I redefined them in the clshan-beamer package (Section 6.2).

In Version 3.1, I added a few \newcommands in Section 2.3.

In Version 4.0, I completed my "a-b-c-v-n-s" and "A-B-C-V-N" systems for brackets, absolute values, norms, and square roots in Section 2.3, for ordinary differentiations in Section 2.6, for partial differentiations in Section 2.7, and for the operators involving the ∇ in Section 2.8. Moreover, I modified my definitions of the atomic symbols in Section 2.11.

In Version 4.1, I corrected some of my \newcommands for changing equation numbers in Section 1.4.

In Version 4.2, I added two \newcommands for changing equation numbers in Section 1.4.

In Version 5.0, I wrote a new package: clshan-YoungTableaux for drawing the Young Tableaux in Chapter 4, meanwhile I separated my \newcommands for matrices (Chapter 3) from the clshan-math package and rewrote them to the clshan-matrix package. I also added a \newcommand in Section 2.14, and improved some definitions in Sections 2.14 and 6.4.

In Version 07-1.0, I wrote the clshan-color package for using different colors for text and background in Chapter 7 and the clshan-font package for using some special type fonts and some special symbols defined in these fonts in Chapter 8.

In Version 07-1.1, I improved the definitions of the \newcommands for using the special symbols in the different type fonts in the clshan-font package (Section 8.2), in order ensure that these symbols can be shown correctly in the math mode.

In Version 07-1.2, I improved some definitions of the \newcommands for changing equation numbers in the clshan-math package (Section 1.4), in order to ensure that these commands do not produce extra undesirable space.

In Version 10-1.0, I added some \newcommands for typing different number of letters together under a "/ (slash)" sign in Section 2.13.

In Versions 11-1.0, 11-1.01 and 11-1.1, I added some new defined colors in the clshan-color package (Chapter 7). Meanwhile, Section 9.1 has been updated according to the modification of the definitions of the special \newcommands used in this User's Guide.


Here I want to thank Dr. Markus Bernhardt and Dr. Ulrich Langenfeld, two of my former German colleagues in the Physikalisches Institut der Universität Bonn, for the new idea and interesting challenge for the \eliminate and \cancel commands defined in Section 2.14 as well as the strong improvement of the Young Tableaux in Chapter 4. I would also appreciate Prof. Ling-Lie Chau for the opportunity to contribute my \newcommands for some commonly used "slashs" (see Section 2.13) to her works.


Valid XHTML 1.0 Valid CSS CC-BY-SA