Pimp latex export
This commit is contained in:
@@ -247,7 +247,7 @@ I mainly use these fonts:
|
||||
+ Noto Emoji to show emojis in emacs
|
||||
+ Noto JP for japanese characters
|
||||
#+begin_src emacs-lisp :tangle yes
|
||||
(set-face-attribute 'default nil :font "JuliaMono" :height 80)
|
||||
(set-face-attribute 'default nil :font "JuliaMono" :height 100)
|
||||
(set-fontset-font t 'unicode "Noto Color Emoji" nil 'prepend)
|
||||
(set-fontset-font t 'unicode "Noto Sans Mono CJK JP" nil 'append)
|
||||
#+end_src
|
||||
@@ -588,7 +588,7 @@ Also fix math =utf8= chars.
|
||||
"pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f")
|
||||
org-latex-inputenc-alist '(("utf8" . "utf8x"))
|
||||
org-latex-default-packages-alist (cons '("mathletters" "ucs" nil) org-latex-default-packages-alist)
|
||||
org-format-latex-options (plist-put org-format-latex-options :scale 1.5))
|
||||
org-format-latex-options (plist-put org-format-latex-options :scale 0.5))
|
||||
#+end_src
|
||||
|
||||
For some reason =\alert= is misinterpreted in LaTeX.
|
||||
|
||||
@@ -6,9 +6,9 @@ set -g default-terminal "tmux-256color"
|
||||
# enable true color terminal
|
||||
set -ga terminal-overrides ",*256col*:Tc"
|
||||
|
||||
# new panes
|
||||
bind-key -n M-v split-window -h
|
||||
bind-key -n M-s split-window -v
|
||||
# new panes (open with current path)
|
||||
bind-key -n M-v split-window -h -c "#{pane_current_path}"
|
||||
bind-key -n M-s split-window -v -c "#{pane_current_path}"
|
||||
|
||||
# pane selection
|
||||
bind-key -n M-h select-pane -L
|
||||
@@ -16,11 +16,12 @@ bind-key -n M-j select-pane -D
|
||||
bind-key -n M-k select-pane -U
|
||||
bind-key -n M-l select-pane -R
|
||||
|
||||
# pane modifications
|
||||
# pane / window modifications
|
||||
bind-key -n M-z resize-pane -Z
|
||||
bind-key -n M-, command-prompt "rename-window '%%'"
|
||||
|
||||
# new windows
|
||||
bind-key -n M-c new-window
|
||||
bind-key -n M-c new-window -c "#{pane_current_path}"
|
||||
|
||||
# navigate windows
|
||||
bind-key -n M-1 select-window -t 1
|
||||
|
||||
@@ -20,10 +20,10 @@ DIR="%{$fg[blue]%}%~"
|
||||
GIT="%{$fg[red]%}\$vcs_info_msg_0_"
|
||||
|
||||
# if [[ -n "$SSH_CONNECTION" ]]; then
|
||||
HOSTNAME="%B%{$fg[yellow]%}%m%b "
|
||||
PC="%B%{$fg[yellow]%}%m%b "
|
||||
# fi
|
||||
|
||||
export PROMPT="${HOSTNAME}${DIR}${GIT} ${ICON}%{$reset_color%} "
|
||||
export PROMPT="${PC}${DIR}${GIT} ${ICON}%{$reset_color%} "
|
||||
zstyle ':vcs_info:git:*' formats ' %b '
|
||||
|
||||
case $TERM in
|
||||
|
||||
Reference in New Issue
Block a user