tinycodinglm / doc /mathjax-0004.jsonl
winapiadmin's picture
Upload folder using huggingface_hub (part 15)
b27bfb3 verified
|
Raw History Blame Contribute Delete
1.33 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 add figures and tables in LaTeX

Assistant

Figure environment with centering, includegraphics for image inclusion, caption for description, label for cross-referencing.

Placement specifiers: h here, t top, b bottom, p page, ! override. Float management with clearpage.

Table environment with tabular for content. Column specifiers: l left, c center, r right, p fixed width. Horizontal lines with hline, vertical with pipe characters in column spec.

Package booktabs for professional-quality horizontal rules: toprule, midrule, bottomrule.

Cross-references with ref command. Non-breaking space with tilde.

Subfigures with subcaption or subfig package.