- Questo topic ha 7 risposte, 3 partecipanti ed è stato aggiornato l'ultima volta 6 anni, 2 mesi fa da .
-
Topic
-
Buonasera , premetto che non ho mai utilizzato questo forum, spero di aver messo la richiesta nella parte giusta. Ho un problema con adjustbox e Bibtex. In pratica il codice funzionava tutto normale fino a quando non ho provato a mettere due immagini affiancate.
Lì sono iniziati i problemiThis is BibTeX, Version 0.99d (MiKTeX 2.9.7050 64-bit) The top-level auxiliary file: Tesi_Vane.aux A level-1 auxiliary file: chapter_tex_files/Inscription.aux A level-1 auxiliary file: chapter_tex_files/Acknowledgements.aux I found no \bibdata command—while reading file Tesi_Vane.aux I found no \bibstyle command—while reading file Tesi_Vane.aux (There were 2 error messages)
questo è l’errore che magicamente appare solo quando è presente questa altra linea di codice
`
\begin{figure*}
\begin{adjustbox}{max width=1.2\linewidth,center}
\centering
\subfigure[SVM map for the pulse signals]{\label{fig:SVMmapPulse}\includegraphics[width=0.6\textwidth]{../images/chapter_4/MapSVMpulse.eps}}%
\subfigure[SVM map for the step signals]{\label{fig:SVMmapStep}\includegraphics[width=0.6\textwidth]{../images/chapter_4/MapSVMstep.eps}}%
\end{adjustbox}
\caption{Confrontation between Pulse and Step}
\end{figure*}
\end{document}
`qui metto tutta l’impostazione che ho nella tesi,
`
\documentclass[a4paper,oneside,12pt,titlepage]{book}
\frontmatter%%%%%%%%%%%%%%%%%%%% USEFUL PACKAGES – add or remove based on needs %%%%%%%%%%%%%%%%%%%%
\usepackage[]{algorithm2e} % needed to write algorithms
\usepackage{verbatim} % used to display LaTeX commands instead of having them executed
\usepackage{rotating} % used to rotate graphical objects in landscape
%\usepackage{subfig} % used to plot subfigures
\usepackage{subfigure}
\usepackage{anyfontsize} % used to modify the fontsize of a text
\usepackage{siunitx} % a comprehensive SI unit package
\usepackage{eurosym} % Euro € symbol
\usepackage{multirow} % create tables with multirows
\usepackage{amsmath} % provides a handful of options for displaying equations
\usepackage{amsthm} % defines theorem-like environments
\usepackage{amssymb} % needed for several fonts for use in mathematics
\usepackage{epstopdf} % convert *.eps files into *.pdf ones
\usepackage[numbers]{natbib} % implements both author-year and numbered references
\usepackage{amsfonts} % defines the type of letters used when defining sets
\usepackage{graphicx} % used to include figures
\usepackage[dvips]{epsfig} % an extention of the previous package
\usepackage[export]{adjustbox} % provides several macros to adjust boxed content (e.g., shrinking a table)
\usepackage{xcolor} % provides easy driver-independent access to several kinds of color tints, shades, tones, and mixes of arbitrary colors
\usepackage[italian,english]{babel} % manages culturally-determined typographical rules for different languages
\usepackage[utf8]{inputenc} % translates various standard and other input encodings into LATEX
\usepackage[T1]{fontenc} % in order to select the font encodings
\usepackage{bm} % to write formulas in bold
\usepackage{fancyhdr} % used to constructing headers and footers
\usepackage{a4} % defines the a4 dimensions
\usepackage{frontespizio} % creates an auxiliary TEX file to be typeset on its own and the result is automatically included at the next run
\usepackage{hyperref} % creates hyperlinks within the document
\usepackage{float} % defines floating objects
\usepackage{appendix} % defines the appendix style
\usepackage{afterpage} % creates blank pages
\usepackage{colortbl}
\usepackage{textcomp}
\usepackage{mathptmx}
\setlength{\intextsep}{3mm}%%%%%%%%%%%%%%%%%%%% USER DEFINED COMMANDS – add or remove based on needs %%%%%%%%%%%%%%%%%%%%
%% Defining quotes – whenever you need to quote something, use command \quotes{Quoted Text}
\newcommand{\quotes}[1]{“#1''}
\newcommand*\xbar[1]{%
\hbox{%
\vbox{%
\hrule height 0.5pt % The actual bar
\kern0.5ex% % Distance between bar and symbol
\hbox{%
\kern-0.1em% % Shortening on the left side
\ensuremath{#1}%
\kern-0.1em% % Shortening on the right side
}%
}%
}%
}%% Defining atan in mathmode – use command \atan{Argument} to express the inverse tangent
\makeatletter
\DeclareRobustCommand{\atan}{%
\operatorname{atan}%
\@ifnextchar2{_}{}%
}
\makeatother%% Defining euro in mathmode – use command \euro whenever you need the symbol €
\DeclareSIUnit{\pers}{pers}
\DeclareSIUnit{\EUR}{\text{\euro}}
\sisetup{
per-mode = fraction,
inter-unit-product = \ensuremath{{}\cdot{}},
}%% Defining blank page – use this command when you want a blank page in the document
\newcommand\blankpage{%
\null
\thispagestyle{empty}%
\addtocounter{page}{-1}%
\newpage}%% Defining new styles (do not remove or move from here!)
\theoremstyle{plain}
\newtheorem{teorema}{Teorema}
\theoremstyle{definition}
\newtheorem{definizione}{Definizione}
\graphicspath{{images/}}
\DeclareGraphicsExtensions{.ps,.eps}%% Defining a new environment for the inscription (do not remove or move from here!)
\newenvironment{dedication}
{\clearpage % we want a new page
\thispagestyle{empty} % no header and footer
\vspace*{\stretch{1}} % some space at the top
\itshape % the text is in italics
\raggedleft % flush to the right margin
}
{\par % end the paragraph
\vspace{\stretch{3}} % space at bottom is three times that at the top
\clearpage % finish off the page
}%%%%%%%%%%%%%%%%%%%% GRAPHICAL TEMPLATE %%%%%%%%%%%%%%%%%%%%
%% Definition of the margins (do not remove or move from here!)
\setlength{\oddsidemargin} {1.5 cm}
\setlength{\evensidemargin} {1.5 cm}
\addtolength{\oddsidemargin} {-0.8 cm}
\addtolength{\evensidemargin} {-0.8 cm}
%% Definition of spacing (do not remove or move from here!)
\linespread{1.5}
`cosa c’è che non va? Ho provato a usare altri pacchetti invece di subfigure ma finisce che le due immagini che voglio mettere vengano troppo piccole e non centrate.
Premetto inoltre che se non faccio andare bibtex ma solo pdflatex , funziona senza problemi e mi stampa i grafici come vorrei. Uso Textmaker con Miktek . Grazie mille a tutti in anticipo.
- Devi essere connesso per rispondere a questo topic.