
He instalado el complementoFiguras y tablasen WinEdt, que me permite recopilar títulos de tablas y figuras en el árbol de WinEdt.
También me gustaría poder recopilar subtítulos de algoritmos.
Con el siguiente MWE
\documentclass{article}
\usepackage{algorithm}
\begin{document}
\begin{table}[h]
\caption{Table test}
\end{table}
\begin{figure}[h]
\caption{Figure test}
\end{figure}
\begin{algorithm}[h]
\caption{Algorithm test}
\end{algorithm}
\end{document}
El árbol de WinEdt muestra
¿Hay alguna forma de mostrar una rama para algoritmos?
Respuesta1
Actualización (2016-04-10)
Al instalar el complementoflotadoresPodrás recopilar subtítulos de algoritmos.
Respuesta original
Sí, es posible. Sigue estos pasos:
Mostrar la "Interfaz de opciones" (Opciones -> Interfaz de opciones)
En la "Interfaz de opciones", haga doble clic en el elemento "Árbol" (
Tree.ini
se abre)Como tienes instalado el complemento "Figuras y tablas", deberías tener una línea
END="Tables-TeX"
Justo después de eso, inserte las siguientes líneas.
BRANCH="Algorithms-TeX" BRANCH_CAPTION="Algorithms (#)" // Change Mode from TeX to ? to disable this item BRANCH_MODE_FILTER="TeX|DTX;INS;STY;AUX" BRANCH_ICON="CodeSample" BRANCH_SORTED=0 BRANCH_CASE_SENSITIVE=1 BRANCH_IGNORE_COMMENTS=1 BRANCH_IGNORE_VERBATIM=1 BRANCH_EXPANDED=0 ITEM="\begin{algorithm}?\end{algorithm}" ALT="\begin{algorithm*}?\end{algorithm*}" ALT="\begin{procedure}?\end{procedure}" ALT="\begin{procedure*}?\end{procedure*}" ALT="\begin{function}?\end{function}" ALT="\begin{function*}?\end{function*}" ALT="\begin{algorithm2e}?\end{algorithm2e}" ALT="\begin{algorithm2e*}?\end{algorithm2e*}" MODE_FILTER="TeX" CASE_SENSITIVE=1 BEGINNING_OF_LINE_ONLY=1 CURRENT_DOCUMENT_ONLY=1 ALL_OPENED_DOCUMENTS=0 COMPLETE_PROJECT_TREE=1 ICON="FlagPurple" LEVEL=0 CAPTION="%[!|Exe('%b\Macros\Gather\FigTab.edt');|];%-0" MAX_LINE_SPAN=99 ON_CLICK_MACRO="TreeTrack(2,1);" ON_DBL_CLICK_MACRO="TreeTrack(2,2);" ACTION="Find" IMAGE="Find" MACRO="TreeTrack(2);" SUBSTITUTION="\label{*}" SUB_FIND="\\label\{*\}" SUB_REPLACE="" SUB_REG_EX=1 SUB_CASE_SENSITIVE=1 SUBSTITUTION=" " SUB_FIND=" +{ }" SUB_REPLACE=" " SUB_REG_EX=1 SUB_CASE_SENSITIVE=1 SUBSTITUTION="\dots" SUB_FIND="\dots" SUB_REPLACE="..." SUB_REG_EX=0 SUB_CASE_SENSITIVE=1 SUBSTITUTION="\ldots" SUB_FIND="\ldots" SUB_REPLACE="..." SUB_REG_EX=0 SUB_CASE_SENSITIVE=1 END="\begin{algorithm}?\end{algorithm}" END="Algorithms-TeX"
Presione Shift+Ctrl+F9para recargar el archivo.
Ahora podrá recopilar títulos de algoritmos para los siguientes entornos, definidos por algorithm
y los algorithm2e
paquetes:
algorithm
algorithm*
procedure
procedure*
function
function*
algorithm2e
algorithm2e*
Con tu MWE obtendrás este resultado: