Tabela não posiciona em ponto de texto indicado por código

Tabela não posiciona em ponto de texto indicado por código

Sou novo em látex. Estou escrevendo minha tese e estou com esta situação:

texttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttext**:**
\begin{table}[h]
\begin{center} 
\noindent\begin{tabular}{|c|c|c|}
     \hline
     \rowcolor{gray!50}
     \bfseries Specifiche Tecniche & \bfseries Bluetooth BR & \bfseries Bletooth Low Energy \\
     \hline
     Frequenza & Tra $2400$ e $2483.5$ MHz & Tra $2400$ e $2483.5$ MHz \\
     \hline
     Data Channel & $79$ & $37$ \\
     \hline
     Advertising Channel & $32$ & $3$ \\
     \hline
     Criptaggio & $64/128 bit$ & AES $128$ bit \\
     \hline
     Range & $100$ m & $> 100$m \\
     \hline
     Throughput & $0.7-2.1$ Mbit/s & $< 0.3$ Mbit/s \\
     \hline
     Latenza di Connessione &   $ \approx 100$ ms   & $6$ ms \\
     \hline
     Tempo minimo di invio dati & $100$ ms & $3$ ms \\
     \hline
     Potenza di consumo & $1$ W & Tra $0.01$ a $0.5$ W \\
     \hline
     Picco di corrente  & $22-40$ mA & $10-30$ mA \\
     \hline
\end{tabular}
\caption[Differenze tra Bluetooth BR \& Bluetooth 4.0]{Differenze tra Bluetooth BR \& Bluetooth 4.0}
\label{tab:my_label}
\end{center}
\end{table} \\
othertextothertextothertextothertextothertextothertextothertextothertextothertextothertextothertextothertextothertextothertextothertextothertextothertextothertextothertextothertextothertextothertextothertextothertextothertextothertextothertextothertext.

O problema é que eu colocaria a tabela neste ponto, pelo compilador, posicionando-a no início da próxima página.

(PS: desculpe pelo meu mau inglês)

Responder1

Se você não deseja que o material tabular "flutue" (no sentido LaTeX da palavra), não o coloque em um ambiente flutuante como table. Aprenda a conviver com o algoritmo de posicionamento flutuante do LaTeX - na maioria das vezes, ele é muito bom. Se necessário, forneça o [h!]especificador de posicionamento. Se a tabela ainda não couber na página, provavelmente não há espaço suficiente na página para caber na tabela.

Tenho duas sugestões adicionais:

  • Omita todas as linhas verticais e a maioria das linhas horizontais do material tabular e use as macros de desenho de linha do booktabspacote para desenhar as linhas horizontais restantes.

  • Use as macros \nume \SIdo siunitxpacote para denotar números escalares e números com unidades, respectivamente.

Os resultados de fazer esses ajustes são mostrados na captura de tela a seguir.

insira a descrição da imagem aqui

\documentclass{article}
\usepackage{booktabs}
\usepackage[table]{xcolor}
\usepackage[binary-units,per-mode=symbol]{siunitx}
\usepackage[italian]{babel}
\begin{document}

\begin{table}[h!]
\renewcommand\arraystretch{1.1}
\setlength\tabcolsep{5pt} % default: 6pt
\centering % not '\begin{center}...\end{center}'
\begin{tabular}{lcc}
\rowcolor{gray!30}
\bfseries Specifiche Tecniche & \bfseries Bluetooth BR & \bfseries Bluetooth Low Energy \\ 
\addlinespace

Frequenza  & \num{2400}--\SI{2483.5}{\mega\hertz} &  \num{2400}--\SI{2483.5}{\mega\hertz} \\

Data Channel & 79 & 37 \\

Advertising Channel & 32 & 3 \\

Criptaggio & \SI{64/128}{\bit} & AES \SI{128}{\bit} \\

Range & \SI{100}{\meter} & ${}>\SI{100}{\meter}$ \\

Throughput & \num{0.7}--\SI{2.1}{\mega\bit\per\second} & ${}< 0.3$ Mbit/s \\

Latenza di Connessione & ${}\approx \SI{100}{\milli\second}$  & \SI{6}{\milli\second} \\

Tempo minimo di invio dati & \SI{100}{\milli\second} & \SI{3}{\milli\second} \\

Potenza di consumo & \SI{1}{\watt} & \num{0.01}--\SI{0.5}{\watt} \\

Picco di corrente  & \num{22}--\SI{40}{\milli\ampere} & \num{10}--\SI{30}{\milli\ampere} \\
\bottomrule
\end{tabular}
\caption[Differenze tra Bluetooth BR e Bluetooth 4.0]{Differenze tra Bluetooth BR e Bluetooth 4.0}
\label{tab:my_label}
\end{table} 
\end{document}

Responder2

[RESOLVER] Obrigado ao guia sharelatexhttps://it.sharelatex.com/learn/Positioning_images_and_tables- seção Tabelas de posicionamento usei o parâmetro H em vez de h! sugerido por Mico. Para isso meu novo código é:

 \begin{table}[H]
\centering
\begin{tabular}{|c|c|c|}
     \hline
     \rowcolor{gray!50}
     \bfseries Specifiche Tecniche & \bfseries Bluetooth BR & \bfseries Bletooth Low Energy \\
     \hline
     Frequenza & Tra $2400$ e $2483.5$ MHz & Tra $2400$ e $2483.5$ MHz \\
     \hline
     Data Channel & $79$ & $37$ \\
     \hline
     Advertising Channel & $32$ & $3$ \\
     \hline
     Criptaggio & $64/128 bit$ & AES $128$ bit \\
     \hline
     Range & $100$ m & $> 100$m \\
     \hline
     Throughput & $0.7-2.1$ Mbit/s & $< 0.3$ Mbit/s \\
     \hline
     Latenza di Connessione &   $ \approx 100$ ms   & $6$ ms \\
     \hline
     Tempo minimo di invio dati & $100$ ms & $3$ ms \\
     \hline
     Potenza di consumo & $1$ W & Tra $0.01$ a $0.5$ W \\
     \hline
     Picco di corrente  & $22-40$ mA & $10-30$ mA \\
     \hline
\end{tabular}
\caption[Differenze tra Bluetooth BR \& Bluetooth 4.0]{Differenze tra Bluetooth BR \& Bluetooth 4.0}
\label{tab:my_label}

\end{table}

melhores cumprimentos e obrigado a todos

informação relacionada