English 中文(简体)
缩略语
原标题:Latex listings strings and keywords

页: 1

I m working on a latex document and I pull some code in with the listings package. I found some great stuff here on stackoverflow and i look really cool but there are two things I want but I don t know how to get.

我愿看到我法典中强调的几句和关键词(关键词并非晚关键词)(我强调我只是大体的肤色或东西。 插座的模式是“扼杀”,关键词是:关键词(从:到下一个空间)。 没有人知道如何这样做。

谢谢你们。

最佳回答

我并不认为列名能够处理。 您可以强调说明(通过<>条码>,说明式选择适用),但并非任意表示(您需要关键词)。

另一种办法是使用minted包装。 诚然,其使用并不直截了当,因为它依赖将安装的附加软件(设备),而是依靠配有现成的封闭法的加边船只。

(如果你下载,则使用储存库的提纲版本,而不是最新的释放,因为释放是假的。

问题回答

Here is my package for support clojure in listings package. You can highlight keywords by using standard listings settings

列入名单一揽子文件提供了一个例子,说明你自己的语言,并具体说明其关键词。 例子始于:

lstdefinelanguage{rock} {morekeywords={one,two,three,four,five,six,seven,eight,
nine,ten,eleven,twelve,o,clock,rock,around,the,tonight},

我没有利用这一特征的经验,但我相信,你能够把这一特征推到底。 你也必须确保你就你列入名单提出关键词。





相关问题
Effective Version Control for Slides

I have to maintain a huge set of training material in forms of slides. At a first glance, I ve noticed there s no support for version control in OpenOffice OOImpress (but I might be wrong on this). ...

Maths in LaTex table of contents

I am trying to add a table of contents for my LaTex document. The issue I am having is that this line: subsubsection{The expectation of (X^2)} Causes an error in the file that contains the ...

Using vim s `gqap sometimes indents unusually

For the life of me, I cannot figure out the cause of this: when writing in LaTeX documents, I like to keep my line width to maximum of 80 characters. As such, I will execute the vim command gqap and ...

aligning math equations in Latex

I am trying to align the following equations around the equal sign. What can I do? Thanks! I am using the AMSMath package $$mddot{x}_{1}-K(x_{2}+x_{12})+C(dot{x}_{12}+dot{x}_{2})+2Cdot{x}_{1} ...

LaTeX output does not update

I have just begun using LaTeX. I am working in Windows and am using TeXnicCenter as my editor. When I build and output, having the following code: documentclass{article} egin{document} This is a ...

How to put line break in a math

I d like to express the following sentence (source_location is also italic, it s not correctly rendered): Each entry has a list of tuple: < source_location, R/W, trip_counter, occurrence, killed ...

热门标签