Risposte nei forum create
-
AutoreRisposte
-
::
Ho scoperto il problema, il comando che ho inserito nell’appendice per evitare che compaiano le sezioni e sottosezioni delle appendici nell’indice, toglie anche le figure e tabelle dall’indice!
`
\addtocontents{toc}{\string\setcounter{tocdepth}{0}}
`
Sapreste dirmi dove cercare una soluzione?
::
Ciao egreg9 e a tutti,
non so se devo scrivere qui o nell’altro topic aperto da me “Scomparsa della lista figure e lista tabelle” ma comunque ho fatto come mi hai detto ed era quello che cercavo di fare ma il problema è che mi scompaiono le liste delle tabelle e delle immagini! Sai darmi una qualche motivazione? Ho anche provato a utilizzare \input ed il risultato è sempre il solito, nessuna figura o tabella nelle relative liste.Grazie ,Lucignolo
::
Ho scoperto il problema (forse) ma non ne capisco il motivo!Allora io avrei un’equazione su più righe e per cui ho scritto:
`
\begin{equation}
\begin{split}
Q=&….\\
Q=&…\\
Q=&…\\
\end{split}
\end{equation}
`
appena ho cancellato il comando split tutto funziona come prima. Sapete dirmi perchè?
::
Va bene ti metto due tabelle`
\documentclass[11pt, a4paper, twoside,openright]{book}\usepackage{ams math}
\usepackage{emptypage}
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{graphicx}
\usepackage{varioref}
\usepackage{fancyhdr}
\usepackage{geometry}
\usepackage[english]{babel}
\usepackage{indentfirst}
\usepackage{makeidx}
\usepackage{guit}
\usepackage[binding=1cm]{layaureo}
\usepackage{ragged2e}
\usepackage{csquotes}
\usepackage{booktabs}
\usepackage{tabularx}
\usepackage{array}
\usepackage{dcolumn}
\usepackage{subfigure}
\usepackage{url}
\usepackage{etoolbox}
\usepackage{keyval}
\usepackage{logreq}
\usepackage{ifthen}
\usepackage[singlelinecheck=true,font=small,labelfont=bf,textfont=sl]{caption}
\usepackage{afterpage}
\usepackage{multirow}
\usepackage{longtable}
\usepackage[pdftex]{rotating}
\usepackage{pdfpages}\begin{document}
\pagenumbering{roman}
\tableofcontents
\listoftables
\listoffigures\cleardoublepage
\include{Abstract}
\include{Introduction}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{#1}{}}
\fancyhf{}
\fancyhead[LE,RO]{\bfseries\thepage}
\fancyhead[LO]{\bfseries\rightmark}
\fancyhead[RE]{\bfseries\leftmark}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0.5pt}
\addtolength{\headheight}{2pt}
\cleardoublepage
\renewcommand\bibname{References}
\justifying\pagenumbering{arabic}
\begin{table}[htbp]
\centering
\caption{Dimension of the parking \cite{DepHels}} \label{tab:Dimension}
\begin{tabular}{m{.5\textwidth}m{.2\textwidth}}
\toprule
\textbf{Parking spaces} & 23650\,m$^2$\\
\midrule
\textbf{Access tunnel and ramp} & 3270\,m$^2$\\
\midrule
\textbf{Technical facilities and ducts} & 2630\,m$^2$\\
\midrule
\textbf{Sidewalks} & 1790\,m$^2$\\
\midrule
\textbf{Total amount} & 31340\,m$^2$\\
\midrule
\textbf{Cave mining capacity} & 120000\,m$^3$\\
\end{tabular}
\end{table}\begin{table}
\centering
\caption{Values of the pattern rockbolts and shotcrete thickness estimate with the tunneling quality index for a preliminary design}\label{tab:BoltResult}
\begin{tabular}{m{.1\textwidth}m{.06\textwidth}m{.1\textwidth}m{.1\textwidth}m{.1\textwidth}m{.05\textwidth}m{.1\textwidth}m{.1\textwidth}}
\cmidrule{3-8}
\multicolumn{2}{c}{} & \multicolumn{4}{c}{\textbf{Pattern rockbolts}} & \multicolumn{2}{c}{\textbf{SC thickness (mm)}}\\
\toprule
\textbf{Cross-section} & \textbf{Q$_{roof}$} & \textbf{Length on the roof (m)} & \textbf{Length on the walls (m)} & \textbf{Square side (m)} & \textbf{Bolts per ring} & \textbf{Roof} & \textbf{Wall} \\
\midrule
T1a & 10,00 & 2,4 & 2,4 & 2,3 & 7 & 40 & 0 \\
T1b & 4,00 & 2,4 & 2,4 & 2,1 & 7 & 40 & 0 \\
T1c & 1,00 & 2,4 & 2,4 & 1,7 & 9 & 60 & 40 \\
T1b & 4,00 & 2,4 & 2,4 & 2,1 & 9 & 40 & 0 \\
\midrule
A1b & 4,00 & 2,4 & 2,4 & 2,1 & 7 & 40 & 0\\
A1c & 1,00 & 2,4 & 2,4 & 1,7 & 9 & 60 & 40\\
\midrule
A2b & 4,00 & 2,4 & 2,4 & 2,1 & 8 & 40 & 0\\
A2c & 1,00 & 2,4 & 2,4 & 1,7 & 10 & 60 & 40\\
\midrule
A3a & 10,00 & 4 & 2,4 & 2,3 & 15 & 50 & 0\\
A3b & 4,00 & 4 & 2,4 & 2,1 & 17 & 60 & 40\\
A3c & 1,00 & 4 & 2,4 & 1,7& 19 & 90 & 50\\
\bottomrule
\end{tabular}
\end{table}\end{document}
`Il programma funziona cioè mi mette le due tabelle nell’indice, ma a me servirebbe sapere dove posso cercare l’errore perchè latex non me lo dice!
::
Grazie a tutti e due,
nelle due tabelle uso già array colonna di tipo m ed in una tabella ho delle immagini ma nessuna box. Comunque ho risolto cancellando i file ausiliari e riavvinado latex. Ora però non mi mette più la lista delle tabelle e delle immagini. Penso di creare un nuovo topic per risolvere questo problema.
Grazie ancora.Lucignolo
::
Allora ti spiego cosa ho fatto, magari sono completamente fuori strada!Io ho creato un file Appendix.tex che viene richiamato dal mio file master con \include{Appendix}. Dentro il file Appendix.tex c’è il comando \appendix e poi tutti i vari capitoli, sezioni e sottosezioni.
Se le vuoi numerate, allora devi usare un approccio completamente diverso, nel senso che prima di cominciare la prima appendice devi mettere la specifica \setcounter{tocdepth}{0} e nell’indice, da quel momento in poi vanno soli i titoli dei comandi di sezionamento a livello di \chapter.
ho provato a mettere la specifica prima del Chapter in appendice (sarebbe subito dopo \appendix) ma mi compaiono sempre. Ti scrivo come ho fatto l’indice:
`
\pagenumbering{arabic}
\include{Cap1}
\cleardoublepage
\include{Cap2}
\cleardoublepage
\include{Cap3}
\cleardoublepage
\include{Appendix}
\cleardoublepage
\include{References}
\end{document}
`
dentro Appendix.tex ho
`
\appendix
\setcounter{tocdepth}{0}
\chapter{Permission for thesis}
\includepdf{Permission.pdf}
\chapter{Introduction to numerical analysis}
\section{Introduction}
`E’ sbagliato usare così il comando \appendix?
Grazie
::
Ciao OlClaudio e grazie, sono riuscito a farla proprio come volevo. Posto la soluzione senza scritte.
Grazie ancora e buona giornata a tutti`
documentclass[11pt, a4paper, twoside,openright]{book}\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{tabularx}
\usepackage[singlelinecheck=true,font=small,labelfont=bf,textfont=sl]{caption}
\usepackage{multirow}\begin{document}
\begin{table}[p]
\newcommand\quattrocolonne[1]{\tabular{p{.17\textwidth}p{0.13\textwidth}p{.14\textwidth}p{0.11\textwidth}}#1\endtabular}
\caption{…..} \label{tab:mi}
\small
\begin{tabular}{m{.05\textwidth}m{.05\textwidth}m{.05\textwidth}{l}}
\toprule
\multirow{1}* {\parbox{1mm}{\textbf{…..}}} & \textbf{…..} & \textbf{…..} & \quattrocolonne{\multicolumn{4}{c}{\textbf{…..}}\\
\cmidrule{1-4}
\textbf{…..} & \textbf{…..} & \textbf{…..} & \textbf{…..}}\\
&&&\\
\hline
\multirow{9}*{\rotatebox[origin=c]{90}{…..}} & \multicolumn{2}{c}{…..} & \quattrocolonne{&&&\\
….. & ….. & ….. & …..\\
….. & ….. & ….. & ….. \\
….. & …..& ….. & ….. \\
…..&….. & ….. & ….. \\
…..&….. &….. &…..\\
…..& …..& …..&…..} \\
\cmidrule{2-4}
&\multirow{6}*{\rotatebox[origin=c]{90}{…..}} & \multicolumn{1}{c}{…..} &
\quattrocolonne{
….. & ….. & ….. & …..\\
….. & ….. & ….. & ….. \\
….. & …..& ….. & ….. }\\
\cmidrule{3-4}
&&\multicolumn{1}{c}{…..} & \quattrocolonne{
&….. & ….. & \\
&….. & ….. & }\\
\cmidrule{3-4}
&&\multicolumn{1}{c}{…..} & \quattrocolonne{& & & ….\\
&&&….}\\
\cmidrule{1-4}
\multirow{7}*{\rotatebox[origin=c]{90}{…..}} & \multicolumn{2}{c}{…..} & \quattrocolonne{
….. & ….. & ….. & …..\\
….. & ….. & ….. & ….. \\
….. & …..&….. & …..\\
…..& ….. & ….. & …..} \\
\cmidrule{2-4}
& \multicolumn{2}{c}{…..} & \quattrocolonne{
….. & ….. & ….. & …..\\
….. & ….. & ….. & ….. \\
….. & ….. & ….. & ….. }\\
\cmidrule{2-4}
& \multicolumn{2}{c}{…..} & \quattrocolonne{
….. & ….. & ….. & …..\\
….. & ….. & ….. & …..} \\
\cmidrule{1-4}
\multirow{16}*{\rotatebox[origin=c]{90}{…..}} &\multirow{7}*{\rotatebox[origin=c]{90}{…..}} & \multicolumn{1}{c}{…..} &
\quattrocolonne{
….. & ….. & ….. & …..\\
….. & ….. &….. & …..\\
\multicolumn{2}{c}…..& ….. & ….. \\
\multicolumn{2}{c}{…..}& ….. & …..} \\
\cmidrule{3-4}
&&\multicolumn{1}{c}{…..} & \quattrocolonne{
& & & \\
….. & ….. & ….. & ….. \\
…..& ….. & …..&…..\\
…..& & & \\
….. & & &} \\
\cmidrule{2-4}
&\multicolumn{2}{c}{…..} & \quattrocolonne{
….. & & ….. & ….. \\
….. & &….. & …..}\\
\cmidrule{2-4}
&\multirow{4}*{\rotatebox[origin=c]{90}{…..}} & \multicolumn{1}{c}{…..} &
\quattrocolonne{
& ….. & ….. & …..\\
& ….. & ….. & …..\\
& ….. & ….. &\\
& ….. & ….. & \\ }\\
\cmidrule{3-4}
&&\multicolumn{1}{c}{…..} & \quattrocolonne{
….. & ….. & ….. & \\
….. & ….. & ….. & }\\
\cmidrule{1-4}
\end{tabular}
\end{table}\end{document}
`
::
Allora se non erro ti serve qualcosa come:`
\documentclass[11pt, a4paper, twoside,openright]{book}\usepackage{booktabs}
\usepackage{tabularx}
\usepackage{array}
\usepackage{dcolumn}
\usepackage[singlelinecheck=true,font=small,labelfont=bf,textfont=sl]{caption}
\usepackage{multirow}
\usepackage{longtable}
\usepackage[pdftex]{rotating}
\usepackage{pdfpages}\begin{document}
\begin{table}[p]
\begin{minipage}{\textwidth}
\centering
\caption{text} \label{text}
\small
\begin{tabular}{*2{m{.1\textwidth}}m{.15\textwidth}m{.08\textwidth}m{.24\textwidth}m{.16\textwidth}}
\toprule
\textbf{text $^a$} & \textbf{text} & \textbf{text} & \textbf{text} &\textbf{text} & \textbf{text}\\
\midrule
text & text & text & text & text &text\\
\midrule
text & text & text & text & text &text\\
\midrule
text & text & text & text & text &text\\
\midrule
text & text & text & text & text &text\\
\midrule
text & text & text & $^b$ & text &text\\
\midrule
text & text & text & $^b$ & text &text\\
\midrule
text & text & text & $^b$ & text &text\\
\bottomrule
\multicolumn{6}{l}{$^a$ text} \\
\multicolumn{6}{l}{$^b$ text}\\
\end{tabular}
\end{minipage}
\end{table}\end{document}
`in questo caso la nota b fuoriesce dal foglio mentre nel caso seguente con \footmarknote e \foottextnote:
`
\documentclass[11pt, a4paper, twoside,openright]{book}\usepackage{booktabs}
\usepackage{tabularx}
\usepackage{array}
\usepackage{dcolumn}
\usepackage[singlelinecheck=true,font=small,labelfont=bf,textfont=sl]{caption}
\usepackage{multirow}
\usepackage{longtable}
\usepackage[pdftex]{rotating}
\usepackage{pdfpages}\begin{document}
\begin{table}[p]
\begin{minipage}{\textwidth}
\centering
\caption{text} \label{text}
\small
\begin{tabular}{*2{m{.1\textwidth}}m{.15\textwidth}m{.08\textwidth}m{.24\textwidth}m{.16\textwidth}}
\toprule
\textbf{text \footnotemark[1]} & \textbf{text} & \textbf{text} & \textbf{text} &\textbf{text} & \textbf{text}\\
\midrule
text & text & text & text & text &text\\
\midrule
text & text & text & text & text &text\\
\midrule
text & text & text & text & text &text\\
\midrule
text & text & text & text & text &text\\
\midrule
text & text & text &\footnotemark[2] & text &text\\
\midrule
text & text & text & \footnotemark[2] & text &text\\
\midrule
text & text & text &\footnotemark[2] & text &text\\
\bottomrule
\footnotetext[1]{TEXT}
\footnotetext[2]{TEXT}
\end{tabular}
\end{minipage}
\end{table}\end{document}
`L’indice delle note e sbagliato
::
Va bene,questo è quello che a me serve
[attachment=503]tabella1.png[/attachment]
ma al posto di * e ** ho messo le note che si vedono così
[attachment=504]tabella1ERR.jpg[/attachment]
che però la nota b fuoriesce dal foglio
mentre con \footnotemark e \footnotetext ho
[attachment=505]TabellaFootnote.jpg[/attachment]
Attachments:
You must be logged in to view attached files. -
AutoreRisposte