☰ Click for Table of Contents
BookWiki Documentation
Copyright 2026
Rance D. Necaise

Specialized Sticky Tabs

The stickynote module also defines several special note tabs that can be used to highlight specific features. These use different icons to distinguish each type of tab and colors the note title the same color as the bar. Each of these note tabs have a fixed color.

Runtime Tab

basic operations
best-case: O(n)
worst-case: O(1)
stickynote module
\begin{runtimetab}{algname1}{algname2} ...
  \worst{time}
  \best{time}
\end{runtimetab}
Highlights the run-time of an algorithm as a small sticky note tab on the right side of the page. This environment supports the specification of the best- and/or worst-case time complexities. The time complexities are specified using the commands, which are optional:
  \worst{time}
  \best{time}
Argument:
algname1 algname2 ...

The text for the names of one or more algorithms.

Plugin:  RuntimeTabPlugin

The runtime tab above was created using the syntax

\begin{runtimetab}{basic operations}
\worst{O(1)}
\best{O(\it{n})}
\end{runtimetab}

Command Tab

ls
List the contents of a directory.
stickynote module
 \begin{commandtab}{cmdname1 cmdname2 ...}
     ...
 \end{commandtab}
Describe or highlight a command such as those used at the command-line prompt.
Key:
cmdname1 cmdname2 ...

The text for the names of one or more commands.

Plugin:  CommandTabPlugin

The command tab above was created using the syntax

\begin{commandtab}{ls}
List the contents of a directory.
\end{commandtab}

Function Tab

printf
Print text to standard output.
stickynote module
 \begin{functiontab}{fnctname1 fnctname2 ...}
     ...
 \end{functiontab}
Describe or highlight a programming language function or method.
Key:
fnctname1 fnctname2 ...

The text for the names of one or more functions or methods.

Plugin:  FunctionTabPlugin

The function tab above was created using the syntax

\begin{functiontab}{printf}
Print text to standard output.
\end{functiontab}

Action Tab

save
This describes the action to be taken.
stickynote module
 \begin{actiontab}{action1 action2 ...}
     ...
 \end{actiontab}
Describe or highlight an action to be taken.
Key:
action1 action2 ...

The text for the title of the action(s) to be taken.

Plugin:  ActionTabPlugin

The action tab above was created using the syntax

\begin{actiontab}{save}
This describes the action to be taken.
\end{actiontab}

Module Tab

string.h
stickynote module
 \moduletab{modname}
Flags a language module or library.
Argument:
modname

The text for the name of a module or library.

Plugin:  ModuleTabPlugin

The module tab above was created using the syntax

\moduletab{string.h}
  August 18, 2026 at 11:28 AM