Changeset 9586d22 for doc/LaTeXmacros


Ignore:
Timestamp:
Apr 4, 2023, 12:04:52 PM (21 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, ast-experimental, master
Children:
4541b09
Parents:
deeda09
Message:

add access to LstNumberStyle?, make tt font smalled for lst string constants

Location:
doc/LaTeXmacros
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • doc/LaTeXmacros/common.sty

    rdeeda09 r9586d22  
    1111%% Created On       : Sat Apr  9 10:06:17 2016
    1212%% Last Modified By : Peter A. Buhr
    13 %% Last Modified On : Fri Feb 10 12:09:30 2023
    14 %% Update Count     : 581
     13%% Last Modified On : Tue Apr  4 12:03:19 2023
     14%% Update Count     : 585
    1515%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    1616
     
    266266\newcommand{\LstCommentStyle}[1]{{\lst@basicstyle{\lst@commentstyle{#1}}}}
    267267\newcommand{\LstStringStyle}[1]{{\lst@basicstyle{\lst@stringstyle{#1}}}}
     268\newcommand{\LstNumberStyle}[1]{{\lst@basicstyle{\lst@numberstyle{#1}}}}
    268269
    269270\newlength{\gcolumnposn}                                % temporary hack because lstlisting does not handle tabs correctly
     
    286287columns=fullflexible,
    287288basicstyle=\linespread{0.9}\sf,                 % reduce line spacing and use sanserif font
    288 stringstyle=\tt,                                                % use typewriter font
     289stringstyle=\small\tt,                                  % use typewriter font
    289290tabsize=5,                                                              % N space tabbing
    290291xleftmargin=\parindentlnth,                             % indent code to paragraph indentation
  • doc/LaTeXmacros/common.tex

    rdeeda09 r9586d22  
    1111%% Created On       : Sat Apr  9 10:06:17 2016
    1212%% Last Modified By : Peter A. Buhr
    13 %% Last Modified On : Fri Feb 17 08:32:47 2023
    14 %% Update Count     : 565
     13%% Last Modified On : Tue Apr  4 12:03:18 2023
     14%% Update Count     : 567
    1515%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    1616
     
    291291columns=fullflexible,
    292292basicstyle=\linespread{0.9}\sf,                 % reduce line spacing and use sanserif font
    293 stringstyle=\tt,                                                % use typewriter font
     293stringstyle=\small\tt,                                  % use typewriter font
    294294tabsize=5,                                                              % N space tabbing
    295295xleftmargin=\parindentlnth,                             % indent code to paragraph indentation
Note: See TracChangeset for help on using the changeset viewer.