I want to change the font size of the new environment defined as below:
\newsavebox{\ieeealgbox}
\newenvironment{boxedalgorithmic}
{\begin{lrbox}{\ieeealgbox}
\begin{minipage}{\dimexpr\columnwidth-2\fboxsep-2\fboxrule}
\begin{algorithmic}}
{\end{algorithmic}
\end{minipage}
\end{lrbox}\noindent\fbox{\usebox{\ieeealgbox}}}
and the environment is used like below:
\begin{table}[ht]
\caption{...}
\centering
\begin{boxedalgorithmic}
...
\end{boxedalgorithmic}
\label{alg}
\end{table}
I really don't know how to change the font size of the content in the Table.
Best Answer
The font size can be changed with the standard LaTeX font changing commands. The following table (taken from this answer) lists the resulting size for the standard classes (depending on the class option
10pt
,11pt
,12pt
:As with all font commands, they are in effect until the end of the current group (innermost closing brace
}
or end of the innermost environment). Sowill change the font to size "normal" for the content of the environment. If you want to be this the default, it is better to put this in the environment definition itself.