in this moment i'm doing a text for a task, and when i run my code next one: I have problems about:

Warning line 1 inputting 'fleqn.clo' instead of obsolete 'fleqn.sty' 
Warning line 1 running in backwards compatibility mode (unsuitabletock labels;) 
Badbox line95 overfull\ hbox

I used this code in other laptop and it runs very well but in my laptop doesn't run, i appreciate your helping.

%----------------------------------------------------------------------------------------
%   PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------

\documentclass[twoside,onecolumn]{article}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[spanish]{babel}             %Asigna el lenguaje a español
\usepackage{listingsutf8}
\decimalpoint                           %Usa como separador decimal el punto en lugar de la coma
\usepackage[fleqn]{amsmath}
                    %Libreria para agregar simbolos matematicos
\usepackage{amssymb}                        %Libreria para agregar symbolos matematicos
\usepackage{graphicx}                   %Libreria para agregar figuras

\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=1.16}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{amsmath}
\usepackage{nomencl}
\usepackage{framed}
\usepackage{pythontex}
\usepackage{subfigure}                                      %Crea subfiguras
\usepackage{color}                      %Paquete emplado para manipular los colores
\usepackage{fancyhdr}                                           %Encabezados y pies de pagina
\usepackage{flafter}
\usepackage{txfonts}
\usepackage{MnSymbol}
\usepackage{float}                                              %Obliga a colocar las figuras donde queremos
\usepackage{multicol}   
\usepackage{listings}                     %Paquete para agregar codigo
\definecolor{backcolour}{rgb}{0.88,0.88,0.88}
\lstdefinestyle{mystyle}{
    backgroundcolor=\color{backcolour},
    basicstyle=\footnotesize,
    breakatwhitespace=false,         
    breaklines=true,                 
    captionpos=b,                    
    keepspaces=true,                 
    numbers=left,                    
    numbersep=5pt,                  
    showspaces=false,                
    showstringspaces=false,
    showtabs=false,                  
    tabsize=2}
\lstset{style=mystyle}
\usepackage[absolute]{textpos}
\usepackage{blindtext} % Package to generate dummy text throughout this template 
\usepackage[hmarginratio=1:1,top=32mm,columnsep=20pt]{geometry} % Document margins
\usepackage[hang, small,labelfont=bf,up,textfont=it,up]{caption} % Custom captions under/above floats in tables or figures
\usepackage{booktabs} % Horizontal rules in tables
\usepackage{enumitem} % Customized lists
\setlist[itemize]{noitemsep} % Make itemize lists more compact
\usepackage{abstract} % Allows abstract customization
\renewcommand{\abstractnamefont}{\normalfont\bfseries} % Set the "Abstract" text to bold
\renewcommand{\abstracttextfont}{\normalfont\small\itshape} % Set the abstract itself to small italic text
\usepackage{titlesec} % Allows customization of titles
\titleformat{\section}[block]{\large\scshape\centering}{\thesection.}{1em}{} % Change the look of the section titles
\titleformat{\subsection}[block]{\large}{\thesubsection.}{1em}{} % Change the look of the section titles
\usepackage{titling} % Customizing the title section
\usepackage{hyperref} %Crea hipervinculos en el pdf generado
\usepackage{lscape}
\bibliographystyle{apalike}
%----------------------------------------------------------------------------------------
%   TITULO
%----------------------------------------------------------------------------------------
\setlength{\droptitle}{-4\baselineskip} % Move the title up

\title{Segundo trabajo de mecánica estructural} %Título de la tarea
\author{Juan Manuel Julio Bedoya}                                                               %
\date{\today}               %Fecha, por defecto \today coloca la fecha actual


%----------------------------------------------------------------------------------------
%
\begin{document}
%
%
\setlength{\parindent}{0cm}                             %Coloca 0cm de sangria (la elimina).

% Print the title
\mbox{
    \begin{minipage}{5cm}
        \includegraphics[width=3cm]{LogoUNAL.pdf} 
    \end{minipage}
    \begin{minipage}{12cm}
    \begin{center}
        \textsl{
        \textbf{\large Mecánica Estructural}\\
        \textbf{\large Estudiante: Juan Manuel Julio Bedoya}}
    \end{center}
    \end{minipage}
}
\vspace{0.5cm}

