The title question sums it all.
You may use algorithmicx package, it allows function typesetting.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
By posting your answer, you agree to the
terms of service.
2 years ago