Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

How can I come back to the default floatstyle after I called the floatstyle{boxed} and the \restylefloat{figure} command?

share|improve this question
    
Hi Nathan, welcome to tex exchange! I edited your code using ticks so that the latex snippets are rendered. I also removed the thanks- this may seem strange, but it helps to keep the site in a Q&A format –  cmhughes Mar 21 '12 at 20:07

1 Answer 1

You can return to plain style:

\documentclass{article}
\usepackage{float}
\floatstyle{boxed}
\restylefloat{figure}

\begin{document}

\begin{figure}
  \centering
  A
  \caption{A boxed figure}
\end{figure}

\floatstyle{plain}
\restylefloat{figure}
\begin{figure}
  \centering
  A
  \caption{A regular figure}
\end{figure}

\end{document}

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.