You can choose to highlight parts of Info’s display, such as cross-references and search matches, using a variety of styles, including colors, boldface and underline. Here are the variables that are available to do this:
Used for cross-references and menu entries.
Used for a cross-references or menu entry when typing RET would have the effect of following said cross-reference or menu entry.
Used for matches from a search command. (See Searching Commands.)
Each of these is given in the .infokey file just as the variables in the previous chapter. Their values are a comma-separated list of values in the following table:
Use the color specified for text.
Turn off any color that was in effect, using the terminal’s default color.
Use the color specified for the background.
Use the terminal’s default background color.
Turn text underline on or off.
Turn ‘standout mode’ on or off. Standout mode entails the use of appearance modes that make text stand out, and varies between terminals.
Turn boldface on or off.
Make the text blink, or not.
Here is an sample excerpt from an .infokey file:
#var link-style=yellow active-link-style=yellow,bold match-style=underline,bold,nocolour
With this, cross-references are all yellow, and active cross-references are additionally displayed in bold. Any search matches will be shown in bold, and underlined. Moreover, if there is a search match inside a cross-reference, the ‘nocolour’ rendition style will cancel the yellow colour, leaving the text in the match the terminal’s default colour. (Note, however, that the rendition styles for active cross-references take priority over those for search matches, so search matches there will still be displayed in yellow.)