来源
写个 algorithm 流程,但是在 怎么设置以及换不同 algorithm 包 都导致 伪代码 开头的 “Algorithm” 不加粗。
解决方式
更换多个包以及copy别人模板,都是不加粗。猜想是和自己 preamble 中的部分包冲突。 复制一份 tex 文档,一个包一个包的调试,最后发现与 下面这个包 冲突。
\usepackage{floatrow}
algorithm 模板
% Algorithm conflicts with \usepackage{floatrow}, leading to unbold Algorithm Keyword
\usepackage{algorithm}
\usepackage{algpseudocode}
\begin{algorithm}
\caption{An algorithm with caption}\label{alg:cap}
\textbf{Input:} Since SMA is a temperature activated material, the heat transfer model is developed in this section to study the temperature profile \\
\textbf{Output:} under internal resistive heating and compressed air cooling. Furthermore, incorporated it into the microscopic
\begin{algorithmic}[1]
% \Require $n \geq 0$
% \Ensure $y = x^n$
\State $y \gets 1$
\State $X \get

博客围绕写algorithm流程时,伪代码开头‘Algorithm’无法加粗的问题展开。尝试更换多个包、复制他人模板均未解决,推测与preamble中的部分包冲突,通过逐个调试包,最终找到冲突包。
最低0.47元/天 解锁文章
4869

被折叠的 条评论
为什么被折叠?



