Skip to content

Commit

Permalink
Add URL
Browse files Browse the repository at this point in the history
  • Loading branch information
nwhetsell committed Nov 30, 2024
1 parent a8b4902 commit ff6ce02
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions instrumentation-cheat-sheet.tex
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,9 @@
\tl_const:Nn \l_ambitus_bar_height_tl { 0.155 }
\tl_const:Nn \l_ambitus_bar_separation_tl { 0.45 } % This is a fraction of the ambitus bar height.
\tl_new:N \g_ambitus_y_tl
% TikZ uses 0.4pt for the default width of a line. Subtract this from \textwidth
% so the cheat sheet doesn’t extend into the right margin.
% From https://tikz.dev/tikz-actions#sec-15.3.1, TikZ uses 0.4pt for the default
% width of a line. Subtract this from \textwidth so the cheat sheet doesn’t
% extend into the right margin.
\dim_const:Nn \l_black_key_width_dim { (\textwidth - 0.4pt) / \l_total_note_count_tl }

\tikzset{midi~ note~ number/.style={anchor=mid~ west, minimum~ height=\l_ambitus_bar_height_tl cm, minimum~ width=\l_black_key_width_dim}}
Expand Down

0 comments on commit ff6ce02

Please sign in to comment.