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

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Oct 29 10:46:38 CEST 2021


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

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

commit 33f60ea9f0e69ac882bfc188969392980f967c80
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>


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

33f60ea9f0e69ac882bfc188969392980f967c80
 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