Re: anyone want to critique a Gemini generated table with medical information?

David Carlisle <[email protected]> Sat, 11 Apr 2026 11:58:38 +0100
Newsgroups gmane.comp.tex.texhax
Message-ID <CAEW6iOjnYg+zJq5neMzR=jZC_QHj4Wwh6zbJNhaifZh37rjySA@mail.gmail.com>
--00000000000057a4db064f2d2269
Content-Type: text/plain; charset="UTF-8"

>  I can edit it to add vertical lines

don't use vertical lines with booktabs package.

>  \usepackage[utf8]{inputenc}
this does nothing unless your latex is about 10 years old, utf-8 has been
the default for years now,


>  \begin{table}[h!]

don't routinely use "!" it over-rides the document class settings, so
either change the defaults or use them, don't ignore them every time:-)

don't use "h" on its own better to include t and p so [htp], h is often
infeasible.

>  \vfill
this does nothing other than ending a paragraph as it is adding a vertical
space of size zero
so better to use just a blank line

>  \small{...}

small doesn't take an argument so just

\small ...

with no braces.

David


On Fri, 10 Apr 2026 at 23:58, Mike Marchywka <[email protected]> wrote:

> Using this prompt,
>
> "generate latex code to typeset a table of fatty acids essential to dogs
> and include oleic acid. Create columns for the common names, location of
> any double bonds, important isomer designations, and approximate dietary
> requirements for best health."
>
> it managed to get most of the important ones and saved me a lot of typing.
> I can edit it to add vertical
> lines but curious from a typography and latex perspective on its choice of
> commands etc.
> I perhaps should have asked for citations and bibtex but its probably just
> as easy for me to
> add those manually. It pasted into my doc pretty easy and I have to admit
> it looks better than
> mine that try to avoid proportional space and non-ascii stuff ROFL.  I
> didn't look too close at
> the content and specifics but the names are a good start.
>
> Thanks.
>
>
>
> \documentclass{article}
> \usepackage[utf8]{inputenc}
> \usepackage{booktabs} % For professional quality lines
> \usepackage{tabularx} % For adjustable width columns
>
> \begin{document}
>
> \begin{table}[h!]
> \centering
> \caption{Essential and Functional Fatty Acids for Canine Nutrition}
> \vspace{2pt}
> \begin{tabularx}{\textwidth}{l l l X}
> \toprule
> \textbf{Common Name} & \textbf{Double Bonds} & \textbf{Isomer} &
> \textbf{Approx. Dietary Req.} \\
> \midrule
> Linoleic Acid (LA) & 18:2 & Omega-6 ($\omega$-6) & 2.8\% to 5\% of DM* \\
> \addlinespace
> Alpha-linolenic Acid (ALA) & 18:3 & Omega-3 ($\omega$-3) & 0.08\% to 0.2\%
> of DM \\
> \addlinespace
> Oleic Acid & 18:1 & Omega-9 ($\omega$-9) & No set minimum; usually $>10\%$
> of fat \\
> \addlinespace
> EPA / DHA & 20:5 / 22:6 & Omega-3 ($\omega$-3) & 0.05\% combined for
> growth/reproduction \\
> \addlinespace
> Arachidonic Acid & 20:4 & Omega-6 ($\omega$-6) & Synthesized from LA
> (Essential for cats, not dogs) \\
> \bottomrule
> \end{tabularx}
> \vfill
> \raggedright \small{*DM = Dry Matter basis. Requirements vary based on
> life stage (Puppy vs. Adult) and activity level.}
> \end{table}
>
> \end{document}
>
>  Mike Marchywka
> 157 Zachary
> Talking Rock GA 30175
> was 44 Crosscreek Trail Jasper GA 30143
> was 306 Charles Cox Drive  Canton, GA 30115
> 470-758-0799
> 404-788-1216
>
>
>

--00000000000057a4db064f2d2269
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">&gt;=C2=A0
 I can edit it to add vertical lines</div><div dir=3D"ltr"><br></div><div>d=
on&#39;t use vertical lines with booktabs package.</div><div><br></div><div=
>&gt;=C2=A0
\usepackage[utf8]{inputenc}</div><div>this does nothing unless your latex i=
s about 10 years old, utf-8 has been the default for years now,</div><div><=
br></div><div><br></div><div>&gt;=C2=A0
\begin{table}[h!]</div><div><br></div><div>don&#39;t routinely use=C2=A0&qu=
ot;!&quot; it over-rides=C2=A0the document class settings, so either change=
 the defaults or use them, don&#39;t ignore them every time:-)</div><div><b=
