Code Monkey home page Code Monkey logo

guetreport's Issues

附录代码块的设置问题

https://github.com/wrm244/GUETReport/blob/893cff0b596d745c93b22f2fafdad32ffc424577/setup/package.tex 根据该设置,附录B的代码框上出现的langague文字请问是什么设置呢?
image

修改为:

\lstset{%
	basicstyle=\ttfamily\small, % 基本样式为等宽小号字体
	language=c, % 设置语言为 MATLAB,也可以改成其他代码
	morekeywords={numerictype,fimath,fipref,fi,trh},
	commentstyle=\color{codegreen},		% 注释颜色
	keywordstyle=\color{blue},			% 代码关键字颜色
	stringstyle=\color{codepurple},		% 代码中字符串颜色
	frame=single,			% 设置边框
	xleftmargin=0.7em,% 代码左侧与边距的距离	
	numbers=left, % 行号显示在左侧
	numberstyle=\small,		% 行号字体用小号为小号灰色
	% stepnumber=1, % 行号步长为 1
	% showspaces=false, % 不显示空格
	% showstringspaces=false, % 不显示字符串中的空格
	breaklines=true, % 自动换行
	extendedchars=false,  %解决代码跨页时,章节标题,页眉等汉字不显示的问题
	columns=flexible,		% 调整字符之间的距离
	tabsize=4				% table 长度

}

langague字样消失

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.