TABLE CON PIù COLONNE E DIFFERENZE DI TESTO IN OGNI RIQUADRO

  • Creatore
    Topic
  • #34354
    Up
    0
    Down
    ::


    % DUNQUE MOLTO SEMPLICEMENTE VORREI CHE IL FILE COMPILASSE IL SEGUENTE

    %——————————————————————————————————
    \begin{table}[ht]% INIZIO DELLA TABELLA
    \centering
    \begin{tabular}{|c|c|p{10cm}|}
    \multicolumn{2}{c}
    {\textbf{ }} \\% TITOLO DELLA TABELLA
    \hline
    \textbf{\texttt{\textit{CHARACTERISTICS}}} & \textbf{\texttt{\textit{DESCRIPTIONS}}}\\ %TITOLI NELLE COLONNE
    \hline
    Efficiency&
    \begin{tabular}{@|p{10cm}}
    10\% (milled version) or 13,4\% (laser cut), each with 10\% transparency
    \end{tabular}\\
    \hline
    Form&Square\\
    \hline
    Usual Size&
    \begin{tabular}{@|p{10cm}}
    10$cm^{2}$x10$cm^{2}$;12,5$cm^{2}$x12,5$cm^{2}$;
    \end{tabular}\\
    \hline
    Thickness&0,30mm\\
    \hline
    Appearance&
    \begin{tabular}{@|p{10cm}}
    The EFG process produces long pulled crystal that can just be seen if you look closely. The cell surfaces are slightly uneven.
    \end{tabular}\\
    \hline
    Colour&Depends upon type, such as polycrystalline cells or black\\
    \hline
    \end{tabular}
    \label{table:TAB.TRANSP.SC} % REFERENZA DA INSERIRE NEL TESTO
    \caption{Transparent Solar Cells}\\ % TITOLO CHE SI VEDE NELLA LISTA DELLE TABELLE
    \end{table} % FINE DELLA TABELLA

    %——————————————————————————————————
    SOLO CHE IL TERZO RIQUADRO DI DESTRA RISULTA INIZIARE CON UN TRATTINO,E NON CAPISCO PER QUALE RAGIONE.

    VI PREGO AIUTATEMI!!!!!

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


      Qual è il terzo riquadro di destra? Il trattino è la piccola barra verticale?
      In attesa di capirci meglio vedi se questo può andar bene:

      `
      \begin{tabularx}{\textwidth}{cX}
      \toprule
      \textbf{\texttt{CHARACTERISTICS}} & \multicolumn{1}{c}{\textbf{\texttt{DESCRIPTIONS}}}\\
      \midrule
      Efficiency & $10\%$ (milled version) or $13,4\%$ (laser cut), each with $10\%$ transparency\\
      Form & Square\\
      Usual Size & \SI{10}{cm^{2}} x \SI{10}{cm^{2}}; \SI{12,5}{cm^{2}} x \SI{12,5}{cm^{2}} \\
      Thickness & \SI{0,30}{mm}\\
      Appearance & The EFG process produces long pulled crystal that can just be seen if you look closely. The cell surfaces are slightly uneven \\
      Colour & Depends upon type, such as polycrystalline cells or black\\
      \bottomrule
      \end{tabularx}
      `
      Servono i pacchetti tabularx, siunitx, booktabs.

      Ciao
      Ivan

    • #34356
      Up
      0
      Down
      ::

      % DUNQUE MOLTO SEMPLICEMENTE VORREI CHE IL FILE COMPILASSE IL SEGUENTE

      %——————————————————————————————————
      \begin{table}[ht]% INIZIO DELLA TABELLA
      \centering
      \begin{tabular}{|c|c|p{10cm}|}
      \multicolumn{2}{c}
      {\textbf{ }} \\% TITOLO DELLA TABELLA
      \hline
      \textbf{\texttt{\textit{CHARACTERISTICS}}} & \textbf{\texttt{\textit{DESCRIPTIONS}}}\\ %TITOLI NELLE COLONNE
      \hline
      Efficiency&
      \begin{tabular}{@|p{10cm}}
      10\% (milled version) or 13,4\% (laser cut), each with 10\% transparency
      \end{tabular}\\
      \hline
      Form&Square\\
      \hline
      Usual Size&
      \begin{tabular}{@|p{10cm}}
      10$cm^{2}$x10$cm^{2}$;12,5$cm^{2}$x12,5$cm^{2}$;
      \end{tabular}\\
      \hline
      Thickness&0,30mm\\
      \hline
      Appearance&
      \begin{tabular}{@|p{10cm}}
      The EFG process produces long pulled crystal that can just be seen if you look closely. The cell surfaces are slightly uneven.
      \end{tabular}\\
      \hline
      Colour&Depends upon type, such as polycrystalline cells or black\\
      \hline
      \end{tabular}
      \label{table:TAB.TRANSP.SC} % REFERENZA DA INSERIRE NEL TESTO
      \caption{Transparent Solar Cells}\\ % TITOLO CHE SI VEDE NELLA LISTA DELLE TABELLE
      \end{table} % FINE DELLA TABELLA

      %——————————————————————————————————
      SOLO CHE IL TERZO RIQUADRO DI DESTRA RISULTA INIZIARE CON UN TRATTINO,E NON CAPISCO PER QUALE RAGIONE.

      VI PREGO AIUTATEMI!!!!!

      Mi pare una pessima idea quella di usare il carattere dattilografico per le intestazioni della tabella. Anche definire una tabella di tre colonne per poi usarne due non mi convince molto.

      Prova così (occorre il pacchetto array):
      `\begin{tabular}{cp{10cm}}
      {\textbf{ }} \\% TITOLO DELLA TABELLA
      \hline
      \textit{CHARACTERISTICS} & \textit{DESCRIPTIONS}\\ %TITOLI NELLE COLONNE
      \hline
      Efficiency&
      10\% (milled version) or 13,4\% (laser cut), each with 10\% transparency \\
      \hline
      Form&\centering\arraybackslash Square\\
      \hline
      Usual Size&
      10$cm^{2}$x10$cm^{2}$;12,5$cm^{2}$x12,5$cm^{2}$; \\
      \hline
      Thickness&\centering\arraybackslash 0,30mm \\
      \hline
      Appearance&
      The EFG process produces long pulled crystal that can just be seen if you look closely. The cell surfaces are slightly uneven. \\
      \hline
      Colour&Depends upon type, such as polycrystalline cells or black\\
      \hline
      \end{tabular}`
      Il risultato non è granché, probabilmente perché la prima colonna non va centrata.

      Il trattino derivava dall’espressione scorretta @|

      Ciao
      Enrico

    • #34357
      Up
      0
      Down
      ::


      come consigliato ho aggiunto sul master file il comando:
      \usepackage{array}

      DUNQUE IL NUOVO IMPUT SUGGERITO SEMBRA ANDARE BENE, solo che si sono perse le
      – linee di bordo e mezzeria della tabella stessa. Ho provato con il comando
      \begin{tabular}{|c|c|p{10cm}}
      ma la centratura va a farsi benedire

      – inoltre la nota “caption” ovvero la referenza della tabella non è centrata.

      quindi in sostanza ora parto da questo punto:

      \begin{tabular}{cp{10cm}}
      {\textbf{ }} \\% TITOLO DELLA TABELLA
      \hline
      \textit{CHARACTERISTICS} & \textit{DESCRIPTIONS}\\ %TITOLI NELLE COLONNE
      \hline
      Efficiency& 10\% (milled version) or 13,4\% (laser cut), each with 10\% transparency \\
      \hline
      Form&\centering\arraybackslash Square\\
      \hline
      Usual Size&
      10$cm^{2}$x10$cm^{2}$;12,5$cm^{2}$x12,5$cm^{2}$; \\
      \hline
      Thickness&\centering\arraybackslash 0,30mm \\
      \hline
      Appearance& The EFG process produces long pulled crystal that can just be seen if you look closely. The cell surfaces are slightly uneven. \\
      \hline
      Colour&Depends upon type, such as polycrystalline cells or black\\
      \hline
      \end{tabular}
      \caption{NUOVA TABELLA}\\ % TITOLO CHE SI VEDE NELLA LISTA DELLE TABELLE
      \label{table:NTAB}

      spero riusciate a risolvermi questo mio inghippo.

      in attesa grazie infinite.

      Damy

    • #34358
      Up
      0
      Down
      ::

      come consigliato ho aggiunto sul master file il comando:
      \usepackage{array}

      DUNQUE IL NUOVO IMPUT SUGGERITO SEMBRA ANDARE BENE, solo che si sono perse le
      – linee di bordo e mezzeria della tabella stessa. Ho provato con il comando
      \begin{tabular}{|c|c|p{10cm}}
      ma la centratura va a farsi benedire

      – inoltre la nota “caption” ovvero la referenza della tabella non è centrata.

      L’idea era che i filetti verticali non ci vanno. Se proprio li vuoi, cosa che ti sconsiglio così come gli \hline dopo ogni riga (leggiti la documentazione del pacchetto booktabs), è chiaro che devi scrivere
      `\begin{tabular}{|c|p{10cm}|}`

      Quanto alla didascalia, non capisco il problema, vuoi essere più chiaro?

      Ciao
      Enrico

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

Go to top