Ignore:
Timestamp:
Feb 13, 2024, 4:07:02 PM (8 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.sty

    rc0d8e62 r9b96e90d  
    1111%% Created On       : Sat Apr  9 10:06:17 2016
    1212%% Last Modified By : Peter A. Buhr
    13 %% Last Modified On : Sun Jan 21 13:17:48 2024
    14 %% Update Count     : 633
     13%% Last Modified On : Tue Feb 13 15:39:51 2024
     14%% Update Count     : 634
    1515%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    1616
     
    293293xleftmargin=\parindentlnth,                             % indent code to paragraph indentation
    294294extendedchars=true,                                             % allow ASCII characters in the range 128-255
    295 escapechar=§,                                                   % LaTeX escape in CFA code §...§ (section symbol), emacs: C-q M-'
    296295mathescape=false,                                               % disable LaTeX math escape in CFA code $...$
    297296keepspaces=true,                                                %
     
    318317\lstset{
    319318language=CFA,
    320 %moredelim=**[is][\color{red}]{@}{@},   % red highlighting @...@
     319escapechar=§,                                                   % LaTeX escape in CFA code §...§ (section symbol), emacs: C-q M-'
    321320moredelim=**[is][\color{red}]{®}{®},    % red highlighting ®...® (registered trademark symbol) emacs: C-q M-.
    322321%moredelim=**[is][\color{blue}]{ß}{ß},  % blue highlighting ß...ß (sharp s symbol) emacs: C-q M-_
     
    328327% inline code ©...© (copyright symbol) emacs: C-q M-)
    329328\lstMakeShortInline©                                    % single-character for \lstinline
     329
    330330\else% regular ASCI characters
     331
    331332\lstnewenvironment{cfa}[1][]{% necessary
    332333\lstset{
    333334language=CFA,
    334335escapechar=\$,                                                  % LaTeX escape in CFA code
    335 mathescape=false,                                               % LaTeX math escape in CFA code $...$
    336336moredelim=**[is][\color{red}]{@}{@},    % red highlighting @...@
    337337}% lstset
Note: See TracChangeset for help on using the changeset viewer.