\ProvidesPackage{cquthesis}[2016/06/09 The place for your beloved packages and customization.] %=====ä½ å¯ä»¥åœ¨è¿™é‡Œä½¿ç”¨\RequirePackage[包选项]{包åç§°}导入想用的Package======= %=====以åŠå®šä¹‰ä½ 自己的功能和常é‡======= \newcommand{\speakyourlove}[1][Mom]{\emph{#1, I Love You!}} % æ™¶å‘æŒ‡æ•°æ”¯æŒï¼Œå¦‚果需è¦è¯·å–消下é¢ä¸¤è¡Œæ³¨é‡Šï¼š % \RequirePackage{miller} % \pretocmd{\hkl}{{ }}{}{} % % 物ç†ç¬¦å·å®åŒ…: %\RequirePackage{physics} % % 计算机算法å®åŒ…: %\RequirePackage{algorithm2e} %\RequirePackage{algorithmic} % % 绘图å®åŒ…: %\RequirePackage{tikz} % % 绘制电路图: %\RequirePackage{circuitikz} % 这两个个å®åŒ…ä»…ä¾›å‚考,未必使用: % \RequirePackage{floatflt} % 图文混排用å®åŒ… % \RequirePackage{rotating} % å›¾å½¢å’Œè¡¨æ ¼çš„æŽ§åˆ¶æ—‹è½¬ %========一些推è功能========= % ç”¨ä¸æ–‡åŒå¼•å·æ‹¬èµ·æ–‡å— \newcommand{\qthis}[1]{{“}#1{â€}} %交å‰å¼•用图Xã€è¡¨Xã€æ–¹ç¨‹X(æ¤å¤„为å‘å‰å…¼å®¹ï¼Œå¼ºçƒˆæŽ¨è使用\autoref{label}) \newcommand{\figref}[1]{图\ref{#1}} \newcommand{\tabref}[1]{表\ref{#1}} %\eqrefå·²ç»æ”¹å†™è¿‡ %================================ %**********代ç å¼€å‘区域*********** %================================ % 借用 ltxdoc 里é¢çš„å‡ ä¸ªå‘½ä»¤ã€‚ \def\cmd#1{\cs{\expandafter\cmd@to@cs\string#1}} \def\cmd@to@cs#1#2{\char\number`#2\relax} \DeclareRobustCommand\cs[1]{\texttt{\char`\\#1}} \DeclareRobustCommand\csgo[2]{\cs{#1\{#2\}}} \newcommand*{\meta}[1]{{% \ensuremath{\langle}\rmfamily\itshape#1\/\ensuremath{\rangle}}} \providecommand\marg[1]{% {\ttfamily\char`\{}\meta{#1}{\ttfamily\char`\}}} \providecommand\oarg[1]{% {\ttfamily[}\meta{#1}{\ttfamily]}} \providecommand\parg[1]{% {\ttfamily(}\meta{#1}{\ttfamily)}} \providecommand\pkg[1]{{\sffamily#1}} % 文件夹列表 \usepackage{dirtree} % The following is a dummy icon command \newcommand\myicon[1]{{\color{#1}\rule{2ex}{2ex}}} % If you have actual icon images, use \includegraphics to include them % If you are generating them, put in the appropriate code for them here % now we make a command for a folder/file which inserts the icon and its label % adjust this as needed. If you only have 2 icons, then you could create % a \myfile and \myfolder command with the icon fixed. \newcommand{\myfolder}[2]{\myicon{#1}\ {#2}}