TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm dealing with a rather weird issue. Using the enviroment \wrapfigure, I receive an error message

undefined control sequence \float@caption ... oxrestore ... 
\normalize @fs@capt ... 

let alone the caption doesn't show up the .pdf; while caption is working in any other environments (figure, subfigure, tabular). What is wrong?

share|improve this question
Welcome. Please provide a minimal example. – Marco Daniel Sep 2 '11 at 18:37
@Thanos You are lucky since I just got my crystal ball back from repair ;-) (See my answer below) – Axel Sommerfeldt Sep 3 '11 at 7:04

Remove \restylefloat{figure} (and \restylefloat{table}) from your document preamble. In most cases it is simply not needed and it is only in the preamble because it was copied from another LaTeX document given by a friend or colleague (who did not know what \restylefloat does either).

But if you really need it (and really know what's good for and why you need it), you can try the following load order of packages:

\floatstyle{boxed} % or whatever

This should fix the issue, too.

share|improve this answer
You are a God!!! And you are a crystall ball fortune teller!!! You couldn't have been more precise. Indeed, the preable was from a mix from net/friend. Thank you sooooooooooooooo much!!!!!!!!!!! – Thanos Sep 3 '11 at 7:08
@Thanos: Please upvote the answer, and accept it - this is the best way to give thanks here. – Joseph Wright Sep 3 '11 at 8:04
@Joseph: Thanos has not enough reputation yet to upvote. – lockstep Sep 3 '11 at 8:30

Your Answer


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.