File: default.style.texinfo

package info (click to toggle)
source-highlight 3.1.7-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 10,332 kB
  • ctags: 5,233
  • sloc: sh: 11,270; cpp: 10,206; ansic: 9,515; makefile: 1,865; lex: 1,200; yacc: 1,021; php: 213; perl: 211; awk: 98; erlang: 94; lisp: 90; java: 75; ruby: 69; python: 61; asm: 43; ml: 38; ada: 36; haskell: 27; xml: 23; cs: 11; sql: 8; tcl: 6; sed: 4
file content (75 lines) | stat: -rw-r--r-- 2,651 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
@c Generator: GNU source-highlight, by Lorenzo Bettini, http://www.gnu.org/software/src-highlite
@example
@b{bgcolor} @t{"white"}; @r{@i{// the background color for documents}}
@t{@i{context}} @b{gray}; @r{@i{// the color for context lines (when specified with line ranges)}}

@t{@i{keyword}} @b{blue} @b{b} ; @r{@i{// for language keywords}}
@t{@i{type}} @b{darkgreen} ; @r{@i{// for basic types}}
@t{@i{usertype}} @b{teal} ; @r{@i{// for user defined types}}
@t{@i{string}} @b{red} @b{f} ; @r{@i{// for strings and chars}}
@t{@i{regexp}} @b{orange} @b{f} ; @r{@i{// for strings and chars}}
@t{@i{specialchar}} @b{pink} @b{f} ; @r{@i{// for special chars, e.g., \n, \t, \\}}
@t{@i{comment}} @b{brown} @b{i}, @b{noref}; @r{@i{// for comments}}
@t{@i{number}} @b{purple} ;       @r{@i{// for literal numbers}}
@t{@i{preproc}} @b{darkblue} @b{b} ; @r{@i{// for preproc directives (e.g. #include, import)}}
@t{@i{symbol}} @b{darkred} ; @r{@i{// for simbols (e.g. <, >, +)}}
@t{@i{function}} @b{black} @b{b}; @r{@i{// for function calls and declarations}}
@t{@i{cbracket}} @b{red}; @r{@i{// for block brackets (e.g. @{, @})}}
@t{@i{todo}} @b{bg:cyan} @b{b};       @r{@i{// for TODO and FIXME}}
@t{@i{code}} @b{bg:brightgreen} @b{b}; @r{@i{// for code snippets}}

@r{@i{//Predefined variables and functions (for instance glsl)}}
@t{@i{predef_var}} @b{darkblue} ;
@t{@i{predef_func}} @b{darkblue} @b{b} ;

@r{@i{// for OOP}}
@t{@i{classname}} @b{teal} ; @r{@i{// for class names, e.g., in Java and C++}}

@r{@i{// line numbers}}
@b{linenum} @b{black} @b{f};

@r{@i{// Internet related}}
@t{@i{url}} @b{blue} @b{u}, @b{f};

@r{@i{// other elements for ChangeLog and Log files}}
@t{@i{date}} @b{blue} @b{b} ;
@t{@i{time}}, @t{@i{file}} @b{darkblue} @b{b} ;
@t{@i{ip}}, @t{@i{name}} @b{darkgreen} ;

@r{@i{// for Prolog, Perl...}}
@t{@i{variable}} @b{darkgreen} ;

@r{@i{// explicit for Latex}}
@t{@i{italics}} @b{darkgreen} @b{i};
@t{@i{bold}} @b{darkgreen} @b{b};
@t{@i{underline}} @b{darkgreen} @b{u};
@t{@i{fixed}} @b{green} @b{f};
@t{@i{argument}} @b{darkgreen};
@t{@i{optionalargument}} @b{purple};
@t{@i{math}} @b{orange};
@t{@i{bibtex}} @b{blue};

@r{@i{// for diffs}}
@t{@i{oldfile}} @b{orange};
@t{@i{newfile}} @b{darkgreen};
@t{@i{difflines}} @b{blue}; 

@r{@i{// for css}}
@t{@i{selector}} @b{purple};
@t{@i{property}} @b{blue};
@t{@i{value}} @b{darkgreen} @b{i};

@r{@i{// for oz}}
@t{@i{atom}} @b{orange};
@t{@i{meta}} @b{i};

@r{@i{// for file system}}
@t{@i{path}} @b{orange};

@r{@i{// for C (or other language) labels}}
@t{@i{label}} @b{teal} @b{b};

@r{@i{// for errors}}
@t{@i{error}} @b{purple};
@t{@i{warning}} @b{darkgreen};
@end example