0

I am new to LaTeX, and now struggle with how to create a document i need. Here is a picture of what i need: enter image description here

Basically i need a table, that will occupy 3/4 of page width, and text to the right of the table, that will occupy the remaining quarter. And i need this table and text to be repeater on the page twice, as it is shown on the picture. I can not make it this way because when i fill a table with data, it occupies all the page width, i guess because the font is too big, and i am not able to change it to a smaller one. (While i was trying to look for a solution, someone mentioned that you first need to carefully think if you really want to use smaller font size than 10pt. But without reducing it's size, i don't know if it is possible to do this)

  • Have you attempted to create this? If so please add your code to this question. Also, please use proper capitalization. – Null Sep 14 '16 at 3:09
  • 1
    People say, 'a picture is worth a thousand words'; but in *TeX, a few words of code are worth a million pictures. This is why you'll see people asking all the time for a minimal example (or see here). – jon Sep 14 '16 at 4:16
  • Does this form part of a bigger document? Otherwise you can create a single page with a single table and duplicate the result on a larger page. – Werner Sep 14 '16 at 4:54
1

The tables were created using tabularx (for ease of column widths). The code was duplicate to create the ... duplicate table:

enter image description here

\documentclass{article}

\usepackage[margin=1in]{geometry}
\usepackage{tabularx,array}

\pagestyle{empty}% No page header/footer
\setlength{\parindent}{0pt}% No paragraph indentation
\renewcommand{\arraystretch}{2}
\begin{document}

\begin{tabularx}{.75\textwidth}[t]{ | X | X | X | }
  \multicolumn{3}{c}{Title} \\
  \hline & & \\
  \hline & & \\
  \hline & & \\
  \hline & & \\
  \hline & & \\
  \hline & & \\
  \hline & & \\
  \hline & & \\
  \hline & & \\
  \hline & & \\
  \hline  
\end{tabularx}%
\begin{tabular}[t]{@{}>{\centering\arraybackslash}p{.25\textwidth}@{}}
  \\% Skip the title row
  Lorem ipsum dolor sit amet, consectetur adipiscing elit. 
  Aenean mollis at quam et varius. Sed mollis lacus eu diam tincidunt varius. 
  Cras dapibus, risus sit amet condimentum posuere, erat tellus laoreet nulla.
\end{tabular}

\bigskip

Some bottom text.

% ============================

\vfill

\begin{tabularx}{.75\textwidth}[t]{ | X | X | X | }
  \multicolumn{3}{c}{Title} \\
  \hline & & \\
  \hline & & \\
  \hline & & \\
  \hline & & \\
  \hline & & \\
  \hline & & \\
  \hline & & \\
  \hline & & \\
  \hline & & \\
  \hline & & \\
  \hline  
\end{tabularx}%
\begin{tabular}[t]{@{}>{\centering\arraybackslash}p{.25\textwidth}@{}}
  \\% Skip the title row
  Lorem ipsum dolor sit amet, consectetur adipiscing elit. 
  Aenean mollis at quam et varius. Sed mollis lacus eu diam tincidunt varius. 
  Cras dapibus, risus sit amet condimentum posuere, erat tellus laoreet nulla.
\end{tabular}

\bigskip

Some bottom text.

\end{document}
  • Isn't there a way to do it without duplicating all the code? I mean, storing that code in a variable and using that variable later? – skan Mar 25 '17 at 17:09
  • @skan Yes, of course. – Werner Mar 25 '17 at 17:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.