定义csv语言的语法高亮,以latex语法 sjzuthesisextra.sty:45-55 [code]
- User
定义csv语言的语法高亮,以latex语法
sjzuthesisextra.sty:45-55
code% 定义CSV语言的语法高亮 \lstdefinelanguage{CSV}{ morekeywords={feature_id,geometry_type,geometry_wkt,photo_paths,备注,时间}, % CSV header as keywords keywordstyle=\color{codekeyword}\bfseries, sensitive=false, morestring=[b]", % Strings enclosed in double quotes stringstyle=\color{codestring}, commentstyle=\color{codecomment}, % Use comment style for other text? Or maybe just default. Let's stick to default for now. showstringspaces=false, literate={,}{,}{0} % Treat comma as a literal character, not a separator for keywords } Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.