Karabiner config based on [1].
left_command → left_control
left_control → left_command
right_command → left_alt
caps_lock → left_control
left_command + tab
is ignored
In System Preferences → Security & Privacy → Privacy
choose Full Disk Access
in the left column, then add /usr/bin/ruby
.[2] (Press ⌘-Shift-dot to show hidden files)
Place .sty files in ~/Library/texmf/tex/latex/
[1] https://nickdrozd.github.io/2019/12/28/emacs-mac-mods.html