I want to change the default font size of the algorithm in algpseudocode
environment to small. This is because my algorithm is lengthy and i have page limitations. Please help
[Tex/LaTex] algpseudocode font size
algorithmicxalgorithmsfontsize
algorithmicxalgorithmsfontsize
I want to change the default font size of the algorithm in algpseudocode
environment to small. This is because my algorithm is lengthy and i have page limitations. Please help
Best Answer
Package
algorithmicx
provides hooks for use before and after the pseudocode:\ALG@beginalgorithmic
and\ALG@endalgorithmic
. You can redefine them to suit your needs:Note that other
algorithmicx
layouts may redefine the commands. Also note that this doesn't affect line number size, which is controlled by\alglinenumber
.