Re: anyone want to critique a Gemini generated table with medical information?
Mike Marchywka <[email protected]> Sat, 11 Apr 2026 14:22:40 +0000
| Newsgroups | gmane.comp.tex.texhax |
|---|---|
| Message-ID | <MWHPR11MB0077B9072FE458052FD2CF5ABE262@MWHPR11MB0077.namprd11.prod.outlook.com> |
=0A= =0A= =0A= =0A= ________________________________________=0A= From: David Carlisle <[email protected]>=0A= Sent: Saturday, April 11, 2026 6:58 AM=0A= To: Mike Marchywka=0A= Cc: TeXhax=0A= Subject: Re: anyone want to critique a Gemini generated table with medical = information?=0A= =0A= > I can edit it to add vertical lines=0A= =0A= don't use vertical lines with booktabs package.=0A= =0A= > \usepackage[utf8]{inputenc}=0A= this does nothing unless your latex is about 10 years old, utf-8 has been t= he default for years now,=0A= =0A= =0A= > \begin{table}[h!]=0A= =0A= don't routinely use "!" it over-rides the document class settings, so eithe= r change the defaults or use them, don't ignore them every time:-)=0A= =0A= don't use "h" on its own better to include t and p so [htp], h is often inf= easible.=0A= =0A= > \vfill=0A= this does nothing other than ending a paragraph as it is adding a vertical = space of size zero=0A= so better to use just a blank line=0A= =0A= > \small{...}=0A= =0A= small doesn't take an argument so just=0A= =0A= \small ...=0A= =0A= with no braces.=0A= =0A= -------------------------------------------------------------------=0A= Thanks. Have people been finding useful AI for latex generation?=0A= It looks like if you give it enough constraints it can generate something= =0A= better than typical template scripts and find at least skeleton data=0A= and introduce new constructs ( I just use stuff I probably used in the 1980= 's lol.=0A= =0A= --------------------------------------------------------------------=0A= =0A= =0A= =0A= =0A= David=0A= =0A= =0A= On Fri, 10 Apr 2026 at 23:58, Mike Marchywka <[email protected]<mailto:= [email protected]>> wrote:=0A= Using this prompt,=0A= =0A= "generate latex code to typeset a table of fatty acids essential to dogs an= d include oleic acid. Create columns for the common names, location of any = double bonds, important isomer designations, and approximate dietary requir= ements for best health."=0A= =0A= it managed to get most of the important ones and saved me a lot of typing. = I can edit it to add vertical=0A= lines but curious from a typography and latex perspective on its choice of = commands etc.=0A= I perhaps should have asked for citations and bibtex but its probably just = as easy for me to=0A= add those manually. It pasted into my doc pretty easy and I have to admit i= t looks better than=0A= mine that try to avoid proportional space and non-ascii stuff ROFL. I didn= 't look too close at=0A= the content and specifics but the names are a good start.=0A= =0A= Thanks.=0A= =0A= =0A= =0A= \documentclass{article}=0A= \usepackage[utf8]{inputenc}=0A= \usepackage{booktabs} % For professional quality lines=0A= \usepackage{tabularx} % For adjustable width columns=0A= =0A= \begin{document}=0A= =0A= \begin{table}[h!]=0A= \centering=0A= \caption{Essential and Functional Fatty Acids for Canine Nutrition}=0A= \vspace{2pt}=0A= \begin{tabularx}{\textwidth}{l l l X}=0A= \toprule=0A= \textbf{Common Name} & \textbf{Double Bonds} & \textbf{Isomer} & \textbf{Ap= prox. Dietary Req.} \\=0A= \midrule=0A= Linoleic Acid (LA) & 18:2 & Omega-6 ($\omega$-6) & 2.8\% to 5\% of DM* \\= =0A= \addlinespace=0A= Alpha-linolenic Acid (ALA) & 18:3 & Omega-3 ($\omega$-3) & 0.08\% to 0.2\% = of DM \\=0A= \addlinespace=0A= Oleic Acid & 18:1 & Omega-9 ($\omega$-9) & No set minimum; usually $>10\%$ = of fat \\=0A= \addlinespace=0A= EPA / DHA & 20:5 / 22:6 & Omega-3 ($\omega$-3) & 0.05\% combined for growth= /reproduction \\=0A= \addlinespace=0A= Arachidonic Acid & 20:4 & Omega-6 ($\omega$-6) & Synthesized from LA (Essen= tial for cats, not dogs) \\=0A= \bottomrule=0A= \end{tabularx}=0A= \vfill=0A= \raggedright \small{*DM =3D Dry Matter basis. Requirements vary based on li= fe stage (Puppy vs. Adult) and activity level.}=0A= \end{table}=0A= =0A= \end{document}=0A= =0A= Mike Marchywka=0A= 157 Zachary=0A= Talking Rock GA 30175=0A= was 44 Crosscreek Trail Jasper GA 30143=0A= was 306 Charles Cox Drive Canton, GA 30115=0A= 470-758-0799=0A= 404-788-1216=0A= =0A= =0A=