% Realiza el título de la tarea con base en los datos previamente ingrasados, como son el título, autor y fecha
{\let\newpage\relax\maketitle}

\section{Memoria de cálculo}
\subsection{Generalidades}
\subsection{Sistema:}
El sistema estructural de resistencia sísmica planteado consiste en pórticos resistentes a momentos de concreto reforzado que resisten la totalidad de las fuerzas sísmicas y que no están limitados o adheridos a componentes más rígidos, estructurales o no estructurales, que limiten los desplazamientos horizontales al verse sometidos a las fuerzas sísmicas. (NSR-10). Tal como se muestra en la siguiente vista en planta:
\begin{figure}[H]
    \centering
    \includegraphics[width=13.5cm]{direcciony.pdf}
    \caption{Vista en planta de estructura.}
    \label{FigRicker}
\end{figure}

\subsubsection{Número de pisos:}La estructura contará con 2 pisos. 
\textbf{Altura de pisos:}  Piso 1 $=$ 3,8 m; Piso 2 $=$ 2,4 m.
\subsubsection{Amenza sísmica:}El proyecto se pretende diseñar y desarrollar en la ciudad de Medellín, de acuerdo a la \textbf{tabla A.2.3-2} de la NSR-10, se establece que:\\
\textbf{Ciudad:} Medellín, \textbf{Amenza sísmica:} Intermedia, \textbf{$A_a:$} 0,15; \textbf{$A_v:$} 0,20.
\section{Cálculo de peso de la estructura}
Para el cálculo del peso de la estructura se elaboró con los siguientes valores:



\begin{equation}
Densidad(\rho): 2,4 \frac{Mg}{m^3}
\end{equation}
\begin{equation}
Gravedad(g): 10 \frac{m}{s^2}
\end{equation}
\begin{equation}
Peso Especifico(\gamma): 24 \frac{kN}{m^3}
\end{equation}

A continuación se precisa con detalle en las siguientes tablas resumen, los valores de carga para acabados, losas, columnas y vigas con sus respectivas  referencias y ecuaciones empleadas.



\end{document}
  • Welcome to TeX.SE! Compare the versions of the used TeX distributions on both computers. Update the older one ... – Kurt Oct 26 at 21:57
  • 1
    Remove \usepackage{fleqn} (obsolete) and load \usepackage[fleqn]{amsmath} (option of amsmath). – Bernard Oct 26 at 22:00
  • Thank you i did it but till no compile my text there are 3 types yet, running in backwards compatibility mode... and overfull hbox... Kurt how can i update the older one? thank u again. – Julián Andrés Lastra García Oct 26 at 22:05
  • Pleas, update the post with the minimal code reproducing the same errors so we can help you faster; otherwise we need to look up all packages and read the whole code. – santimirandarp Oct 26 at 22:23
  • Thank you Santi, well my principal problem is that my latex doesn't run pdf i solve with help of this forum all that package but now i have no warning or mistakes but my text doesn't compile i mean, latex no show me my pdf, and sure i'm gonna update my code again, thank u – Julián Andrés Lastra García Oct 26 at 22:28

I will save space and only add my corrected lines to clear the error
Either you need to reduce your margins or more simply adjust the logo headlines, this worked for me As you are using cm for layout would it help to have page as A4 width

In the following I used 4 cm and 10.75 cm but it also works by increasing to 7.25 cm and reducing to 7cm the combined value needs to be less than the margin to margin width. It depends where you want your name

\documentclass[a4paper,twoside,onecolumn]{article}

% Print the title
\mbox{
    \begin{minipage}{4cm}
        \includegraphics[width=3cm]{LogoUNAL.pdf} 
    \end{minipage}
    \begin{minipage}{10.75cm}
    \begin{center}
        \textsl{
        \textbf{\large Mecánica Estructural}\\
        \textbf{\large Estudiante: Juan Manuel Julio Bedoya}}
    \end{center}
    \end{minipage}
}

I found a similar logo but I don't know what your "structure" looks like so I used a pretty one just to prove it can run with no errors

enter image description here

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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