Skip to content

Commit

Permalink
Bugfix phantomsubsection and phantomsubsubsection to phantomsection
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreAlbertPro authored and woshilapin committed May 31, 2017
1 parent c21e183 commit 135815e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tex/latex/mytoc/mytoc.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@
\newenvironment{mysubsection+}[2][]{%
\subsection*{#2}%
\label{#1}%
\my@phantomsubsection%
\my@phantomsection%
\my@addstarredsubsection{#2}%
}{}
% \end{macrocode}
Expand Down Expand Up @@ -386,7 +386,7 @@
\newenvironment{mysubsubsection+}[2][]{%
\subsubsection*{#2}%
\label{#1}%
\my@phantomsubsubsection%
\my@phantomsection%
\my@addstarredsubsubsection{#2}%
}{}
% \end{macrocode}
Expand Down

0 comments on commit 135815e

Please sign in to comment.