Conference abstract
Conference abstract
Purpose
This prompt turns an undergraduate research or term project into a conference abstract. It produces, in LaTeX, a one-page abstract (title, authors, affiliations, text, one figure, at most two references) and an abstract of 250 words or fewer for the online submission form. A script computes every number in the text from your data, and a second script counts the words against the limits.
The AI does not write numbers that are not in your data, experiments you did not run, or papers you have not read. If a result is not what you expected, it reports it as measured and adds one sentence of interpretation ("is consistent with", "is likely due to").
Input
- Required: the result data (CSV, spreadsheet or table) and a note on what you did. If either is missing, the AI asks one thing only: "Please send the measured data and your notes on the experiment."
- Helpful: conference and session, template and limits (pages, words, figures, references), deadline, authors and affiliations, the title your advisor chose, papers you have read.
- If your school or instructor gave you a template, that template comes first; so does the conference's. With a Word template, settle the text here, then move it over and keep the template's fonts and margins.
- If the limits are unknown, the AI asks once, then assumes "one A4 page, 250-word abstract" and lists that under "Please check".
- Your advisor decides author order and corresponding author. If unknown: `[author order: check needed]`.
- Only papers you have read go into the references. Missing details stay `[check needed]`.
Output
1. `analyze.py`, `abstract.tex`, `count_words.py`, and from running them `numbers.tex`, `fig_te.pdf`, `abstract.pdf` (page 1: one-page abstract; page 2: text for the submission form).
2. In the chat, a "Please check" list of 3 to 7 lines: word counts and limits, three key numbers and their method, assumed limits, references to fill in, what to confirm with your advisor.
3. If the AI cannot run code, it gives the files and the run order, claims no PDF, and labels numbers "hand-calculated, not yet run".
Rules
1. Steps
1) Read the call for abstracts: template, limits, deadline, session.
2) Put the data in `data.csv`: one measurement per row, unit in the column name (`V_V`, `I_A`).
3) Run `python analyze.py`. Read the printed line; if a number looks wrong, stop and find out why.
4) Write the one-page text: Introduction → Methods → Results and discussion → Conclusion. Call numbers only by their macro names (`\Smod`).
5) Write the 250-word abstract with the same macros. Do not trim the one-page text; write it again in abstract order (background, what you did, results, meaning).
6) Compile twice and run `python count_words.py`. Over a limit: cut sentences, never the font size or margins.
7) Open the PDF. Page 1 is one page? Figure text readable?
2. The one-page text
- Introduction: 1–2 sentences of background, 1 of aim. A general claim gets a reference number.
- Methods: setup, the variable changed and its range, what was measured, how results were computed. 2–4 sentences.
- Results and discussion: 3–4 sentences with value, uncertainty or range, and unit. One sentence of interpretation.
- Conclusion: what the result lets someone do (1 sentence), next step (1 sentence).
- Before → after
- "It was confirmed that the output increases greatly as the temperature difference increases." → "The maximum power was 1.07 W at a temperature difference of 60.2 K and scaled with the temperature difference to the power of 1.93."
- "This work is expected to greatly contribute to waste heat recovery." → "With these results, the output of a waste-heat recovery unit that uses the same module can be estimated from the temperature difference alone."
- "The characteristics of the module were analyzed under various conditions." → "The temperature difference was set from 10 to 60 K in steps of 10 K. At each step, the load resistance was varied in 6 steps from 0.5 to 10 Ω."
3. Numbers
- Result numbers come only from `analyze.py`. Never copy them by hand.
- Give unit and uncertainty (standard error, repeats). Uncertainty to 1 significant digit, 2 if the first digit is 1.
- Skip numbers with no information, such as an R² that rounds to 1.000. Here it became the standard error of the slope (52.27 ± 0.12 mV/K).
- Ranges: en dash (10–60 K, `--` in LaTeX) or "from 10 to 60 K". In LaTeX `~` is a non-breaking space, so `10~60 K` prints "10 60 K".
- Both pages read the same macros, so their numbers cannot drift apart.
4. The 250-word abstract
- 250 words or fewer. `count_words.py` skips symbols such as ± and ×, so if the conference counts in Word, stay under 95 % of the limit (238 words).
- Methods and results in the past tense (we measured, was varied, rose); conclusions and interpretation in the present (these results allow, is consistent with); the plan in one future sentence.
- Sentence 1: background. Sentence 2: "We measured…". No sentence over 30 words. Spell out abbreviations at first use.
- Forms are often plain text: after pasting, check ±, Ω and subscripts (Bi2Te3).
- Before → after
- "In this study, it was investigated that the open-circuit voltage increases with temperature." → "The open-circuit voltage was proportional to the temperature difference, with a slope of 52.27 ± 0.12 mV/K."
5. Page layout (no conference template)
- A4, margins 20 mm (top 18 mm), one column, body 10 pt, line spacing 1.2.
- Title 14 pt bold, centered; authors 12 pt; affiliations 9 pt with superscript numbers; corresponding author marked * with email.
- One figure at text width (170 mm), made 6.7 in wide so its text prints at 8 pt or more. Series differ by marker shape, for black-and-white print.
- At most 2 references, 9 pt, each cited in the text.
- Page 1 stays one page. With one figure and two references the text budget is about 300 words. Over: cut sentences first, then reduce the figure height.
6. What not to write
- Comparisons you did not make ("outperforms conventional modules"), efficiencies you did not measure.
- "Is expected to", "very", "novel". State what the result lets someone do.
- Logos, unless the template requires them.
7. Before you submit
- `pdffonts abstract.pdf`: every font "yes" under emb, none Type 3. Some checkers reject Type 3 fonts, so `analyze.py` sets `pdf.fonttype` to 42.
- File name like `Kim_thermoelectric_abstract.pdf` (first author, topic, type) unless the conference sets one.
- Keep a copy of exactly what you pasted into the form.
8. The three files
These were run end to end on a hypothetical case: one commercial thermoelectric module at six temperature differences, 36 rows of hypothetical data, hypothetical authors Alex Kim and Jordan Lee. For your study, change only the calculations and figure in `analyze.py` and the sentences in `abstract.tex`.
- `analyze.py`: `python analyze.py` → `numbers.tex`, `fig_te.pdf`.
- `abstract.tex`: `pdflatex abstract.tex` twice. Overleaf's default compiler (pdfLaTeX) works; upload `numbers.tex` and `fig_te.pdf` with it.
- `count_words.py`: `python count_words.py`. Exit code 1 if over a limit.
9. Final check
- Page 1: one page, one figure, at most 2 references?
- Every number from `numbers.tex`, both pages agree, word counts and limits in the chat?
- Past tense for methods and results, present for conclusions? No "is expected to"?
- No unrun experiments or unread papers? Any `[check needed]` or `[hypothetical]` flagged for filling before submission?
- No errors or Overfull boxes in the log? Did the AI say whether it ran the files or only wrote them?
Attachment 1 · analyze.py (Python)
```python
analyze.py - data.csv (load test at each temperature difference) -> open-circuit voltage,
internal resistance, maximum power -> fig_te.pdf, numbers.tex
Every number in the abstract comes from numbers.tex. Never type a result into the text by hand.
import csv
import math
import matplotlib
matplotlib.use("Agg")
import matplotlib.pyplot as plt
import numpy as np
rows = list(csv.DictReader(open("data.csv", encoding="utf-8")))
sets = sorted({int(r["set_K"]) for r in rows})
loads = sorted({float(r["R_load_ohm"]) for r in rows})
dT, Voc, Rint, curves = [], [], [], []
for sp in sets:
g = [r for r in rows if int(r["set_K"]) == sp]
I = np.array([float(r["I_A"]) for r in g])
V = np.array([float(r["V_V"]) for r in g])
a, b = np.polyfit(I, V, 1) # V = Voc - Rint*I
dT.append(np.mean([float(r["T_hot_C"]) - float(r["T_cold_C"]) for r in g]))
Voc.append(b)
Rint.append(-a)
curves.append((I, V * I))
dT, Voc, Rint = np.array(dT), np.array(Voc), np.array(Rint)
Pmax = Voc**2 / (4 * Rint) # maximum power at matched load (R_load = Rint)
(S, c), cov = np.polyfit(dT, Voc, 1, cov=True) # Voc = S*dT + c; standard error of the slope from cov
uS = np.sqrt(cov[0, 0])
n = np.polyfit(np.log(dT), np.log(Pmax), 1)[0] # Pmax ~ dT^n
def pm(v, u):
"""(value, uncertainty) strings, uncertainty to 1 significant digit (2 if the first digit is 1)."""
e = math.floor(math.log10(u))
if f"{u / 10**e:.1f}"[0] == "1":
e -= 1
d = max(0, -e)
return f"{v:.{d}f}", f"{u:.{d}f}"
Figure 1: (a) power vs. current per temperature difference, (b) Voc vs. temperature difference.
Series differ by marker shape so they stay apart in black-and-white print.
plt.rcParams.update({"font.size": 8, "axes.linewidth": 0.6, "font.family": "DejaVu Sans",
"pdf.fonttype": 42}) # TrueType, not Type 3: some PDF checkers reject Type 3
fig, (ax, bx) = plt.subplots(1, 2, figsize=(6.7, 2.3), gridspec_kw={"width_ratios": [1.25, 1], "wspace": 0.3})
for (I, P), voc, ri, d, m in zip(curves, Voc, Rint, dT, "osd^v<"):
ii = np.linspace(0, I.max() * 1.03, 80)
ax.plot(ii, voc * ii - ri * ii**2, "-", color="black", lw=0.6)
ax.plot(I, P, m, ms=3.5, mfc="white", mec="black", mew=0.7)
ax.annotate(f"{d:.0f} K", (I.max(), P[np.argmax(I)]), xytext=(4, 0), textcoords="offset points",
ha="left", va="center", fontsize=7)
ax.set_xlabel("Current $I$ (A)")
ax.set_ylabel("Power $P$ (W)")
ax.set_ylim(0, Pmax.max() * 1.15)
ax.set_xlim(0, max(I.max() for I, _ in curves) * 1.2)
xx = np.linspace(0, dT.max() * 1.05, 50)
bx.plot(xx, S * xx + c, "-", color="black", lw=0.8)
bx.plot(dT, Voc, "o", ms=4, mfc="white", mec="black", mew=0.7)
bx.set_xlabel(r"Temperature difference $\Delta T$ (K)")
bx.set_ylabel(r"$V_\mathrm{oc}$ (V)")
for s, t in ((ax, "(a)"), (bx, "(b)")):
s.text(0.03, 0.95, t, transform=s.transAxes, va="top", fontweight="bold")
s.tick_params(direction="in", top=True, right=True)
fig.savefig("fig_te.pdf", bbox_inches="tight")
Numbers to LaTeX: the text only calls them by name, such as \Smod
Sv, Su = pm(S * 1000, uS * 1000) # mV/K
vals = {"setlo": f"{sets[0]}", "sethi": f"{sets[-1]}", "Nload": f"{len(loads)}", "Rlo": f"{loads[0]:g}",
"Rhi": f"{loads[-1]:g}", "dTtop": f"{dT[-1]:.1f}", "Smod": Sv, "Sunc": Su,
"RintLo": f"{Rint[0]:.2f}", "RintHi": f"{Rint[-1]:.2f}", "RintUp": f"{(Rint[-1] / Rint[0] - 1) * 100:.0f}",
"PmaxTop": f"{Pmax[-1]:.2f}", "nExp": f"{n:.2f}"}
with open("numbers.tex", "w", encoding="utf-8") as f:
for k, v in vals.items():
f.write(f"\\newcommand{{\\{k}}}{{{v}}}\n")
print(", ".join(f"{k}={v}" for k, v in vals.items()))
```
Attachment 2 · abstract.tex (LaTeX)
```latex
% abstract.tex - conference abstract. Page 1: one-page abstract (title, authors, affiliations, text,
% one figure, at most 2 references). Page 2: the abstract for the submission form (250 words or fewer).
% Order: python analyze.py -> pdflatex abstract.tex twice -> python count_words.py
% (Overleaf: the default compiler, pdfLaTeX, works.)
% If the conference gives you a template (Word or LaTeX), that template comes first.
% This file is the frame for when there is none.
\documentclass[10pt,a4paper]{article}
\usepackage[margin=20mm,top=18mm]{geometry}
\usepackage[T1]{fontenc}
\usepackage{mathptmx}
\usepackage{amsmath,graphicx,caption,float}
\captionsetup{font=small,labelfont=bf,labelsep=period}
\pagestyle{empty}\linespread{1.2}\setlength{\parindent}{0pt}\setlength{\parskip}{3pt}
\input{numbers.tex} % numbers written by analyze.py; the text only calls them by name, such as \Smod
\newcommand{\titleblock}{\begin{center} % one title block for both pages, so they cannot disagree
{\fontsize{14}{18}\selectfont\bfseries Open-Circuit Voltage and Maximum Power of a Thermoelectric Module\\versus Temperature Difference}\\[3mm]
{\large Alex Kim\textsuperscript{1} and Jordan Lee\textsuperscript{2,*}}\\[1.5mm]
{\small \textsuperscript{1}Undergraduate student, School of Energy Engineering, XX University\quad
\textsuperscript{2}School of Energy Engineering, XX University\\
\textsuperscript{*}Corresponding author: j.lee@example.com}
\end{center}}
\begin{document}
{\small XX Society Fall Meeting 2026 $\cdot$ Poster session}\hfill{\small Abstract no.: assigned by the conference}\par\vspace{5mm}
\titleblock
% PAGE-BEGIN
\textbf{1. Introduction}\enspace Thermoelectric modules turn low-grade waste heat into electricity, and their output grows with the temperature difference across the module. In a real module, internal resistance and contact thermal resistance keep the output below the ideal value [1]. We measured the open-circuit voltage, internal resistance and maximum power of one commercial Bi$_2$Te$_3$-based module (\mbox{40~mm $\times$ 40~mm}) at six temperature differences.
\textbf{2. Methods}\enspace A copper block with a cartridge heater held the hot side, and a water-cooled block held the cold side. The temperature difference was set from \setlo\ to \sethi~K in steps of 10~K. At each step, the load resistance was varied in \Nload\ steps from \Rlo\ to \Rhi~$\Omega$, and the voltage and current were recorded. The rig and its calibration are described in [2]. The open-circuit voltage $V_\text{oc}$ and the internal resistance $R_\text{int}$ were taken from the intercept and slope of the voltage--current line. The maximum power was calculated as $V_\text{oc}^2/(4R_\text{int})$, the value at matched load.
\textbf{3. Results and discussion}\enspace The open-circuit voltage was proportional to the temperature difference, with a slope of \Smod~$\pm$~\Sunc~\mbox{mV/K} (standard error). The internal resistance rose from \RintLo~$\Omega$ to \RintHi~$\Omega$, an increase of \RintUp~\%. The maximum power was \PmaxTop~W at a temperature difference of \dTtop~K and scaled with the temperature difference to the power of \nExp\ (Fig.~1). An exponent below 2 is consistent with the internal resistance rising as the temperature difference grows.
\textbf{4. Conclusion}\enspace With these results, the output of a waste-heat recovery unit that uses the same module can be estimated from the temperature difference alone. Next, we will measure how contact pressure changes the thermal resistance.
% PAGE-END
\begin{figure}[H]\centering
\includegraphics[width=\linewidth]{fig_te.pdf}
\caption{(a) Power versus current at each temperature difference (markers: measured; lines: curves from the voltage--current fit). (b) Open-circuit voltage versus temperature difference (markers: measured; line: linear fit). Hypothetical data.}
\end{figure}
{\small\setlength{\parindent}{0pt}\textbf{References}\par
[1] [check needed] A textbook or review paper on the maximum power and load matching of thermoelectric generators (authors, title, journal, year).\par
[2] [hypothetical] A. Kim and J. Lee, ``Setup and calibration of a thermoelectric module test rig,'' undergraduate research report, XX University, 2026.\par}
\clearpage
{\small Text for the online submission form (250 words or fewer, plain text)}\par\vspace{4mm}
\titleblock
\noindent\textbf{Abstract}\par\noindent
% ABS-BEGIN
Thermoelectric modules convert low-grade waste heat into electricity, but in practice their output is lower than ideal because of internal resistance and contact thermal resistance. We measured the open-circuit voltage, internal resistance, and maximum power of a single commercial Bi$_2$Te$_3$-based module (\mbox{40~mm $\times$ 40~mm}). The hot side was held by a copper block with a cartridge heater and the cold side by a water-cooled block, and the temperature difference was set from \setlo\ to \sethi~K in steps of 10~K. At each temperature difference, the load resistance was varied in \Nload\ steps from \Rlo\ to \Rhi~$\Omega$. The open-circuit voltage and internal resistance were taken from the intercept and slope of the voltage--current line, and the maximum power was calculated as $V_\text{oc}^2/(4R_\text{int})$, the value at matched load. The open-circuit voltage was proportional to the temperature difference, with a slope of \Smod~$\pm$~\Sunc~\mbox{mV/K} (standard error). The internal resistance rose from \RintLo\ to \RintHi~$\Omega$ (\RintUp~\%). The maximum power reached \PmaxTop~W at \dTtop~K and scaled with the temperature difference to the power of \nExp. An exponent below 2 is consistent with the rise in internal resistance. These results allow the output of waste-heat recovery units that use the same module to be estimated from the temperature difference alone. Next, we will measure how contact pressure changes the thermal resistance.
% ABS-END
\par\medskip\noindent\textbf{Keywords:} thermoelectric module, temperature difference, maximum power, internal resistance
\end{document}
```
Attachment 3 · count_words.py (Python)
```python
count_words.py - counts the words of the submission-form abstract and of the one-page text.
Exit code 1 if either is over its limit.
Counts what sits between % ABS-BEGIN ... % ABS-END and % PAGE-BEGIN ... % PAGE-END in abstract.tex.
Number macros are replaced by their values from numbers.tex before counting.
Run: python count_words.py (run analyze.py first so that numbers.tex exists)
import re
import sys
LIMIT_ABS, LIMIT_PAGE = 250, 300 # change to the limits in the call for abstracts
tex = open("abstract.tex", encoding="utf-8").read()
num = dict(re.findall(r"\\newcommand\{\\(\w+)\}\{([^}]*)\}", open("numbers.tex", encoding="utf-8").read()))
def plain(tag):
s = tex.split(f"% {tag}-BEGIN")[1].split(f"% {tag}-END")[0]
s = re.sub(r"\\([A-Za-z]+)", lambda m: num.get(m.group(1), ""), s) # number macros -> values, other commands -> removed
s = re.sub(r"[{}$^_\\]", "", s).replace("~", " ") # Bi$_2$Te$_3$ -> Bi2Te3, one word
return re.sub(r"\s+", " ", s).strip()
def words(s):
return [w for w in s.split() if re.search(r"[A-Za-z0-9]", w)]
n_abs, n_page = len(words(plain("ABS"))), len(words(plain("PAGE")))
print(f"submission abstract: {n_abs} words (limit {LIMIT_ABS})")
print(f"one-page text: {n_page} words (limit {LIMIT_PAGE})")
sys.exit(0 if n_abs <= LIMIT_ABS and n_page <= LIMIT_PAGE else 1)
```
Connect ChatGPT or Claude and use this prompt now · More prompts