tinycodinglm / doc /mathjax-0001.jsonl
winapiadmin's picture
Upload folder using huggingface_hub (part 15)
b27bfb3 verified
|
Raw History Blame Contribute Delete
1.4 kB
opencode trace
System 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 c...

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.

User

How to structure a LaTeX document

Assistant

LaTeX document structure:

Preamble: documentclass declaration, usepackage imports, title, author, date.

Begin document environment, maketitle for title page, tableofcontents for auto-generated TOC.

Sectioning commands: section, subsection, subsubsection, paragraph, subparagraph.

Common 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.

End document environment.

Environments: equation for numbered math, align for multi-line, itemize for bullets, enumerate for numbers, figure for images, table for tables, verbatim for literal text.