2

I was wondering if anyone has any ideas of how I would go about drawing a spreadsheet outline with pstricks or tikz? It is for a maths exam where students are asked to interpret a spreadsheet, as shown below. enter image description here

I originally tried just a screenshot, but it was too lossy.
Apologies, but I can't even provide a MWE!

4
  • How accurate does it have to be, couldn't a normal table work? – Torbjørn T. May 18 '20 at 15:25
  • 3
    Why not take a screenshot and insert it as an image, which is much simpler? – AndréC May 18 '20 at 16:51
  • 1
    @AndréC, while I agree on the principle, this is already explained by the OP (though I am pretty sure one can do a not so lossy screenshot :) ) – BambOo May 18 '20 at 19:52
  • 1
    @BambOo Indeed, I hadn't read it properly. There is a method to export an Excel file in jpg format: support.office.com/en-us/article/… – AndréC May 18 '20 at 20:09
4
\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[portuguese]{babel}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{tikz}
\usepackage{pas-tableur}
\begin{document}
    \begin{tikzpicture}
    \tableur[4]{A,B,C}
    \celtxt[l]{C}{2}{dd}
    \end{tikzpicture}
\end{document}

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.