-
-
Notifications
You must be signed in to change notification settings - Fork 119
Expand file tree
/
Copy pathmacros_extensions.tex
More file actions
20 lines (14 loc) · 806 Bytes
/
macros_extensions.tex
File metadata and controls
20 lines (14 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
% \newcommand{\idxmdl}[1]{#1@\CodeStylex{#1}}
\newcommand{\idxexposid}[1]{#1@\ExposStylex{#1}}
\newcommand{\indexlibraryspec}[2]{\indexlibrarymisc{#1}{\idxcode{#2}}}
\newcommand{\ExposStylex}[1]{\CodeStylex{\textit{#1}}}
\newnoteenvironment{source}{Source}{end source}
\newcommand{\dvalue}{\Fundesc{Default value}}
%% Inline non-parenthesized C++ reference
\newcommand{\refcpp}[1]{\href{https://wg21.link/#1}{\Cpp{} [#1]}}
\newcommand{\irefcpp}[1]{\nolinebreak[3] (\refcpp{#1})}
\newcommand{\refcppx}[2]{\href{https://wg21.link/#1\##2}{\Cpp{} [#1]}}
\newcommand{\irefcppx}[2]{\nolinebreak[3] (\refcppx{#1}{#2})}
%% Inline IEV reference
\newcommand{\refiev}[1]{\href{https://www.electropedia.org/iev/iev.nsf/display?openform&ievref=#1}{IEV #1}}
\newcommand{\irefiev}[1]{\nolinebreak[3] (\refiev{#1})}