Math & ScienceExcel workbook for symbol, units and equation maintenance

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
johanf1985
Posts: 3
Joined: Wed May 02, 2018 3:00 pm

Excel workbook for symbol, units and equation maintenance

Post by johanf1985 »

Hi,

I've build an Excel workbook to help maintain Symbols, units and equations for a thesis document.

The output can be used to produce a symbols list and parameter definitions under equations. Advantage is that definitions only have to be entered once and macros are automatically composed by Excel.

I created a github project for this: https://github.com/johanf85/Symbollist-maintain-Excel

Update october 5: read the ReadMe here: https://github.com/johanf85/Symbollist- ... /README.md

Would love to see others to check this out and hear if there are situations which I have overlooked and are not working in practice.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

johanf1985
Posts: 3
Joined: Wed May 02, 2018 3:00 pm

Excel workbook for symbol, units and equation maintenance

Post by johanf1985 »

Would love to hear some feedback on this!

Direct download of files: http://bit.ly/ExcelSymbolMaintain10
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Excel workbook for symbol, units and equation maintenance

Post by Stefan Kottwitz »

Hi Johan,

thank you for letting us know!

At first I did not test it (yet) since the big expensive Microsoft Excel spreadsheet application is required. ;-) I guess that's mainly for entering data, right? You use macros to build expressions from that data. Theoretically, macros could be a good Job for LaTeX itself. ;-)

No real problem with Excel, I like the work you did! I use Excel too, to simplify work, to generate code from data cells. Though now sometimes I generate the same using LaTeX. Text concatenation and macro expansion with loops is LaTeX's native work. Specifically, I had Excel spreadsheets for generating Cisco switch configuration files based on parameters (VLAN IDs, IP addresses, names, ...) and now my switch configuration files are actually LaTeX documents - I run LaTeX on it and it generates my config based on the contained macros.

Stefan
LaTeX.org admin
johanf1985
Posts: 3
Joined: Wed May 02, 2018 3:00 pm

Excel workbook for symbol, units and equation maintenance

Post by johanf1985 »

Thanks for checking it out Stefan.

Yes, it's an Excel file that generates LaTeX macros (commands). It's all based on Excel formulas, no VBA macros are used.

Let LaTeX do similar work is an interesting idea. Is there a possibility to create new macros based on other macros. So for each macro one or two other macros?

Next to generating macros, I mainly did this to generate the right parameter descriptions underneath an equation (Equations tab in the workbook). And it also helps to structure the used symbols, units and equations. It can be easily expanded for a glossaries list and an abbreviation list (which are more simple commands). But as the goal was to generate the parameter descriptions, I kept it as it is now.

Interesting idea for the config file of your switch. That's remarkable appliance of LaTeX.
Post Reply