Customize or redefine how to use the environment and commands in LaTeX.
Word-by-word transcription and code printing re-realize the word-by-word and word-by-word * environment of LaTeX, and provide new environments, namely comment and verbatiminput, to add comments to documents and directly transcribe files. Is one of LaTeX standard toolkit tools. General TeX software includes this macro package. \ new command {new command }[ number of parameters] [default value] {definition content} The new command conforms to the command composition rules and cannot have the same name as the system and the macro package command called. Parameter number: optional; Used to specify the number of parameters the command has; The default value is 0, that is, there are no parameters. Default value: optional, used to set the default value of the first parameter. If the default value is given when defining, the first parameter of the surface command is optional, and the new command can only have one optional parameter at most, and it must be the first parameter. Command content: When a parameter is involved, the symbol # is used to redefine the command parameter. Command parameters must not include transcription command \ verbs, verbatim transcription environment and related commands and environments. Choose editing software with folding function to hide irrelevant content. Large projects are divided into multiple files, and the main file only cares about the structure. The contents of each chapter and complex drawings are set separately and imported through input and include. Don't use templates downloaded from the Internet or directly borrowed from others. I've seen chapter titles manually bold and centered, and I've also seen Greek letters defined by English letters. It's strange to use LaTeX as a word Develop good habits of line breaking, tabulation, spaces and indentation, just like programming. Don't mix long formulas in the middle of text. Add labels at will, and the label name has a system to follow. Make good use of search function to locate when editing. Choose a good distribution, use IDE, such as TeX Live+TeXstudio, and update frequently. Text editors have too little support for processing large documents. TeXstudio, an IDE, has code folding. Grammar and syntax are not only important functions such as spell checking, embedded preview, and jumping between code and PDF.