diff options
-rw-r--r-- | docs/gpl.md | 32 | ||||
-rw-r--r-- | pdf/template.tex | 21 |
2 files changed, 33 insertions, 20 deletions
diff --git a/docs/gpl.md b/docs/gpl.md index 328d5e8..c10240f 100644 --- a/docs/gpl.md +++ b/docs/gpl.md @@ -248,29 +248,25 @@ f. 要求任何发布该材料(或其修改版本)的人用对接收者的 为了做到这一点,请将以下声明附加到程序上。最安全的作法,是将声明放在每份源码文件的起始处,以有效传达无担保责任的讯息;且每份文件至少应有「版权」列以及本份声明全文位置的提示。 -``` -<用一行描述程序的名称与其用途简述> -版权所有(C) <年份><作者姓名> -本程序为自由软件;您可依据自由软件基金会所发表的GNU通用 -公共授权条款,对本程序再次发布和/或修改;无论您依据的 -是本授权的第三版,或(您可选的)任一日后发行的版本。 -本程序是基于使用目的而加以发布,然而不负任何担保责任; -亦无对适售性或特定目的适用性所为的默示性担保。详情请 -参照GNU通用公共授权。 -您应已收到附随于本程序的GNU通用公共授权的副本;如果没有,请参照 -<http://www.gnu.org/licenses/>. -``` +> <用一行描述程序的名称与其用途简述> +> 版权所有(C) <年份><作者姓名> +> 本程序为自由软件;您可依据自由软件基金会所发表的GNU通用 +> 公共授权条款,对本程序再次发布和/或修改;无论您依据的 +> 是本授权的第三版,或(您可选的)任一日后发行的版本。 +> 本程序是基于使用目的而加以发布,然而不负任何担保责任; +> 亦无对适售性或特定目的适用性所为的默示性担保。详情请 +> 参照GNU通用公共授权。 +> 您应已收到附随于本程序的GNU通用公共授权的副本;如果没有,请参照 +> <http://www.gnu.org/licenses/>. 同时附上如何以电子及书面信件与您联系的资料。 如果程序进行终端交互方式运作,请在交互式模式开始时,输出以下提示: -``` -<程序> 版权所有(C) <年份> <作者姓名> -本程序不负任何担保责任,欲知详情请键入'show w'。 -这是一个自由软件,欢迎您在特定条件下再发布本程序; -欲知详情请键入'show c'。 -``` +> <程序> 版权所有(C) <年份> <作者姓名> +> 本程序不负任何担保责任,欲知详情请键入'show w'。 +> 这是一个自由软件,欢迎您在特定条件下再发布本程序; +> 欲知详情请键入'show c'。 所假设的指令'show w'与'show c'应显示通用公共授权的相对应条款。当然,您可以使用'show w'与'show c'以外的指令名称;对于图形用户界面,您可以用“关于”项代实现此功能。 diff --git a/pdf/template.tex b/pdf/template.tex index d0f0eb4..ced5b0b 100644 --- a/pdf/template.tex +++ b/pdf/template.tex @@ -171,7 +171,7 @@ framexleftmargin=20pt % below for code syntax highlight \usepackage{fancyvrb} -\VerbatimFootnotes +\usepackage{bigfoot} %\DefineShortVerb[commandchars=\\\{\}]{\|} \DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\{\},frame=leftline,fontsize=\small} % Add ',fontsize=\small' for more characters per line @@ -181,13 +181,30 @@ framexleftmargin=20pt \newcommand{\DecValTok}[1]{\textcolor[rgb]{0.25,0.63,0.44}{{#1}}} \newcommand{\BaseNTok}[1]{\textcolor[rgb]{0.25,0.63,0.44}{{#1}}} \newcommand{\FloatTok}[1]{\textcolor[rgb]{0.25,0.63,0.44}{{#1}}} +\newcommand{\ConstantTok}[1]{\textcolor[rgb]{0.53,0.00,0.00}{{#1}}} \newcommand{\CharTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{{#1}}} +\newcommand{\SpecialCharTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{{#1}}} \newcommand{\StringTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{{#1}}} +\newcommand{\VerbatimStringTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{{#1}}} +\newcommand{\SpecialStringTok}[1]{\textcolor[rgb]{0.73,0.40,0.53}{{#1}}} +\newcommand{\ImportTok}[1]{{#1}} \newcommand{\CommentTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textit{{#1}}}} +\newcommand{\DocumentationTok}[1]{\textcolor[rgb]{0.73,0.13,0.13}{\textit{{#1}}}} +\newcommand{\AnnotationTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textbf{\textit{{#1}}}}} +\newcommand{\CommentVarTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textbf{\textit{{#1}}}}} \newcommand{\OtherTok}[1]{\textcolor[rgb]{0.00,0.44,0.13}{{#1}}} -\newcommand{\AlertTok}[1]{\textcolor[rgb]{1.00,0.00,0.00}{\textbf{{#1}}}} \newcommand{\FunctionTok}[1]{\textcolor[rgb]{0.02,0.16,0.49}{{#1}}} +\newcommand{\VariableTok}[1]{\textcolor[rgb]{0.10,0.09,0.49}{{#1}}} +\newcommand{\ControlFlowTok}[1]{\textcolor[rgb]{0.00,0.44,0.13}{\textbf{{#1}}}} +\newcommand{\OperatorTok}[1]{\textcolor[rgb]{0.40,0.40,0.40}{{#1}}} +\newcommand{\BuiltInTok}[1]{{#1}} +\newcommand{\ExtensionTok}[1]{{#1}} +\newcommand{\PreprocessorTok}[1]{\textcolor[rgb]{0.74,0.48,0.00}{{#1}}} +\newcommand{\AttributeTok}[1]{\textcolor[rgb]{0.49,0.56,0.16}{{#1}}} \newcommand{\RegionMarkerTok}[1]{{#1}} +\newcommand{\InformationTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textbf{\textit{{#1}}}}} +\newcommand{\WarningTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textbf{\textit{{#1}}}}} +\newcommand{\AlertTok}[1]{\textcolor[rgb]{1.00,0.00,0.00}{\textbf{{#1}}}} \newcommand{\ErrorTok}[1]{\textcolor[rgb]{1.00,0.00,0.00}{\textbf{{#1}}}} \newcommand{\NormalTok}[1]{{#1}} % end of code syntax highlight |