- Questo topic ha 1 risposta, 2 partecipanti ed è stato aggiornato l'ultima volta 6 anni, 11 mesi fa da .
-
Topic
-
Salve a tutti, scusate la fretta, ma ho queste due tabelle e devo dividerle in due pagine diverse, ma non so come fare.`
%
% last updated: December 4, 2018
%
\documentclass[b5paper,twoside,reqno]{peloritana}
% !TEX TS-program = pdflatex
% !TEX spellcheck = en-EN
\textheight19cm \addtolength{\headsep}{2em}
\flushbottom
%
% Packages
%\usepackage{subcaption}
\usepackage[T1]{fontenc}
\usepackage[italian,english]{babel}
\usepackage[utf8]{inputenc}%
% American Mathematical Society style packages …
\usepackage{amsmath,amssymb,amsfonts,amsthm}
%
% Special math symbols …
\usepackage{latexsym}
%
% Other packages …
\usepackage{underscore}
\usepackage{lineno}
\usepackage{graphicx}
\usepackage[usenames,dvipsnames]{color}
\usepackage{colortbl}
\usepackage[dvipsnames]{xcolor}
\usepackage{pdfcolmk}
\usepackage{lscape}
\usepackage{epstopdf}
\usepackage{setspace}
\usepackage{lastpage}
\usepackage{caption}
\usepackage{siunitx}
\usepackage[]{footmisc}
%
% Handling long tables …
\usepackage{longtable}
%
% The package “threeparttable'' facilitates tables with titles (captions) and notes …
\usepackage{threeparttable} % including notes
%
% Times for rm and math | Helvetica for ss | Courier for tt
%
\usepackage{mathptmx} % rm & math
\usepackage[scaled=0.90]{helvet} % ss
\usepackage{courier} % tt
\normalfont
\usepackage{textcomp}
\usepackage{microtype}
\usepackage{indentfirst}
\usepackage{booktabs}
\usepackage{fancyhdr}
\usepackage{wasysym}
%
% Bibliography, citations, and hyperlinks …
%
% NOTE: BibLaTeX module requires the file “references.bib''
% NOTE: BibLaTeX is not compatible with the package “cite”
%
\input{inputfiles/bibliography.tex}
%
% Handling hyperlinks …
\input{inputfiles/hyperlinks.tex}
%
% !TEX encoding = UTF-8 Unicode
% NOTE: The following instruction must follow the command \usepackage[a-1b]{pdfx} in \input{hyperlinks.tex}
\usepackage[utf8]{inputenc}
%
\usepackage{float}
%
% The package ''placeins“ defines a \FloatBarrier command, beyond which floats may not pass; useful, for example, to ensure all floats for a section appear before the next \section command.
\usepackage{placeins}
%
% Watermarking
%
\usepackage{draftwatermark}
\edef\stopwatermark{\the\inputlineno}
%\usepackage[nostamp]{draftwatermark}
%
% NOTE: if loaded as \usepackage[nostamp]{draftwatermark}, the package does not print any watermark even if it is configured to do so according to the following settings:
\SetWatermarkAngle{90}
\SetWatermarkFontSize{10mm}
\SetWatermarkHorCenter{0.07\paperwidth}
% -> specify the current version:
\edef\proofversion{\the\inputlineno} \SetWatermarkText{AAPP proofs (ver. 01)}
%
% Get floats (figures) to be centered on a floats-only page …
\makeatletter
\setlength{\@fptop}{0pt plus 1fil}
\setlength{\@fpbot}{0pt plus 1fil}
\makeatother
%
% Defining colors, some examples:
%\definecolor{aqua}{rgb}{0.0, 1.0, 1.0}
%\definecolor{lightcyan}{rgb}{0.88, 1.0, 1.0}
%\definecolor{lightgreen}{rgb}{0.56, 0.93, 0.56}
%\definecolor{lightpink}{rgb}{1.0, 0.71, 0.76}
%
% Add here customized definitions and commands, if needed …
% \newtheorem …
% \newcommand …
%
% Provide article's metadata: volume number, issue number, article number, year (do not modify the “firstpage“ value)
\edef\startmetadata{\the\inputlineno} \newcommand{\volume}{97}
\newcommand{\issuenumber}{S2}
\newcommand{\artno}{A24}
\edef\endmetadata{\the\inputlineno} \newcommand{\publishedyear}{2019}
%
% Define DOI suffix:
\newcommand{\doisuffix}{AAPP.\volume\issuenumber\artno}
%
\newcommand{\firstpage}{1}
%
% Headers and footers
%
\pagestyle{fancy}
\fancyhead{}
\fancyhead[LE]{\footnotesize \artno-\thepage}
%
% Author(s): abbreviated list
\edef\authorsshortlist{\the\inputlineno} \fancyhead[RE]{\footnotesize{\sc{N. Cicero et al.}}}
%
\fancyhead[RO]{\footnotesize \artno-\thepage}
%
% Shortened title (if necessary) …
\edef\runningtitle{\the\inputlineno} \fancyhead[LO]{\footnotesize{\sc{A statistical study on nitrate contents in \ldots}}}
\fancyfoot{}
\fancyfoot[CE,CO]{\setstretch{0.7}{\scriptsize{{\textsf{Atti Accad. Pelorit. Pericol. Cl. Sci. Fis. Mat. Nat., Vol. \volume, No. \issuenumber, \artno~(\publishedyear) [\pageref{LastPage} pages]}}}}}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
%
% Set the distance from the bottom of the last line of text in the body to the bottom of the footer
\setlength{\footskip}{18pt}
% a.s.l.;
%\setlength{\footheight}{0.5in}
%
\newcommand{\testata}
{
\vspace*{-5\baselineskip}
\hspace*{-14pt}
{\normalsize{DOI: \href{http://dx.doi.org/10.1478/\doisuffix}{10.1478/\doisuffix}}}\\
\vspace{6 mm}\\
\hspace*{\fill}{\Large{{AAPP $|$ {Atti della Accademia Peloritana dei Pericolanti}}}\\}
\hspace*{\fill}{\large{{\emph{Classe di Scienze Fisiche, Matematiche e Naturali}}}\\}
\hspace*{\fill}{\href{http://dx.doi.org/10.1478/18251242}{\normalsize{ISSN 1825-1242}}\\}
\hspace*{\fill}{\\}
\hspace*{\fill}{{\normalsize{Vol. \volume, No. \issuenumber, \artno~(\publishedyear)\\}}}
}\makeatletter
\renewcommand{\section}{\@startsection{section}{0}{0mm}{\baselineskip}
{0.5\baselineskip}{\normalfont\normalsize\bfseries}}
\makeatother
\newcommand{\presentazione}{\centerline{\small}}
\setcounter{page}{\firstpage}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% … handling underscores in BibTeX entries with Biber …
%
\DeclareSourcemap{
\maps[datatype=bibtex]{
\map{
\step[fieldsource=url,
match=\regexp{\\_},
replace=\regexp{_}]}}}
%
\begin{document}
%
% Full title …
\edef\fulltitle{\the\inputlineno} \title{\large A statistical study on nitrate contents \\in a set of some horticultural plants, \\used in Mediterranean diet}
%
% Inserting footnotes with symbolic marks (local definition): \usepackage[]{footmisc}
%
\makeatletter
\long\def\symbolfootnote[#1]#2{
\begingroup
\renewcommand\thefootnote{\fnsymbol{footnote}}
\footnote[#1]{#2}
%\footnotetext[#1]{#2}
\endgroup}
\makeatother
%
% Footnotes
%
%\begin{enumerate}
% You can insert a dedication here as a footnote ([0] -> no symbol)
%\edef\dedication{\the\inputlineno} \symbolfootnote[0]{\it This paper is dedicated to …}
% Info about a deceased author
%\end{enumerate}
%
% Authors
%%
% Abstract
\edef\theabstract{\the\inputlineno}\begin{abstract}
In this paper we consider a set of fresh horticultural plants, used in Mediterranean diet, and we carry out a statistical analysis. In particular, we illustrate the nitrate contents in these vegetables, obtained in laboratory, as a sample variable and we study its frequency distribution, we compute its average, variance and standard variation and we work out some graphic representations. The derived results are more deepened with respect to those ones obtained in a previous paper, where a classification in ordered classes of nitrate contents was taken into consideration. From the results it is seen that the average value of nitrate contents, ingested by human organism by the consumption of the analyzed fruits and vegetables, does not constitute a risk for human health, when the assumption of these vegetables is limited, in agreement with the values recommended by medical standards to prevent diseases, For this reason Mediterranean diet is recommended, because prescribes to eat many portions of fruits and vegetables to be in good health.
%
\end{abstract}
%
\maketitle
%
% The following command eliminates any headers and footers (including the centered page number) in the first page of the document.
\thispagestyle{empty}
%
% Sorting in-text citations according to the {ynt} scheme (different from that used in the bibliography)
\assignrefcontextentries[]{*}
%
% Numbering lines to facilitate proofreading
%
\edef\linenumbering{\the\inputlineno} \linenumbers
%
\edef\begintext{\the\inputlineno} % Text starts here …\section{Tables and figures}
\begin{table}
\caption{a) Variable $ X_2$ (Content of nitrates $mg/kg$ of fresh weight of edible plant) and b) its frequency distribution $F(X_2)$ }% tabella A
\begin{subtable}{.5\linewidth}
\centering\begin{tabular}{|c|l|}
\hline
% after \\: \hline or \cline{col1-col2} \cline{col3-col4} …
S& $T_2$\\
\hline \textit{Cichorium endivia} L. var. \textit{latifolium} Hegi &1200 $\pm$ 0.34\\
\hline \textit{ Cichorium intybus} L. &150 $\pm$ 0.15\\
\hline \textit{ Lactuca sativa} L. &3000 $\pm$ 0.24\\
\hline \textit{Scorzonera hispanica} L.&250 $\pm$ 0.18\\
\hline \textit{Allium cepa} L. &250 $\pm$ 0.25\\
\hline \textit{Allium porrum} L.& 1500 $\pm$ 0.12\\
\hline \textit{Asparagus officinalis} L. &190 $\pm$ 0.28\\
\hline \textit{Brassica oleracea} var. \textit{italica} Plenck & 400 $\pm$ 0.31\\
\hline \textit{ Brassica oleracea} L. var. \textit{Sabauda} L. & 600 $\pm$ 0.27\\
\hline \textit{Brassica rapa} L.& 600 $\pm$ 0.19\\
\hline \textit{Brassica rapa} L. var. \textit{rapa} & 350 $\pm$ 0.21\\
\hline \textit{Raphanus sativus }&2600 $\pm$ 0.26\\
\hline \textit{Cucumis melo } L. &93 $\pm$ 0.18\\
\hline \textit{Cucurbita moschata} &590 $\pm$ 0.28\\
\hline \textit{Cucumis sativus} L.&250 $\pm$ 0.15\\
\hline \textit {Ipomoea batatas} L. &150 $\pm$ 0.25\\
\hline \textit{Zea mays} L. var.
\textit{saccharata }K$\ddot{o}$rn &30 $\pm$ 0.12\\
\hline \textit{Phaseolus vulgaris} L. &53 $\pm$ 0.22\\
\hline \textit{ Pisum sativum} L. &53 $\pm$ 0.26\\
\hline \textit{ Rh$\acute{e}$um rhaponticum} L. &2400 $\pm$ 0.19\\
\hline \textit{Capsicum annuum} L. &25$\pm$ 0.22\\
\hline \textit{Lycopersicon esculentum }Mill. &16 $\pm$ 0.16\\
\hline \textit{Solanum melongena} L. &460 $\pm$ 0.29\\
\hline \textit{Solanum tuberosum} L. &35 $\pm$ 0. 31\\
\hline \textit{ Apium graveolens} L. var. \textit{dulce}&2600 $\pm$ 0.24\\
\hline \textit{ Petroselinum crispum }&1200 $\pm$ 0.19\\
\hline
\end{tabular}\caption{A subtable}
\end{subtable}% tabella B
\begin{subtable}{.5\linewidth}
\centering\begin{tabular}{|c|l|}
\hline
% after \\: \hline or \cline{col1-col2} \cline{col3-col4} …
$T_2$&$W_2$\\
\hline 16&1/26\\
\hline 25&1/26\\
\hline 30&1/26\\
\hline 35&1/26\\
\hline 53&2/26\\
\hline 93&1/26\\
\hline 150&2/26\\
\hline 190&1/26\\
\hline 250&3/26\\
\hline 350&1/26\\
\hline 400&1/26\\
\hline 460&1/26\\
\hline 590&1/26\\
\hline 600&2/26\\
\hline 1200&2/26\\
\hline 1500&1/26\\
\hline 2400&1/26\\
\hline 2600&2/26\\
\hline 3000&1/26\\
\hline
\end{tabular}\caption{}
\end{subtable}\end{table}
`
Ho provato con \linebreak, pagebreak, \newpage, ma non va.
Inoltre se metto il nome di una sezione \sectiojn{pincopanco} mi manda la tabella nella pagina successiva, lasciandomi la pagina bianca.
Come risolvere?
- Devi essere connesso per rispondere a questo topic.