Inserire immagini

  • Creatore
    Topic
  • #31622
    Up
    0
    Down
    ::


    Quali sono le varie soluzioni?
    Io ho sempre usato queste due:
    `\begin{center}
    \includegraphics[scale=1]{figure/schema}
    \end{center}
    `
    per inserirla proprio sotto al testo

    `\begin{figure}
    \centerline{
    \includegraphics[scale=1]{figure/schema}
    }
    \caption{Schema}\label{schema}
    \end{figure}`
    per inserirla, magari in cima alla pagina successiva.

    Ora non ricordo ma mi sembra che nella guida ArteLaTeX.pdf fossero citate anche altre soluzioni, come quella di creare un ambiente per le immagini…
    Controllo.

Visualizzazione 3 filoni di risposte
  • Autore
    Risposte
    • #31623
      Up
      0
      Down
      ::

      Quali sono le varie soluzioni?
      Io ho sempre usato queste due:
      `\begin{center}
      \includegraphics[scale=1]{figure/schema}
      \end{center}
      `
      per inserirla proprio sotto al testo

      `\begin{figure}
      \centerline{
      \includegraphics[scale=1]{figure/schema}
      }
      \caption{Schema}\label{schema}
      \end{figure}`
      per inserirla, magari in cima alla pagina successiva.

      Ora non ricordo ma mi sembra che nella guida ArteLaTeX.pdf fossero citate anche altre soluzioni, come quella di creare un ambiente per le immagini…
      Controllo.

      Vanno bene, ma nel secondo caso basta una dichiarazione \centering:
      `\begin{figure}
      \centering
      \includegraphics[scale=1]{figure/schema}
      \caption{Schema}\label{schema}
      \end{figure}`
      Ciao
      Enrico

    • #31624
      Up
      0
      Down
      ::


      Vabbè, funziona in entrambi i casi. 🙂

    • #31625
      Up
      0
      Down
      ::


      ecco avrei alcun problemi con le immagini e tabelle.
      Per completezza inserisco qui il file Master da cui parte tutto, ed il capitolo 1.
      Al fondo ci sono le domande e le lacune:
      chiedo solo una cosa:VI PREGO AIUTATEMI!!!! :p

      %% —————————————————————-
      %% Thesis.tex — MAIN FILE (the one that you compile with LaTeX)
      %% —————————————————————-

      % Set up the document
      \documentclass[a4paper, 12pt, oneside]{thesis} % Use the “Thesis” style, based on the ECS Thesis style by Steve Gunn
      \usepackage[pdftex]{graphicx}
      \usepackage{picinpar}
      \graphicspath{{Figures/}} % Location of the graphics files (set up for graphics to be in PDF format)
      % Include any extra LaTeX packages required
      \usepackage[square, numbers, comma, sort&compress]{natbib} % Use the “Natbib” style for the references in the Bibliography
      \usepackage{verbatim} % Needed for the “comment” environment to make LaTeX comments
      \usepackage{vector} % Allows “\bvec{}” and “\buvec{}” for “blackboard” style bold vectors in maths
      \hypersetup{urlcolor=red, colorlinks=true} % Colours hyperlinks in blue, but this can be distracting if there are many links.
      \usepackage{subfigure}

      %% —————————————————————-
      \begin{document}
      \frontmatter % Begin Roman style (i, ii, iii, iv…) page numbering
      % Set up the Title Page
      \title {\textbf{Active System of Building:}\\\textsc{\textsl{Solar Panel System Efficiency\\(Application study-case)}}}
      \authors {\texorpdfstring {\href{gabbiano85@gmail.com}{Damiano Zurlo}} {Damiano Zurlo} }
      \addresses {\groupname\\\deptname\\\univname} % Do not change this here, instead these must be set in the “Thesis.cls” file, please look through it instead
      \date {\today}
      \subject {casetta mia}
      \keywords {parola chiave}
      \maketitle
      %% —————————————————————-

      \setstretch{1.3} % It is better to have smaller font and larger line spacing than the other way round

      % Define the page headers using the FancyHdr package and set up for one-sided printing
      \fancyhead{} % Clears all page headers and footers
      \rhead{\thepage} % Sets the right side header to show the page number
      \lhead{} % Clears the left side page header

      \pagestyle{fancy} % Finally, use the “fancy” page style to implement the FancyHdr headers

      %% —————————————————————-
      % IN QUESTO SPAZIO INSERIRE LA DICHIARAZIONE DI AUTENTICITà
      %% —————————————————————-

      % The Abstract Page
      \setstretch{1.3} % Reset the line-spacing to 1.3 for body text (if it has changed)
      \addtotoc{Abstract} % Add the “Abstract” page entry to the Contents
      \emph{\textit{\textsl{
      \begin{center}
      \emph{ABSTRACT}
      \end{center}
      }}}
      The main issue of this final project …

      \clearpage % Abstract ended, start a new page
      %% —————————————————————-

      \setstretch{1.3} % Reset the line-spacing to 1.3 for body text (if it has changed)

      % The Acknowledgements page, for thanking everyone
      \acknowledgements{
      \addtocontents{toc}{\vspace{1em}} % Add a gap in the Contents, for aesthetics

      I would like to say thanks to…}
      \clearpage % End of the Acknowledgements
      %% —————————————————————-

      \pagestyle{fancy} %The page style headers have been “empty” all this time, now use the “fancy” headers as defined before to bring them back

      %% —————————————————————-
      \lhead{\emph{Contents}} % Set the left side page header to “Contents”
      \tableofcontents % Write out the Table of Contents
      %% —————————————————————-
      \lhead{\emph{List of Figures}} % Set the left side page header to “List if Figures”
      \listoffigures % Write out the List of Figures
      %% —————————————————————-
      \lhead{\emph{List of Tables}} % Set the left side page header to “List of Tables”
      \listoftables % Write out the List of Tables
      %% —————————————————————-
      \setstretch{1.5} % Set the line spacing to 1.5, this makes the following tables easier to read

      \clearpage % Start a new page
      \lhead{\emph{Abbreviations}} % Set the left side page header to “Abbreviations”
      \listofsymbols{ll} % Include a list of Abbreviations (a table of two columns)
      {% \textbf{Acronym} & \textbf{W}hat (it) \textbf{S}tands \textbf{F}or \\
      \textbf{LAH} & \textbf{L}ist \textbf{A}bbreviations \textbf{H}ere \\}

      %% —————————————————————-
      \clearpage % Start a new page
      \lhead{\emph{Physical Constants}} % Set the left side page header to “Physical Constants”
      \listofconstants{lrcl} % Include a list of Physical Constants (a four column table)
      {
      % Constant Name & Symbol & = & Constant Value (with units) \\
      Speed of Light & $c$ & $=$ & $2.997\ 924\ 58\times10^{8}\ \mbox{ms}^{-\mbox{s}}$ (exact)\\

      }

      %% —————————————————————-
      \clearpage %Start a new page
      \lhead{\emph{Symbols}} % Set the left side page header to “Symbols”
      \listofnomenclature{lll} % Include a list of Symbols (a three column table)
      {
      % symbol & name & unit \\
      $a$ & distance & m \\
      $P$ & power & W (Js$^{-1}$) \\
      & & \\ % Gap to separate the Roman symbols from the Greek
      $\omega$ & angular frequency & rads$^{-1}$ \\
      }
      %% —————————————————————-
      % End of the pre-able, contents and lists of things
      % Begin the Dedication page

      \setstretch{1.3} % Return the line spacing back to 1.3
      \pagestyle{empty} % Page style needs to be empty for this page
      \dedicatory{For/Dedicated to/To my\ldots}
      \addtocontents{toc}{\vspace{2em}} % Add a gap in the Contents, for aesthetics

      %% —————————————————————-
      \mainmatter % Begin normal, numeric (1,2,3…) page numbering
      \pagestyle{fancy} % Return the page headers back to the “fancy” style

      % Include the chapters of the thesis, as separate files
      % Just uncomment the lines as you write the chapters
      \input{./Chapters/Chapter1} % CAPITOLO 1
      \input{./Chapters/Chapter2} % CAPITOLO 2
      \input{./Chapters/Chapter3} % CAPITOLO 3
      \input{./Chapters/Chapter4} % CAPITOLO 4
      \input{./Chapters/Chapter5} % CAPITOLO 5
      \input{./Chapters/ChapterC} % CAPITOLO CONCLUSIONI
      %% —————————————————————-
      % Now begin the Appendices, including them as separate files
      \addtocontents{toc}{\vspace{2em}} % Add a gap in the Contents, for aesthetics
      \appendix % Cue to tell LaTeX that the following ‘chapters’ are Appendices
      \input{./Appendices/AppendixA} % Appendix Title
      %\input{./Appendices/AppendixB} % Appendix Title
      %\input{./Appendices/AppendixC} % Appendix Title
      \addtocontents{toc}{\vspace{2em}} % Add a gap in the Contents, for aesthetics
      \backmatter
      %% —————————————————————-
      \label{Bibliography}
      \lhead{\emph{Bibliography}} % Change the left side page header to “Bibliography”
      \bibliographystyle{unsrtnat} % Use the “unsrtnat” BibTeX style for formatting the Bibliography
      \bibliography{Bibliography} % The references (bibliography) information are stored in the file named “Bibliography.bib”
      \end{document} % The End
      %% —————————————————————-

      %___________________________________________________________________________________________________________________________________________________
      %ORA SEGUE IL CAPITOLO 1%
      %___________________________________________________________________________________________________________________________________________________
      %

      % Chapter 1

      \chapter{ACTIVE SOLAR SYSTEM} % Write in your own chapter title
      \label{Chapter1}
      \lhead{Chapter 1. \emph{ACTIVE SOLAR SYSTEM}} % Write in your own chapter title to set the page header

      \section{Photovoltaic Basic}

      Photovoltaic (PV) System

      ecc…e continua così…

      ECCO I PROBLEMI

      1)

      \begin{table}[ht]
      \centering
      \includegraphics{./Figures/Solar Cell Types.png}
      \caption{Solar Cell Types}\label{fig:Cell Types}
      \end{table}

      1) QUESTO è UNO SCHEMA CHE HO FATTO IN WORD ED HO INSERITO IN LATEX,LUI LO ACCETTA E INSERISCE BENISSIMO COME PNG,MA MI LASCI LA DICITURA DELL’ESTENSIONE DEL FILE SOPRA LO STESSO [Cell Types.pngCell Types.png],COME POSSO EVITARE??
      ______________________________________________________________________________________________________________________________________________________
      2)

      % INIZIO DELLA TABELLA
      \begin{table}[ht]
      \centering
      \begin{tabular}{|c|c|p{10cm}|}
      \multicolumn{2}{c}
      {\textbf{MONO – CRYSTALLINE (SINGLE – CRYSTAL) SILICON CELLS}} \\% TITOLO DELLA TABELLA
      \hline
      \textbf{\texttt{\textit{CHARACTERISTICS}}} & \textbf{\texttt{\textit{DESCRIPTIONS}}}\\ %TITOLI NELLE COLONNE
      \hline
      Efficiency&15\% – 18\%\\
      \hline
      Form&
      \begin{tabular}{@|p{10cm}}
      Depending upon how much of the mono-crystal is sliced away, round, semi-round or square cells are created. Round cells are cheaper than semi-round or square cells since less material is wasted in their production. Despite this, they are rarely used in standard modules because when placed next to each other in a module, they do not employ the space efficiently. However, in special modules for building integration where partial transparency is desired, or for solar home system, round cells are a perfectly viable alternative.
      \end{tabular}\\
      \hline
      Usual Size&
      \begin{tabular}{@|p{10cm}}
      10$cm^{2}$x10$cm^{2}$; 12,5$cm^{2}$x12,5$cm^{2}$;
      15$cm^{2}$x15$cm^{2}$;\diameter 12,5cm or 15cm
      \end{tabular}\\
      \hline
      Thickness&0,2mm to 0,3mm\\
      \hline
      Appearance&Uniform\\
      \hline
      Colour&Dark blue to black; grey\\
      \hline
      \end{tabular}
      \label{table:TAB.MONO-CRY} % REFERENZA DA INSERIRE NEL TESTO
      \caption{Mono – crystalline (single – crystal) silicon cells}\\ % TITOLO CHE SI VEDE NELLA LISTA DELLE TABELLE
      \end{table}% FINE DELLA TABELLA

      2) LA TABELLA è PERFETTA SOLO CHE ALCUNE COLONNE (ENTRO CUI HO DOVUTO INSERIRE un testo lungo) HANNO UN CAZZO DI TRATTINO CHE NON RIESCO A TOGLIERE..COME POSSO FARE??

      ______________________________________________________________________________________________________________________________________________________
      3)

      \begin{figure}[htbp]
      \begin{minipage}{0.5\textwidth}
      \centering
      \includegraphics[width=4cm]{./Figures/Silicon Structure.pdf}
      \caption{Crystallline Silicon Structure}
      \end{minipage}\hfill
      \begin{minipage}{0.5\textwidth}
      \centering
      \includegraphics[width=5cm]{./Figures/Diffusion of electrons and holes.pdf}
      \caption{Diffusion of electrons and holes}
      \end{minipage}
      \caption{Formation of space charge region at the p-n junction through the diffusion of electrons and holes}
      \end{figure}

      3) IL PROBLEMA è SIMILE AL PRIMO IN UN DOPPIO INSERIMENTO DELL’IMMAGINE SU UNA STESSA RIGA COME VEDI IN ALLEGATO, TUTTO è PERFETTO, TUTTO FUNZINOA, ECCETTO STA CAZZO DI ESTENSIONE SOPRA L’IMMAGINE CHE NON RIESCO A TOGLIERE.
      HO PROVATO SIA AD INSERIRE COME PDF L’IIMAGINE CHE COME ALTRI FORMATI, E SOLO IL PDF RIESCO AD INSERIRLO,ANZI, GL’ALTRI MI Dà SEMPRE PROBLEMI. IL FORMATO DVS POI NON PARLIAMONE CHE SEMBRA RIGETTARLO. HO PROVATO CON L’AMBIENTE MINIPAGE E CON IL SUBFIGURE..MA NIENTE..ANZI QUESTO MINIPAGE MI PARE MEGLIO DELL’ALTRO CHE Fà CAPRICCI..BOH.

    • #31626
      Up
      0
      Down
      ::

      ecco avrei alcun problemi con le immagini e tabelle.
      Per completezza inserisco qui il file Master da cui parte tutto, ed il capitolo 1.
      Al fondo ci sono le domande e le lacune:
      chiedo solo una cosa:VI PREGO AIUTATEMI!!!! :p

      Ti invito a modificare il messaggio. Se non capisci perché, non so che farci. Intanto ti dico come risolvere i tuoi problemi;
      (1) Non usare file che abbiano spazi nel nome
      (2) Hai @| che è ridicolo
      (3) Il problema è lo stesso che in (1)

      Se il messaggio non è modificato entro le 24 di oggi per rientrare nella “netiquette” sarà cancellato.

      Ciao
      Enrico

Visualizzazione 3 filoni di risposte
  • Devi essere connesso per rispondere a questo topic.

Go to top