[bootlin/training-materials updates] master: common.sty: add extra Elixir macros (d267b628)

Michael Opdenacker michael.opdenacker at bootlin.com
Mon May 31 10:16:02 CEST 2021


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/d267b6283b32f3fb8bf5fd6ec9a23d1d9185d8c6

>---------------------------------------------------------------

commit d267b6283b32f3fb8bf5fd6ec9a23d1d9185d8c6
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Mon May 31 10:15:44 2021 +0200

    common.sty: add extra Elixir macros
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


>---------------------------------------------------------------

d267b6283b32f3fb8bf5fd6ec9a23d1d9185d8c6
 common/common.sty | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/common/common.sty b/common/common.sty
index 6cffc99e..6d540974 100644
--- a/common/common.sty
+++ b/common/common.sty
@@ -4,7 +4,9 @@
 \newcommand\projdir[2]{\href{https://elixir.bootlin.com/#1/latest/source/#2/}{\codelink{#2/}}}
 \newcommand\projfile[2]{\href{https://elixir.bootlin.com/#1/latest/source/#2}{\codelink{#2}}}
 \newcommand\projsym[2]{\href{https://elixir.bootlin.com/#1/latest/ident/#2}{\codelink{#2}}}
+\newcommand\projfunc[2]{\href{https://elixir.bootlin.com/#1/latest/ident/#2}{\codelink{#2()}}}
 \newcommand\projconfig[2]{\href{https://elixir.bootlin.com/#1/latest/K/ident/#2}{\codelink{#2}}}
+\newcommand\projconfigval[3]{\href{https://elixir.bootlin.com/#1/latest/K/ident/#2}{\codelink{#2=#3}}}
 
 % Linux Elixir commands
 \newcommand\kfunc[1]{\href{https://elixir.bootlin.com/linux/latest/ident/#1}{\codelink{#1()}}}




More information about the training-materials-updates mailing list