Ignore:
Timestamp:
Feb 13, 2024, 4:07:02 PM (2 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
acde87a
Parents:
c0d8e62
Message:

small cleanup to latex 'common' macros

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/LaTeXmacros/common.tex

    rc0d8e62 r9b96e90d  
    1111%% Created On       : Sat Apr  9 10:06:17 2016
    1212%% Last Modified By : Peter A. Buhr
    13 %% Last Modified On : Wed Jan 24 08:43:57 2024
    14 %% Update Count     : 593
     13%% Last Modified On : Tue Feb 13 13:38:58 2024
     14%% Update Count     : 599
    1515%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    1616
     
    297297xleftmargin=\parindentlnth,                             % indent code to paragraph indentation
    298298extendedchars=true,                                             % allow ASCII characters in the range 128-255
    299 escapechar=§,                                                   % LaTeX escape in CFA code §...§ (section symbol), emacs: C-q M-'
    300299mathescape=false,                                               % disable LaTeX math escape in CFA code $...$
    301300keepspaces=true,                                                %
     
    322321\lstset{
    323322language=CFA,
    324 %moredelim=**[is][\color{red}]{@}{@},   % red highlighting @...@
     323escapechar=§,                                                   % LaTeX escape in CFA code §...§ (section symbol), emacs: C-q M-'
    325324moredelim=**[is][\color{red}]{®}{®},    % red highlighting ®...® (registered trademark symbol) emacs: C-q M-.
    326325%moredelim=**[is][\color{blue}]{ß}{ß},  % blue highlighting ß...ß (sharp s symbol) emacs: C-q M-_
     
    332331% inline code ©...© (copyright symbol) emacs: C-q M-)
    333332\lstMakeShortInline©                                    % single-character for \lstinline
     333
    334334\else% regular ASCI characters
     335
    335336\lstnewenvironment{cfa}[1][]{% necessary
    336337\lstset{
    337338language=CFA,
    338339escapechar=\$,                                                  % LaTeX escape in CFA code
    339 mathescape=false,                                               % LaTeX math escape in CFA code $...$
    340340moredelim=**[is][\color{red}]{@}{@},    % red highlighting @...@
    341341}% lstset
Note: See TracChangeset for help on using the changeset viewer.