tinycodinglm / doc /mathjax-0001.jsonl
winapiadmin's picture
Upload folder using huggingface_hub (part 15)
b27bfb3 verified
|
Raw History Blame
1.4 kB
{"type": "session", "harness": "opencode", "id": "mathjax-0001", "name": "LaTeX document structure"}
{"type": "message", "message": {"role": "system", "content": "You are an expert software engineer and technical assistant. You provide accurate, detailed, and practical answers. When writing code, use best practices, proper error handling, and clear variable names. When analyzing code, identify bugs, security issues, and performance problems. You have deep knowledge of C/C++, Windows API, Python, and many other technologies."}}
{"type": "message", "message": {"role": "user", "content": "How to structure a LaTeX document"}}
{"type": "message", "message": {"role": "assistant", "content": "LaTeX document structure:\n\nPreamble: documentclass declaration, usepackage imports, title, author, date.\n\nBegin document environment, maketitle for title page, tableofcontents for auto-generated TOC.\n\nSectioning commands: section, subsection, subsubsection, paragraph, subparagraph.\n\nCommon packages: amsmath for math, amssymb for symbols, graphicx for images, hyperref for links, listings for code, geometry for margins, fontenc for fonts, xcolor for colors, fancyhdr for headers.\n\nEnd document environment.\n\nEnvironments: equation for numbered math, align for multi-line, itemize for bullets, enumerate for numbers, figure for images, table for tables, verbatim for literal text."}}