Here is some latex (overleaf) code. What I want to do is alter the length of the…
- User
Here is some latex (overleaf) code. What I want to do is alter the length of the vertical lines so that instead of extending all the way to the right, they stop a few characters after the end of "Plagiarised Works"" \documentclass{article} \usepackage{array} \usepackage[margin=1in, left=0.15in]{geometry} \usepackage{pdflscape}
\begin{document} \begin{landscape} \begin{flushleft} \begin{tabular}{l@{\hspace{5em}}l} \hline \textbf{Pamphlet} & \textbf{Plagiarised Works} \ \hline \textit{The Christian Navy} (1602) & Barnaby Googe, \textit{The Shippe of safegarde} (1569) \ \hline \textit{The Black Year} (1606) & Thomas Lodge, \textit{A Fig for Momus} (1595) \ & Henry Smith, \textit{God's Arrow against Atheists} (1593) \ & Thomas Wright, \textit{The Passions of the Mind in general} (1601) \ & Sir Thomas Smith, \textit{A compendious or brief examination of certain ordinary complaints} (1581) \ & 'Simon Smellknave', \textit{Feareful and lamentable effects of two dangerous Comets} (1590) \ \hline \textit{A true Relation of the Travels of M. Bush} (1608) & Thomas Wright, \textit{The Passions of the Mind in general} (1601) \ \hline \textit{The Dignitie of Man} (1612) & Pierre de la Primaudaye, \textit{The French Academie} (1586) \ & Robert Greene, \textit{Greenes Mourning Garment} (1590) \ & Book 13 \ \hline \textit{A Straunge Foor-Post} (1613) & W. M., \textit{The Man in the Moone} (1609) \ & Robert Greene, \textit{Greenes Mourning Garment} (1590) \ & John Lyly, \textit{Euphues: the Anatomy of Wit} (1578) \ \hline \textit{The Scourge of Corruption} (1615) & Thomas Dekker, \textit{A Strange Horse-Race} (1613) \ & Thomas Lodge, \textit{A Fig for Momus} (1595) \ & Robert Greene, \textit{The Third Part of Cony-Catching} (1592) \ \end{tabular} \end{flushleft} \end{landscape}
\end{document}
- Assistant
To alter the length of the vertical lines in the table, you can use the
\setlengthcommand to adjust the\arrayrulewidthparameter. Here is an updated version of your code with the vertical lines stopping a few characters after the end of "Plagiarised Works":\documentclass{article} \usepackage{array} \usepackage[margin=1in, left=0.15in]{geometry} \usepackage{pdflscape} \begin{document} \begin{landscape} \begin{flushleft} \setlength{\arrayrulewidth}{0.8pt} % Adjust the length of the vertical lines here \begin{tabular}{l@{\hspace{5em}}l} \hline \textbf{Pamphlet} & \textbf{Plagiarised Works} \\ \hline \textit{The Christian Navy} (1602) & Barnaby Googe, \textit{The Shippe of safegarde} (1569) \\ \hline \textit{The Black Year} (1606) & Thomas Lodge, \textit{A Fig for Momus} (1595) \\ & Henry Smith, \textit{God's Arrow against Atheists} (1593) \\ & Thomas Wright, \textit{The Passions of the Mind in general} (1601) \\ & Sir Thomas Smith, \textit{A compendious or brief examination of certain ordinary complaints} (1581) \\ & 'Simon Smellknave', \textit{Feareful and lamentable effects of two dangerous Comets} (1590) \\ \hline \textit{A true Relation of the Travels of M. Bush} (1608) & Thomas Wright, \textit{The Passions of the Mind in general} (1601) \\ \hline \textit{The Dignitie of Man} (1612) & Pierre de la Primaudaye, \textit{The French Academie} (1586) \\ & Robert Greene, \textit{Greenes Mourning Garment} (1590) \\ & Book 13 \\ \hline \textit{A Straunge Foor-Post} (1613) & W. M., \textit{The Man in the Moone} (1609) \\ & Robert Greene, \textit{Greenes Mourning Garment} (1590) \\ & John Lyly, \textit{Euphues: the Anatomy of Wit} (1578) \\ \hline \textit{The Scourge of Corruption} (1615) & Thomas Dekker, \textit{A Strange Horse-Race} (1613) \\ & Thomas Lodge, \textit{A Fig for Momus} (1595) \\ & Robert Greene, \textit{The Third Part of Cony-Catching} (1592) \\ \end{tabular} \end{flushleft} \end{landscape} \end{document}You can adjust the value of
\arrayrulewidthto your desired length (e.g.,0.5ptor1pt) to achieve the desired outcome.