Others
Two Column Document
1 2 3 4 5 6 7 \documentclass[UTF8,a4paper,14pt,twocolumn]{ctexart} \begin{document} \twocolumn[ \begin{@twocolumnfalse} % something here may cross two column \end{@twocolumnfalse}] \end{document}
Hyperlink
1 2 3 \usepackage[colorlinks,linkcolor=blue]{hyperref} % include this package as the final one \href{https://www.google.com}{Google}
Code Display
1 2 3 4 5 6 7 8 9 10 11 12 13 14 \usepackage{listings} \lstset{numbers=left, numberstyle=\tiny, basicstyle=\small\ttfamily, stringstyle=\color{purple}, keywordstyle=\color{red!25!green!33!blue!100}\bfseries, commentstyle=\color{olive}, %directivestyle=\color{blue}, frame=shadowbox, framerule=0pt, backgroundcolor=\color{red!0.5!green!0.5!blue!0.5!}, rulesepcolor=\color{red!20!green!20!blue!20}} \begin{lstlisting}[language={[ANSI]C}] \end{lstlisting}
or a more convenient way:
1 2 3 4 5 6 \usepackage{listings} \usepackage[cache=false]{minted} \begin{minted}[frame=single, tabsize=4,breaklines=true,breakanywhere=true]{js} print("\n") \end{minted} \mintinline{python}{print("\n")}
Tight List
1 2 \providecommand{\tightlist}{% \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
Insert Author Info
1 2 3 4 5 \usepackage[colorlinks,linkcolor=blue]{hyperref} \hypersetup{ pdftitle={None}, pdfauthor={Nobody} }
Rename Section/Subsection
1 2 \renewcommand\thesection{\arabic{section}} \renewcommand\thesubsection{\thesection.\arabic{subsection}}
\arabic
(1, 2, 3, ...)
\alph
(a, b, c, ...)
\Alph
(A, B, C, ...)
\roman
(i, ii, iii, ...)
\Roman
(I, II, III, ...)
\fnsymbol
(∗, †, ‡, §, ¶, ...)