{{ message }}

Instantly share code, notes, and snippets.

# Robert McNees mcnees

Last active Jul 20, 2021
Make your own quadrille, graph, hex, etc paper! Uses the pgf/TikZ package for LaTeX, which should be part of any modern TeX installation.
View graph paper.tex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 %%----------------------------------------------------------------------- %% Make your own quadrille, graph, hex, etc paper! %% Uses the pgf/TikZ package for LaTeX, which should be part of %% any modern TeX installation. %% Email: mcnees@gmail.com %% Twitter: @mcnees %%----------------------------------------------------------------------- \documentclass[11pt]{article}
Created Mar 13, 2021
A .tex file that uses pgf/tikz to create a variety of graph papers.
View graph paper.tex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 %%----------------------------------------------------------------------- %% Make your own quadrille, graph, hex, etc paper! %% Uses the pgf/TikZ package for LaTeX, which should be part of %% any modern TeX installation. %% %% All the values here are hardcoded for letter size paper. %% %% This is the original standalone .tex file. The project is in the %% process of being converted to a LaTeX package. %%
Created Dec 1, 2020
Diagram of geodesics in the Poincare Upper Half-Plane
View PoincareUHP.tex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 %% -------------------------------------------------------------- %% Code for the diagram in a twitter thread about Lobachevsky. %% Tweet: https://twitter.com/mcnees/status/1333812403218354177 %% -------------------------------------------------------------- \documentclass[crop=true, border=10pt]{standalone} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{mathrsfs}
Created Oct 18, 2016
Gaussian Surfaces with PGF/TikZ
View GaussianSurfaces.tex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 % % Send comments to rmcnees@luc.edu, or @mcnees on Twitter. % \documentclass[11pt]{article} % ------------------------------------------------ % Specify the margins. % ------------------------------------------------ \usepackage{vmargin} \setmargrb{2cm}{1cm}{2cm}{2cm}
Created Oct 18, 2016
Spacetime diagrams for uniformly accelerated observers in LaTeX, using PGF/TikZ
View UAO.tex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 %---------------------------------------------------------------------- % Use TikZ/PGF to programmatically draw spacetime diagrams for % uniformly accelerated observers. Set the acceleration, initial % conditions, and other paramters below. % % Questions/Comments to Robert McNees at rmcnees@luc.edu % http://jacobi.luc.edu % @mcnees on Twitter % January 2015, Updated October 2016 %----------------------------------------------------------------------
Created Sep 14, 2019
A 3x3 alignment grid for doing the meme
View AlignmentGrid.tex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 \documentclass[crop=true, border=10pt]{standalone} \usepackage{xcolor} \usepackage{tikz} \usetikzlibrary{arrows.meta} % Some colors I like. The first six are modified versions of colors from
Created Sep 9, 2019
BibTeX ref for http://jacobi.luc.edu/Useful.html
View ref.bib
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 @misc{ website:xxx, author = “{Robert McNees}", title = "Conventions, Definitions, Identities, and Formulas", year = "2019", url = "http://jacobi.luc.edu/Useful.html", note = “[Accessed 8-September-2019]" }
Created Sep 9, 2019 — forked from tdwiser/apsrev_cite_website.tex
View apsrev_cite_website.tex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 \documentclass{revtex4-1} \usepackage{hyperref} \begin{filecontents}{\jobname.bib} @unpublished{mcnees, author = {{McNees}, Robert}, title = {Conventions, Definitions, Identities, and Formulas}, url = {http://jacobi.luc.edu/Useful.html}, note = {{http://jacobi.luc.edu/Useful.html}}
Created Sep 10, 2017
Shaded hemisphere in perspective using PGF/TikZ
View Example3.tex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 \documentclass[crop=true, border=10pt]{standalone} \usepackage{xcolor} \usepackage{tikz} \usetikzlibrary{arrows.meta} % Some colors I like. The first six are modified versions of colors from
Created Nov 26, 2017
Visual resolution of the twin paradox in special relativity
View Twin.tex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 \documentclass[crop=true, border=10pt]{standalone} \usepackage{amsmath} \usepackage{xcolor} \usepackage{tikz} \usetikzlibrary{arrows.meta} \usetikzlibrary{decorations.markings} \usepackage{tikz-3dplot}