# LaTeX Tips and Tricks for Particle Physicists

During the course of writing my thesis I spent quite some time into getting the $$\LaTeX$$ stuff right. LaTeX is such a great language1, generating amazing output, and enabling so many cool typesetting possibilities. How could one not!?
I thought it would be nice sharing my meta-research with others. So I held a talk at my institute to show the most important packages and concepts, I drew on while writing my document.

It tackles writing units in LaTeX and writing particle names. It highlights a few other, smaller packages, but also introduces BibLaTeX and glossaries in more detail. The great engine that is latexmk is introduced as well. It is also the first presentation I did in LaTeX Beamer!

You probably want to use the PDF linked after the embed since you can click all the links easily there.

Local PDF

1. Markup language. Programming language. Whatever.

# LaTeX Package for a Nice PANDA with Bar on P

In my $$\LaTeX$$ documents, I wanted to have nicely set PANDA names with the bar on top of the P.

Not so simple, though. I found the \overline to be too large, but the \bar to be too short. So I took to the great community that is StackExchange to find a solution. And, sure enough, someone was able to help me.
Based on egreg’s code, I assembled a proper LaTeX package1, making it more convenient for others to use as well.

Today, I gave the package a small Github repository.
→ github.com/AndiH/PandaNameLatex

1. With options and stuff!
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 1, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.8571071624755859, "perplexity": 1708.1210936803589}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2020-10/segments/1581875145708.59/warc/CC-MAIN-20200222150029-20200222180029-00354.warc.gz"}