
Estoy intentando alinear varias tablas y lo intenté de varias maneras diferentes, desafortunadamente ninguna funciona. Aquí adjunto un código de muestra para su lectura. ¿Podría sugerirme cómo deshacerme de este tipo de problemas tontos? Realmente apreciaré su sincero apoyo. Gracias
La salida se puede encontrar usando esteenlace.
Código de muestra:-
\documentclass[letterpaper,10pt]{article}
\usepackage{hyperref}
\hypersetup{colorlinks=true, linkcolor=red, urlcolor=blue}
\usepackage[letterpaper,margin=0.65in]{geometry}
\usepackage{array,booktabs,siunitx,xcolor,colortbl}
\usepackage[utf8x]{inputenc}
\usepackage{mdwlist}
\usepackage{amsmath}
\usepackage{enumitem}% http://ctan.org/pkg/enumitem
\usepackage{calc}% http://ctan.org/pkg/calc
\usepackage{fancyhdr}% http://ctan.org/pkg/fancyhdr
\usepackage{lastpage}% http://ctan.org/pkg/lastpage
\pagestyle{fancy}% Set default page style to fancy
\renewcommand{\headrulewidth}{0pt}% Remove header rule
\fancyhead{}% Remove all header contents
\cfoot{Page \thepage\ of \pageref{LastPage}}% Page X of Y in the footer (centered)
\usepackage{tabulary}
\usepackage[newcommands]{ragged2e}
\begin{document}
\section{ABCdhahdak dahd }
\hrule
\vspace{0.2cm}
\begin{tabulary}{1.00\textwidth}{r|| L c}
time & ajdhahsdash dhas dhasjh dashd ashd ashdjah dhas dha & adlaksd \\
adasd & adlahf ahf ahfha dfhah fhad fha & \\
& sfhakd hfhadf ajdhf adhf adjfha fjdh fahf ahah fjadfh ajfhlad xfhalflgdh gjadf djhgad ghad gadjhg ad & \\
& fa fjadh dfaf hajhf ahfah fhd fajhf adhf hajfh ahfjah fahf afh ajhf ahfjajhf h & \\
& hhf ahfjh adhfaj fjahd fhaj fah jahf ahfjah fha fha & \\
\end{tabulary}
\vspace{0.4cm}
\hspace{-0cm}
\vspace{0.2cm}
\begin{tabulary}{1.00\textwidth}{r|| L c}
time & ajdhahsdash dhas dhasjh dashd ashd ashdjah dhas dha & adlaksd \\
adasd & adlahf ahf ahfha dfhah fhad fha & \\
& sfhakd hfhadf ajdhf adhf adjfha fjdh fahf ahah fjadfh ajfhlad xfhalflgdh gjadf djhgad ghad gadjhg ad & \\
& fa fjadh dfaf hajhf ahfah fhd fajhf adhf hajfh ahfjah fahf afh ajhf ahfjajhf h & \\
& hhf ahfjh adhfaj fjahd fhaj fah jahf ahfjah fha fha & \\
\end{tabulary}
\end{document}
Respuesta1
Utilícelo \noindent
para iniciar la tabla en el margen izquierdo.
No estoy seguro de querer alinear también las columnas de la tabla. En este caso, utilice las p{}
columnas cuando sea necesario, en lugar de o r
columnas , donde el ancho depende del contenido: l
c
\noindent\begin{tabulary}{1.00\textwidth}{p{1.5cm}|| L c}