algorithm - 如何使用 \listofalgorithms 跳过乳胶列表中的算法?
问题描述
如何跳过乳胶列表中的算法
\listofalgorithms?
在我的文档中,我有一些算法,我在使用时不想列出
\listofalgorithms
通过对图形环境的回答类比,我尝试过
\caption[]{Algorithm}
反而
\caption{Algorithm}
它给出了一行点和反递增。
我也试过
\captionsetup[algorithm]{list=no}
\captionsetup[algorithm]{list=yes}
也有“算法”。它会导致错误。
在这段代码中,我想删除列表中的算法 2
\documentclass{article}
\usepackage[lined,boxed,commentsnumbered, ruled,vlined,linesnumbered, frenchkw]{algorithm2e}
\begin{document}
\listofalgorithms
\begin{algorithm}
\caption{I want to show this one in the list}
do something \;
\end{algorithm}
\begin{algorithm}
\caption{I do not want os show this one in the list}
do something else\;
\end{algorithm}
\begin{algorithm}
\caption{I want to show this one in the list with number 3 not 2}
do nothing \;
\end{algorithm}
\end{document}
谢谢 :)
解决方案
推荐阅读
- python - 从其他列表中删除列表的内容
- python - 使用 Requests 库进行证书身份验证,如何将证书作为字节/流读取,然后将其传入“发送”函数?
- c# - 解析值时遇到意外字符:[。小路
- python - 在python中将同一列中的数字相除
- javascript - 为什么在 eventListener 调用时值未定义?JavaScript
- google-chrome-extension - 是否可以通过 chrome 扩展自动粘贴并单击网站中的按钮?
- python - 如何针对特定字符串初始化一组变量?
- css - 用于 Contact-Form 7 插件的 CSS,没有在整个网站上得到同等选择
- windows - RAM - 提交内存和工作集之间的区别
- java - 如何在我的数组列表中打印字符串值而不打印空值?