r></div><div>don&#39;t use &quot;h&quot; on its own better to include t and=
 p so [htp], h is often infeasible.</div><div><br></div><div>&gt;=C2=A0
\vfill</div><div>this does nothing other than ending a paragraph as it is a=
dding a vertical space of size zero</div><div>so better to use just a blank=
 line</div><div><br></div><div>&gt;=C2=A0
\small{...}</div><div><br></div><div>small doesn&#39;t take an argument so =
just</div><div><br></div><div>
\small ...</div><div><br></div><div>with no braces.</div><div><br></div><di=
v>David</div><div><br></div><br><div class=3D"gmail_quote gmail_quote_conta=
iner"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, 10 Apr 2026 at 23:58, M=
ike Marchywka &lt;<a href=3D"mailto:[email protected]">marchywka@hotmai=
l.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:=
1ex">Using this prompt,<br>
<br>
&quot;generate latex code to typeset a table of fatty acids essential to do=
gs and include oleic acid. Create columns for the common names, location of=
 any double bonds, important isomer designations, and approximate dietary r=
equirements for best health.&quot;<br>
<br>
it managed to get most of the important ones and saved me a lot of typing. =
I can edit it to add vertical<br>
lines but curious from a typography and latex perspective on its choice of =
commands etc. <br>
I perhaps should have asked for citations and bibtex but its probably just =
as easy for me to <br>
add those manually. It pasted into my doc pretty easy and I have to admit i=
t looks better than<br>
mine that try to avoid proportional space and non-ascii stuff ROFL.=C2=A0 I=
 didn&#39;t look too close at<br>
the content and specifics but the names are a good start. <br>
<br>
Thanks. <br>
<br>
<br>
<br>
\documentclass{article}<br>
\usepackage[utf8]{inputenc}<br>
\usepackage{booktabs} % For professional quality lines<br>
\usepackage{tabularx} % For adjustable width columns<br>
<br>
\begin{document}<br>
<br>
\begin{table}[h!]<br>
\centering<br>
\caption{Essential and Functional Fatty Acids for Canine Nutrition}<br>
\vspace{2pt}<br>
\begin{tabularx}{\textwidth}{l l l X}<br>
\toprule<br>
\textbf{Common Name} &amp; \textbf{Double Bonds} &amp; \textbf{Isomer} &amp=
; \textbf{Approx. Dietary Req.} \\ <br>
\midrule<br>
Linoleic Acid (LA) &amp; 18:2 &amp; Omega-6 ($\omega$-6) &amp; 2.8\% to 5\%=
 of DM* \\ <br>
\addlinespace<br>
Alpha-linolenic Acid (ALA) &amp; 18:3 &amp; Omega-3 ($\omega$-3) &amp; 0.08=
\% to 0.2\% of DM \\ <br>
\addlinespace<br>
Oleic Acid &amp; 18:1 &amp; Omega-9 ($\omega$-9) &amp; No set minimum; usua=
lly $&gt;10\%$ of fat \\ <br>
\addlinespace<br>
EPA / DHA &amp; 20:5 / 22:6 &amp; Omega-3 ($\omega$-3) &amp; 0.05\% combine=
d for growth/reproduction \\ <br>
\addlinespace<br>
Arachidonic Acid &amp; 20:4 &amp; Omega-6 ($\omega$-6) &amp; Synthesized fr=
om LA (Essential for cats, not dogs) \\<br>
\bottomrule<br>
\end{tabularx}<br>
\vfill<br>
\raggedright \small{*DM =3D Dry Matter basis. Requirements vary based on li=
fe stage (Puppy vs. Adult) and activity level.}<br>
\end{table}<br>
<br>
\end{document}<br>
<br>
=C2=A0Mike Marchywka=C2=A0<br>
157 Zachary=C2=A0<br>
Talking Rock GA 30175<br>
was 44 Crosscreek Trail Jasper GA 30143<br>
was 306 Charles Cox Drive=C2=A0 Canton, GA 30115<br>
470-758-0799<br>
404-788-1216=C2=A0<br>
<br>
<br>
</blockquote></div></div>

--00000000000057a4db064f2d2269--