General ⇒ A very long arrow
A very long arrow
i need to insert a very long arrow in my latex document, almost as long as the width of my text. do you know about a latex command which can do that? i don't mind using an extra package.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
A very long arrow
Best regards
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
A very long arrow
Code: Select all
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[ \xrightarrow{\hspace*{3cm}} \]
\[ \xrightarrow{\hspace*{8cm}} \]
\[ \xrightarrow{\hspace*{10cm}} \]
\[ \xleftarrow{\hspace*{2cm}} \]
\[ \xleftarrow{\hspace*{7cm}} \]
\[ \xleftarrow{\hspace*{11cm}} \]
\end{document}
Re: A very long arrow
A very long arrow
Code: Select all
\renewcommand{\arraystretch}{1.3}
\begin{table}[!h]
\begin{center}
\caption{Secuencia de emisiones}
\hspace*{-8pt}$\xleftarrow{\hspace*{2.6cm}}\textrm{10 segundos}\xrightarrow{\hspace*{2.6cm}}$
\begin{tabular}{c|cccccccc|c}
\toprule
\textbf{Estación} & \textbf{0,9} & \textbf{1,0} & \textbf{1,1} & \textbf{1,2} & \textbf{1,1} & \textbf{0,9} & \textbf{1,2} & \textbf{1,0} & \textbf{Situación}\\
\hline
\textbf{A} & 10,2 & 13,6 & 11,33 & & & 11,05 & & & Noruega\\
\textbf{B} & & 10,2 & 13,6 & 11,33 & & & 11,05 & & Liberia\\
\textbf{C} & & & 10,2 & 13,6 & 11,33 & & & 11,05 & Hawaii\\
\textbf{D} & 11,05 & & & 10,2 & 13,6 & 11,33 & & & EE.UU.\\
\textbf{E} & & 11,05 & & & 10,2 & 13,6 & 11,33 & & I. Reunion\\
\textbf{F} & & & 11,05 & & & 10,2 & 13,6 & 11,33 & Argentina\\
\textbf{G} & 11,33 & & & 11,05 & & & 10,2 & 13,6 & Australia\\
\textbf{H} & 13,6 & 11,33 & & & 11,05 & & & 10,2 & Japón\\
\bottomrule
\multicolumn{1}{c}{} & \multicolumn{8}{|c|}{Intervalos entre emisión 0,2 segundos} & \\[-2pt]
\cmidrule{2-9}
\end{tabular}
\end{center}
\end{table}