From ca066ce37ecf1beae97d6956df6a8569a27c6bb2 Mon Sep 17 00:00:00 2001 From: Blendoit Date: Fri, 7 Aug 2020 19:03:05 -0700 Subject: Added Liberation fonts. --- blendoit/blendoit-init.org | 52 ++++++++++-------------- fonts/Liberation/LiberationMono-Bold.ttf | Bin 0 -> 304680 bytes fonts/Liberation/LiberationMono-BoldItalic.ttf | Bin 0 -> 281016 bytes fonts/Liberation/LiberationMono-Italic.ttf | Bin 0 -> 278536 bytes fonts/Liberation/LiberationMono-Regular.ttf | Bin 0 -> 316128 bytes fonts/Liberation/LiberationSans-Bold.ttf | Bin 0 -> 412304 bytes fonts/Liberation/LiberationSans-BoldItalic.ttf | Bin 0 -> 407164 bytes fonts/Liberation/LiberationSans-Italic.ttf | Bin 0 -> 413688 bytes fonts/Liberation/LiberationSans-Regular.ttf | Bin 0 -> 408856 bytes fonts/Liberation/LiberationSerif-Bold.ttf | Bin 0 -> 367760 bytes fonts/Liberation/LiberationSerif-BoldItalic.ttf | Bin 0 -> 374332 bytes fonts/Liberation/LiberationSerif-Italic.ttf | Bin 0 -> 373208 bytes fonts/Liberation/LiberationSerif-Regular.ttf | Bin 0 -> 390888 bytes init-custom.el | 2 - 14 files changed, 21 insertions(+), 33 deletions(-) create mode 100644 fonts/Liberation/LiberationMono-Bold.ttf create mode 100644 fonts/Liberation/LiberationMono-BoldItalic.ttf create mode 100644 fonts/Liberation/LiberationMono-Italic.ttf create mode 100644 fonts/Liberation/LiberationMono-Regular.ttf create mode 100644 fonts/Liberation/LiberationSans-Bold.ttf create mode 100644 fonts/Liberation/LiberationSans-BoldItalic.ttf create mode 100644 fonts/Liberation/LiberationSans-Italic.ttf create mode 100644 fonts/Liberation/LiberationSans-Regular.ttf create mode 100644 fonts/Liberation/LiberationSerif-Bold.ttf create mode 100644 fonts/Liberation/LiberationSerif-BoldItalic.ttf create mode 100644 fonts/Liberation/LiberationSerif-Italic.ttf create mode 100644 fonts/Liberation/LiberationSerif-Regular.ttf diff --git a/blendoit/blendoit-init.org b/blendoit/blendoit-init.org index 4dd4f4e..716675f 100644 --- a/blendoit/blendoit-init.org +++ b/blendoit/blendoit-init.org @@ -285,51 +285,40 @@ The following prettifies Org mode heading bullets: ) #+END_SRC -Thank you Diego -Zamboni![fn::https://zzamboni.org/post/beautifying-org-mode-in-emacs/] +*** Invisible edits -#+NAME: org-cosmetics #+BEGIN_SRC emacs-lisp - ;; (let* ((variable-tuple - ;; (cond ((x-list-fonts "Dejavu Sans") '(:font "Dejavu Sans")) - ;; ((x-family-fonts "Sans Serif") '(:family "Sans Serif")) - ;; (nil (warn "Cannot find a Sans Serif Font. Install Source Sans Pro.")))) - ;; (base-font-color (face-foreground 'default nil 'default)) - ;; (headline `(:inherit default :weight bold))) +(setq org-catch-invisible-edits t) +#+END_SRC - ;; (custom-theme-set-faces - ;; 'user - ;; `(org-level-8 ((t (,@headline ,@variable-tuple)))) - ;; `(org-level-7 ((t (,@headline ,@variable-tuple)))) - ;; `(org-level-6 ((t (,@headline ,@variable-tuple)))) - ;; `(org-level-5 ((t (,@headline ,@variable-tuple)))) - ;; `(org-level-4 ((t (,@headline ,@variable-tuple :height 1.1)))) - ;; `(org-level-3 ((t (,@headline ,@variable-tuple :height 1.25)))) - ;; `(org-level-2 ((t (,@headline ,@variable-tuple :height 1.5)))) - ;; `(org-level-1 ((t (,@headline ,@variable-tuple :height 1.75)))) - ;; `(org-document-title ((t (,@headline ,@variable-tuple :height 2.0 :underline nil)))))) +*** Agenda - ;(custom-theme-set-faces - ; 'user - ; '(variable-pitch ((t (:family "Liberation Sans")))) - ; '(fixed-pitch ((t ( :family "Hack"))))) +The agenda displays a chronological list of headings across all agenda files +for which the heading or body contain a matching =org-time-stamp=.[fn::An +=org-time-stamp= can be inserted with =C-c .= (period)] +#+BEGIN_SRC emacs-lisp +(global-set-key (kbd "C-c a") 'org-agenda-list) #+END_SRC -*** Invisible edits +*** Timestamps + +More literary timestamps are exported to LaTeX using the following custom +format: #+BEGIN_SRC emacs-lisp -(setq org-catch-invisible-edits t) + (setq org-time-stamp-custom-formats + '("%d %b, %Y (%a)" . "%d %b, %Y (%a), at %H:%M")) #+END_SRC -*** Agenda +*** LaTeX export -The agenda displays a chronological list of headings across all agenda files -for which the heading or body contain a matching =org-time-stamp=.[fn::An -=org-time-stamp= can be inserted with =C-c .= (period)] +The following makes =CLOSED= items appear green in LaTeX. Very stylish, much +flair! #+BEGIN_SRC emacs-lisp -(global-set-key (kbd "C-c a") 'org-agenda) + (setq org-latex-inactive-timestamp-format + "\\textcolor{ForestGreen!60}{\\textit{%s}}") #+END_SRC *** Publish @@ -417,6 +406,7 @@ LaTeX \rightarrow PDF. #+BEGIN_SRC emacs-lisp (use-package dumb-jump) +(add-hook 'xref-backend-functions #'dumb-jump-xref-activate) #+END_SRC ** gnuplot diff --git a/fonts/Liberation/LiberationMono-Bold.ttf b/fonts/Liberation/LiberationMono-Bold.ttf new file mode 100644 index 0000000..875dca4 Binary files /dev/null and b/fonts/Liberation/LiberationMono-Bold.ttf differ diff --git a/fonts/Liberation/LiberationMono-BoldItalic.ttf b/fonts/Liberation/LiberationMono-BoldItalic.ttf new file mode 100644 index 0000000..2f17f92 Binary files /dev/null and b/fonts/Liberation/LiberationMono-BoldItalic.ttf differ diff --git a/fonts/Liberation/LiberationMono-Italic.ttf b/fonts/Liberation/LiberationMono-Italic.ttf new file mode 100644 index 0000000..3de7602 Binary files /dev/null and b/fonts/Liberation/LiberationMono-Italic.ttf differ diff --git a/fonts/Liberation/LiberationMono-Regular.ttf b/fonts/Liberation/LiberationMono-Regular.ttf new file mode 100644 index 0000000..947cafa Binary files /dev/null and b/fonts/Liberation/LiberationMono-Regular.ttf differ diff --git a/fonts/Liberation/LiberationSans-Bold.ttf b/fonts/Liberation/LiberationSans-Bold.ttf new file mode 100644 index 0000000..6ce63ec Binary files /dev/null and b/fonts/Liberation/LiberationSans-Bold.ttf differ diff --git a/fonts/Liberation/LiberationSans-BoldItalic.ttf b/fonts/Liberation/LiberationSans-BoldItalic.ttf new file mode 100644 index 0000000..cd94aa2 Binary files /dev/null and b/fonts/Liberation/LiberationSans-BoldItalic.ttf differ diff --git a/fonts/Liberation/LiberationSans-Italic.ttf b/fonts/Liberation/LiberationSans-Italic.ttf new file mode 100644 index 0000000..6b9f204 Binary files /dev/null and b/fonts/Liberation/LiberationSans-Italic.ttf differ diff --git a/fonts/Liberation/LiberationSans-Regular.ttf b/fonts/Liberation/LiberationSans-Regular.ttf new file mode 100644 index 0000000..1f5849d Binary files /dev/null and b/fonts/Liberation/LiberationSans-Regular.ttf differ diff --git a/fonts/Liberation/LiberationSerif-Bold.ttf b/fonts/Liberation/LiberationSerif-Bold.ttf new file mode 100644 index 0000000..a6e0ac3 Binary files /dev/null and b/fonts/Liberation/LiberationSerif-Bold.ttf differ diff --git a/fonts/Liberation/LiberationSerif-BoldItalic.ttf b/fonts/Liberation/LiberationSerif-BoldItalic.ttf new file mode 100644 index 0000000..05296b5 Binary files /dev/null and b/fonts/Liberation/LiberationSerif-BoldItalic.ttf differ diff --git a/fonts/Liberation/LiberationSerif-Italic.ttf b/fonts/Liberation/LiberationSerif-Italic.ttf new file mode 100644 index 0000000..1e5d28a Binary files /dev/null and b/fonts/Liberation/LiberationSerif-Italic.ttf differ diff --git a/fonts/Liberation/LiberationSerif-Regular.ttf b/fonts/Liberation/LiberationSerif-Regular.ttf new file mode 100644 index 0000000..c33803c Binary files /dev/null and b/fonts/Liberation/LiberationSerif-Regular.ttf differ diff --git a/init-custom.el b/init-custom.el index 4924f9f..c3d9d8a 100644 --- a/init-custom.el +++ b/init-custom.el @@ -88,7 +88,6 @@ ("\\section{%s}" . "\\section*{%s}") ("\\subsection*{%s}" . "\\subsection*{%s}") ("\\subsubsection*{%s}" . "\\subsubsection*{%s}"))))) - '(org-latex-inactive-timestamp-format "\\textcolor{ForestGreen!60}{\\textit{%s}}") '(org-latex-packages-alist (quote (("AUTO" "polyglossia" t @@ -102,7 +101,6 @@ ("latexmk -pdf -f -interaction=nonstopmode -pdflatex=\"%latex\" -outdir=%o %f"))) '(org-latex-toc-command "\\tableofcontents\\clearpage") '(org-startup-align-all-tables t) - '(org-time-stamp-custom-formats (quote ("%d %b, %Y (%a)" . "%d %b, %Y (%a), at %H:%M"))) '(package-selected-packages (quote (tabbar-ruler tabbar-mode linum-relative dumb-jump csv-mode rainbow-mode org-mouse projectile minimap gnuplot ledger-mode company-mode wombat-theme wombar-theme which-key srefactor-lisp srefactor all-the-icons flycheck ibuffer-sidebar pdf-tools magit rainbow-delimiters smartparens mixed-pitch org-bullets use-package tabbar powerline ivy-hydra flatui-theme evil counsel company benchmark-init))) -- cgit v1.2.3