DEV Community

Cover image for What's easier, Learning LaTeX Tables or Asking Copilot CLI for a table code generating tool?
Senadhi Thimanya
Senadhi Thimanya

Posted on

What's easier, Learning LaTeX Tables or Asking Copilot CLI for a table code generating tool?

GitHub Copilot CLI Challenge Submission

This is a submission for the GitHub Copilot CLI Challenge

What I Built

As a second-year undergraduate, I've recently come to face a very annoying situation. When I'm asked to use LaTeX to make the submission PDFs, I just cannot get the Tables right!

I've tried so many online LaTeX table editors but it's safe to say that none of them were able to give me a table that would fit perfectly to the page and have an easy to edit code. In the end I had to do research on LaTeX to find the format!!!

In that case, this could be called as a Silly idea that came to my head when I saw this challenge. But hey, at least my life would get a bit easier...

Demo

Project Repo: GitHub
Demo video: YouTube

The image I need to create

Since I already had this table created in a .docx file, I transferred it into an excel file and ran the program on it.

Output

And of course there's an output like this in the terminal along with an output.tex file.

After copying the code from the output.tex file I can paste it to my original submission document and it actually looks like this

End result

No unnecessary pieces of code and easy for me to edit the code in my Original file to match the way I like.

Tadaa~

My Experience with GitHub Copilot CLI

If I'm being honest, this is the first CLI based coding assistant I have worked with. It was surprisingly very user friendly and welcoming. I cannot believe that I was able to build this program with just 3 messages! It came out exactly how I needed. Super easy to work with and I absolutely would keep using this!

Let me know what you think! Did I make a good tool or is this a flop?

Top comments (0)