info-stnd: Colors and Styles
1
1 13 Colors and Styles
1 ********************
1
1 You can choose to highlight parts of Info's display, such as
1 cross-references and search matches, using a variety of styles,
1 including colors, boldface and underline. Here are the variables that
1 are available to do this:
1
1 'link-style'
1 Used for cross-references and menu entries.
1
1 'active-link-style'
1 Used for a cross-references or menu entry when typing <RET> would
1 have the effect of following said cross-reference or menu entry.
1
1 'match-style'
11 Used for matches from a search command. (⇒Searching
Commands.)
1
1 Each of these is given in the '.infokey' file just as the variables
1 in the previous chapter. Their values are a comma-separated list of
1 values in the following table:
1
1 'black'
1 'red'
1 'green'
1 'yellow'
1 'blue'
1 'magenta'
1 'cyan'
1 'white'
1 Use the color specified for text.
1
1 'nocolour'
1 'nocolor'
1 Turn off any color that was in effect, using the terminal's default
1 color.
1
1 'bgblack'
1 'bgred'
1 'bggreen'
1 'bgyellow'
1 'bgblue'
1 'bgmagenta'
1 'bgcyan'
1 'bgwhite'
1 Use the color specified for the background.
1
1 'bgnocolour'
1 'bgnocolor'
1 Use the terminal's default background color.
1
1 'underline'
1 'nounderline'
1 Turn text underline on or off.
1
1 'standout'
1 'nostandout'
1 Turn 'standout mode' on or off. Standout mode entails the use of
1 appearance modes that make text stand out, and varies between
1 terminals.
1
1 'bold'
1 'regular'
1 'nobold'
1 Turn boldface on or off.
1
1 'blink'
1 'noblink'
1 Make the text blink, or not.
1
1 Here is an sample excerpt from an '.infokey' file:
1
1 #var
1 link-style=yellow
1 active-link-style=yellow,bold
1 match-style=underline,bold,nocolour
1
1 With this, cross-references are all yellow, and active cross-references
1 are additionally displayed in bold. Any search matches will be shown in
1 bold, and underlined. Moreover, if there is a search match inside a
1 cross-reference, the 'nocolour' rendition style will cancel the yellow
1 colour, leaving the text in the match the terminal's default colour.
1 (Note, however, that the rendition styles for active cross-references
1 take priority over those for search matches, so search matches there
1 will still be displayed in yellow.)
1