I'm currently writing my masters thesis and I'm using algorithm2e to write pseudocode. I regularly use SetKwData
to display data types. However I would slighty like to change how this is displayed when using arguments.
If I for example would like to display a key value map data type that is polymorphic in both the key, and data I would write something like this
\SetKwData{DFoo}{Foo}
\SetKwData{DBar}{Bar}
\SetKwData{DMap}{Map}
\Dmap{\DFoo, DBar}
Then the compiled document would look something like
Map(Foo, Bar)
In my opinion this looks too much like a function call. I would like to change the parenthesis to something like Map<Foo, Bar>
.