Latex Algorithm 没有加粗
来源
写个 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 \gets x$\State $N \gets n$\While{$N \neq 0$}\If{$N$ is even}\State $X \gets X \times X$\State $N \gets \frac{N}{2}$ \Comment{This is a comment}\ElsIf{$N$ is odd}\State $y \gets y \times X$\State $N \gets N - 1$\EndIf\EndWhile\end{algorithmic}
\end{algorithm}
For loop
\begin{algorithm}\caption{Optimal design of SMA antagonistic actuator}\textbf{Input:} Required maximum bending $\alpha_{req}$, required stiffness $K_{req}$, required output force $F_{req}$. \\\textbf{Output:} Optimal length $L_{opt}$ and optical diameter $d_{opt}$.\begin{algorithmic}[1]% \Require $n \geq 0$% \Ensure $y = x^n$% \State $y \gets 1$% \State $X \gets x$% \State $N \gets n$\For{\texttt{$L \leftarrow L_{min}$ to $L_{max}$}}\For{\texttt{$d \leftarrow d_{min}$ to $d_{max}$}}\State \texttt{$\alpha_{max} > \alpha_{req}$}\State \texttt{$\alpha_{max} > \alpha_{req}$}\EndFor\EndFor\end{algorithmic}\label{alg:cap}
\end{algorithm}
Latex Algorithm 没有加粗相关推荐
- java导出pdf字体宋体不加粗_java – 飞碟(xhtmlrenderer)没有加粗我的字体?
我在飞碟xhtmlrenderer生成的pdf中使用自定义truetype字体. ITextRenderer renderer = new ITextRenderer(); renderer.getF ...
- linux黑体加粗有什么区别,宋体没有加粗、或加粗变黑体了
按照了adobe字体仍然有错 信息为: (./Tex/Frontpages.tex LaTeX Font Warning: Font shape `TU/AdobeSongStd-Light(1)/b ...
- confluence 编辑器这次没有加载_喵的Unity游戏开发之路 - 多场景:场景加载
如果丢失格式.图片或视频,请查看原文:喵的Unity游戏开发之路 - 多场景:场景加载 很多童鞋没有系统的Unity3D游戏开发基础,也不知道从何开始学.为此我们精选了一套国外优秀的Unity3D游戏 ...
- latex数学符号加粗_LaTeX技巧458:关于LaTeX数学字体加粗
前文讲了LaTeX技巧326:希腊字母的加粗问题仅仅是解决方案,而如下这篇文章详述了数学模式加粗的问题,值得看看. 在 LaTeX 有 \mathbf{} 来让字体变粗体.但这是在数学模式才能使用这个 ...
- vue路由切换组件没有加载_vue-router 路由跳转后没有加载组件
router.js 路由部分 export const normalRouter = { path: '/', meta: { login: false }, component: () => ...
- 【Android 逆向】启动 DEX 字节码中的 Activity 组件 ( 使用 DexClassLoader 获取组件类失败 | 失败原因分析 | 自定义类加载器没有加载组件类的权限 )
文章目录 一.使用 DexClassLoader 获取组件类失败报错 二.失败原因分析 一.使用 DexClassLoader 获取组件类失败报错 在上一篇博客 [Android 逆向]启动 DEX ...
- MySQL删除退出后数据未更新,mysql一不小心删除了数据或更新了数据没有加where 条件...
mysql一不小心删除了数据或更新了数据没有加where 条件 1,show variables like '%log_bin%'; 2.show master logs; 3.show master ...
- webplugin 没有画面_[问题记录] webpack devServer HtmlWebpackPlugin 没有加载 js、css
webpack devServer 没有加载 js.css HtmlWebpackPlugin runtimeChunks 注入问题. 描述 写了一个极其简单的多页面 demo 启动开发服务器,发现样 ...
- 前端取消置顶功能_短说开发日报:首页推荐频道刷新后首页置顶的数据没有加载出来的问题已修复(9.22周二)...
短说社区论坛系统是想天软件推出的一款集社区论坛.电商商城.知识付费三大版块为一体的整合运营系统 同步支持H5.公众号.安卓.IOS.PC.多渠道小程序(微信.头条.百度.支付宝.QQ) SAAS版本. ...
最新文章
- mysql中transaction的实现
- 地图不显示_地图不显示脚步,枪声没有方向标记,职业比赛有何不同?
- 命名实体识别NER 如何使用BERT实现
- js实现数据结构及算法之图和图算法(Graphs)
- mysql增删改查 dao_MYSQL 之 JDBC(七):增删改查(五) DAO设计模式
- swoole安装基本配置
- c语言怎么让两个函数同时进行_Excel高级筛选怎么用同时满足多个条件进行筛选...
- 汇编语言程序设计,计算比赛成绩
- 开源文件服务器file-service介绍
- linux定时关机命令_win10电脑定时关机命令
- 使用JacpFX和JavaFX2构建富客户端
- yii2 HeadersAlreadySentException 报错 解决方案
- webgl 封装和可使用开源方案
- list control 应用(转载)
- 小程序获取用户信息 php发送数据库,qq小程序如何获取用户信息并存入数据库实例...
- android自动清理内存不足,安卓手机越用越卡,清理内存也没用?原因其实是这个!...
- FTP上传和WEB上传的区别
- ئاندرويىد تېلېفۇندىكى ئۇيغۇرچە
- 汉字如何造就世界上最伟大的文化整体
- 用一个比喻来解释对 同步 异步 阻塞 非阻塞 轮询 回调 的理解