Well, here is my problem. My friends can compile this document. I can't, and I don't know why. The error is:
File: "C:\Program Files\MikTex\tex\latex\float\float.sty
Type: Error
Line: Line99
message: ! LaTeX Error: Command \float@makebox already defined.
If u can tell me how fix it, I'll be very grateful. I'm using TexMaker and MikTex 2.9.
% PREAMBLE
% Document
\documentclass[spanish,10pt,a4paper,twoside]{article}
\usepackage[top=1in, bottom=1in, left=1in, right=1in, marginpar=57pt]{geometry}
\usepackage[bookmarks=true, bookmarksopen=true, bookmarksopenlevel=1, colorlinks=true, pdfstartview={XYZ null null 1},hidelinks]{hyperref}
% \usepackage{anysize}
% \marginsize{3cm}{3cm}{1.5cm}{1.5cm} %izquierda derecha arriba abajo
% Language
\usepackage[latin1]{inputenx}
\usepackage{babel}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
% AMS Packages
\usepackage{amsmath}
\usepackage[adobe-utopia]{mathdesign}
%--------------------------------------------------------------
% Graphics Packages
%--------------------------------------------------------------
\usepackage{graphicx}
\usepackage{subcaption}
%Wrapfig: Insertar imagen dentro del texto,
\usepackage{wrapfig}
\usepackage{float}
% \floatstyle{boxed}
% \restylefloat{figure}
% SUBFIGURE Y SUBFIG ESTAN DESCATALOGADOS Y NO DEBEN USARSE
%\usepackage{subfigure}
% \usepackage[lofdepth,lotdepth]{subfig}
% \usepackage[section]{placeins}
\begin{document}
Hello , fans of Latex
\subsection{Images}
\subsubsection{Matrix of images}
\begin{figure}[H]
\framebox[1\textwidth]{\begin{minipage}[m]{1\textwidth}
\centering
\begin{subfigure}[b]{0.2\textwidth}
\includegraphics[width=\textwidth]{gatico.jpeg}%
\vspace{-1pt}\\%
\includegraphics[width=\textwidth]{gatico.jpeg}%
\vspace{-1pt}
\end{subfigure}%
\begin{subfigure}[b]{0.4\textwidth}
\includegraphics[width=\textwidth]{gatico.jpeg}%
\vspace{-1pt}
\end{subfigure}\\%
\begin{subfigure}[b]{0.6\textwidth}
\includegraphics[width=0.3333\textwidth]{gatico.jpeg}%
\includegraphics[width=0.3333\textwidth]{gatico.jpeg}%
\includegraphics[width=0.3333\textwidth]{gatico.jpeg}%
\end{subfigure}
\end{minipage}}
\caption{Collage}
\end{figure}
\begin{figure}[H]
\framebox[1\textwidth]{\begin{minipage}[m]{1\textwidth}
\centering
\begin{subfigure}[b]{0.3\textwidth}
\includegraphics[width=\textwidth]{gatico.jpeg}%
\caption{}
\end{subfigure}
\begin{subfigure}[b]{0.3\textwidth}
\includegraphics[width=\textwidth]{gatico.jpeg}%
\caption{}
\end{subfigure}
\end{minipage}}
\caption{Matrix of images}
\end{figure}
\end{document}
I can compile this document https://www.writelatex.com, and this is the result http://dl.dropbox.com/u/29496113/gatico.pdf
{}found above. – Jan 14 '13 at 23:59imágenesis an encoding error?) – David Carlisle Jan 15 '13 at 00:52