Re: Domande sparse su figure e tabelle

#27487
Up
0
Down
::


Ciao sono un nuovo iscritto.
Sto cercando di fare una tabella su più pagine che contenga parti di testo di dimensioni variabili, da poche righe a paragrafi di media lunghezza.
Dopo aver letto diverse pagine del forum, la documentazione dei pacchetti longtable, xtab, supertabular, e aver fatto diverse prove negli ultimi giorni, non sono arrivato a grandi risultati (questo è male immagino!).

Nelle mie intenzioni iniziali ho messo le 3 colonne vicine — come si vede nel codice sotto usando il pacchetto xtab e l’ambiente mpxtabular —
poi ho pensato (forse sbagliando) di mettere la prima e la terza colonna, che devono contenere poco testo, vicine e posizionate in alto; mentre la seconda colonna, che conteniene le parti di testo più ampie, ho provato a posizionarla sotto le prime due..anche qui i risultati non sono stati all’altezza delle mie aspettative e i mal di testa non pochi.. in questo secondo caso ho provato ad usare il pacchetto e l’ambiente longtable. (che ora non posto per non occupare troppo spazio).

Sono sinceramente confuso e spero che qualcuno possa consigliarmi sul da farsi
Grazie Ale

`
\documentclass[a4paper,oneside,12pt]{book}

\pagestyle{plain}
\usepackage[latin1]{inputenc}
\usepackage[italian]{babel}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{layaureo}
\usepackage{setspace}
\usepackage{url}
\usepackage{tabularx}
\usepackage{xtab}
\usepackage{rotating}
\usepackage{siunitx}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{array}
\usepackage{calc}

\begin{document}

\topcaption{Tabella}
\tablefirsthead{\hline \multicolumn{1}{|c|}{\textbf{Titolo}} & \multicolumn{1}{c|}{\textbf{Testo}} & \multicolumn{1}{c|}{\textbf{Commento}}\\\hline}
\tablehead{\multicolumn{3}{c}%
{{\captionsize\bfseries \tablename\ \thetable{} —
continua dalla pagina precedente}} \\
\hline \multicolumn{1}{|c|}{\textbf{Titolo}} & \multicolumn{1}{c|}{\textbf{Testo}} & \multicolumn{1}{c|}{\textbf{Commento}}\\ \hline}
\tablelasthead{\multicolumn{3}{c}%
{{\captionsize\bfseries \tablename\ \thetable{} —
conclude dalla pagina precedente}} \\
\hline \multicolumn{1}{|c|}{\textbf{TItolo}} &
\multicolumn{1}{c|}{\textbf{Testo}} & \multicolumn{1}{c|}{\textbf{Commento}} \\ \hline}
\tabletail{\hline \multicolumn{3}{|r|}{{continua nella pagina seguente}} \\ \hline}
\tablelasttail{\hline \hline}

\begin{mpxtabular}{|l|p{4cm}|c|p{5cm}|c|p{3cm}|}

Canada\\
\emph{The Guardian Weekly}\\
\textbf{Whose continental}\\
\textbf{resorces did you say?}\\
Dicembre 1971 &
\footnotesize{No alla \emph{common ownership of continental resources} (Nixon)US has no resources left to share [with Canada] US consume more than its share of the world's resources coercion of political and corporate pressures [by US] NAWAPA is the answer to the next decade water shortage our concern must ultimately rest with the economic, political and cultural existence of Canada as a nation the formal American identity is one of revolution and violence [\dots] Canada has enjoyed a relatively peaceful development the best we can hope to do is fight a delaying action Is Canada a Winston Smith nation? (\textbf{nota})} & \\
\hline
USA\\
General\\
Andy McNaughton\\
President of International\\
Joint Commission (IJC)\\
Dichiarazione (1965) & To me it is obvious that if we make a bargain to divert water to the US, we cannot ever discontinue or we shall face force to compel compliance (dall'articolo precedente) & \\
\hline
Canada\\
\textsc{The Tyee}\\
\emph{Relax. The US isn't}\\
\emph{about to start}\\
\emph{draining us dry.}\\
(Giugno 2008)} &
\footnotesize{Activists routinely assert that US states are looking toward Canada's water as a quick-fix solution to regional water crises no US state agency or government has proposed importing water from Canada as a solution to its own shortage trying to prove the danger of an American assault on Canada's water, activists cite the unsustainable depletion of the Ogallala aquifer and the NAWAPA pipe dream IJC has stated: the era of major diversions in the US and Canada has ended large scale water diversion is not economically feasible (Canada Govern consultant) activists alarm: the sale of a single sip of our water would be enough to instantly open the floodgates to a rapacious America aqua-nationalists make selective reading of GATT, WTO and NAFTA documents} & \\
\hline
USA\\
\textsc{Water Wired}\\% (water blog)\\
\emph{Environment Canada Report:}\\
\emph{Fresh Water Shortages}\\
\emph{in the Great White North?}\\
(Agosto 2008) &
\footnotesize{water shortage in Canada as reported in an internal report (unreleased)of Government could be true The Council of Canadians blamed the government for suppressing the report Estimates of Canada's supply of fresh water vary from 5.6\% to 9\% to 20\% of the world's supply, depending on how one defines \textquotedblfelt{fresh water}\textquotedblright\ whether it means available, usable, or merely existing Canada's demographics and hydrographics do not correspond. About 80-85\% of its population lives within about 100 miles (300 km) of its southern border with the USA 60\% of its fresh water drains to the north of this border region We can no longer take our extensive water supplies for granted (Report: A Federal Perspective on Water Quantity Issues) federal government must take a more hands-on role in managing the country's water (now largely done by the provinces) Canada lacks sound information at a national scale on the major uses and userof water National forecasting of water availability has never been done because traditionally our use of the resource was thought to be unlimited ground water? The report says: sparse and often inadequate Our lack of data places Canada at strategic disadvantage for bilateral negotiations with the US The report forecasts drought in the Prairie Provinces and ground water shortages in British Columbia and the Great Lakes-St. Lawrence River basin Lake Superior reached its historic low in September 2007 Let's hope Canada acts quickly. Otherwise, where will our NAWAPA and NARA water come from?} & \\
\hline
\end{mpxtabular}
\end{document}
`

Go to top