Hi!
Can anybody tell me how to unbold algorithm caption?
When I use algorithmic and algorithm packages, I got following caption:
Algorithm 1: My first algorithm
What I want is to replace bold "Algorithm" with unbold "Algorithm" and to replace ":" with ".", e.g.
Algorithm 1. My first algorithm
Any help?
Thanks in advance!
Text Formatting ⇒ Unbold algorithm caption
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Unbold algorithm caption
I don't know packages with these names. At least they are not listed on CTAN. Build a minimal working example (MWE) to shows what you are doing.sladicg wrote:[...] When I use algorithmic and algorithm packages, I got following caption [...]
Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Unbold algorithm caption
This works for me:
Code: Select all
Code, edit and compile here:
\documentclass{article}\usepackage{algorithm,algorithmic}\usepackage{caption}\captionsetup[algorithm]{labelfont=rm,labelsep=period}\begin{document}\begin{algorithm}[H]\caption{Calculate $y = x^n$}\label{alg1}\begin{algorithmic}\REQUIRE $n \geq 0 \vee x \neq 0$\ENSURE $y = x^n$\\ \ldots\end{algorithmic}\end{algorithm}\end{document}
Re: Unbold algorithm caption
Thanks, this solve my problem.