Tweak some font faces for org and markdown files
Add a font showcase file to act as standard candle for testing font features
This commit is contained in:
parent
a183105940
commit
69cddd95b6
|
@ -11,6 +11,10 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
|||
org-default-notes-file (expand-file-name "notes.org" org-directory)
|
||||
org-hide-emphasis-markers nil
|
||||
org-pretty-entities-include-sub-superscripts t
|
||||
org-fontify-done-headline t
|
||||
org-fontify-todo-headline t
|
||||
org-fontify-emphasized-text t
|
||||
org-fontify-quote-and-verse-blocks t
|
||||
org-tags-column 0
|
||||
org-outline-path-complete-in-steps nil
|
||||
org-return-follows-link t
|
||||
|
@ -30,7 +34,12 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
|||
:ensure t
|
||||
:custom
|
||||
(org-babel-load-languages '((emacs-lisp . t)
|
||||
(python . t))))
|
||||
(python . t)))
|
||||
:config
|
||||
(set-face-attribute 'org-table nil :inherit 'fixed-pitch)
|
||||
(set-face-attribute 'org-block nil :inherit 'fixed-pitch)
|
||||
(set-face-attribute 'org-quote nil :inherit 'variable-pitch)
|
||||
(set-face-attribute 'org-verse nil :inherit 'variable-pitch))
|
||||
#+end_src
|
||||
|
||||
* Keymaps
|
||||
|
|
|
@ -25,7 +25,13 @@
|
|||
:diminish
|
||||
:custom
|
||||
(markdown-enable-math t)
|
||||
(markdown-enable-html t))
|
||||
(markdown-enable-html t)
|
||||
:config
|
||||
(set-face-attribute 'markdown-code-face nil :inherit 'fixed-pitch)
|
||||
(set-face-attribute 'markdown-inline-code-face nil :inherit 'fixed-pitch)
|
||||
(set-face-attribute 'markdown-table-face nil :inherit 'fixed-pitch)
|
||||
(set-face-attribute 'markdown-blockquote-face nil :inherit 'variable-pitch)
|
||||
(set-face-attribute 'markdown-comment-face nil :inherit 'variable-pitch))
|
||||
#+end_src
|
||||
* Pandoc
|
||||
#+begin_src emacs-lisp
|
||||
|
|
91
font-showcase.org
Normal file
91
font-showcase.org
Normal file
|
@ -0,0 +1,91 @@
|
|||
#+title: Font Showcase
|
||||
#+author: Evie Litherland-Smith
|
||||
#+email: evie@xenia.me.uk
|
||||
#+language: en
|
||||
This is a showcase of various font features to act as a standard
|
||||
candle.
|
||||
* Header 1
|
||||
** Header 2
|
||||
*** Header 3
|
||||
**** Header 4
|
||||
***** Header 5
|
||||
****** Header 6
|
||||
******* Header 7
|
||||
******** Header 8
|
||||
* Font emphasis
|
||||
Examples of:
|
||||
- *Bold text*
|
||||
- /Italic text/
|
||||
- _Underscored text_
|
||||
- =Literal text=
|
||||
- ~Code~
|
||||
- +Strike-through+
|
||||
* Character showcase
|
||||
#+begin_example
|
||||
ABC.DEF.GHI.JKL.MNO.PQRS.TUV.WXYZ abc.def.ghi.jkl.mno.pqrs.tuv.wxyz
|
||||
!iIlL17|¦ ¢coO08BbDQ $5SZ2zs 96µm float il1[]={1-2/3.4,5+6=7/8%90};
|
||||
1234567890 ,._-+= >< «¯-¬_» ~–÷+× {*}[]()<>`+-=$/#_%^@\&|~?'" !,.;:
|
||||
E3CGQ g9q¶ uvw ſßðþ ΓΔΛαδιλμξπτχ∂ ЖЗКУЯжзклмнруфчьыя <= != == => ->
|
||||
#+end_example
|
||||
* Coding ligatures
|
||||
#+begin_example
|
||||
-<< -< -<- <-- <--- <<- <- -> ->> --> ---> ->- >- >>-
|
||||
|
||||
=<< =< =<= <== <=== <<= <= => =>> ==> ===> =>= >= >>=
|
||||
|
||||
<-> <--> <---> <----> <=> <==> <===> <====> :: ::: __
|
||||
|
||||
<~~ </ </> /> ~~> == != /= ~= <> === !== !=== =/= =!=
|
||||
|
||||
<: := *= *+ <* <*> *> <| <|> |> <. <.> .> +* =* =: :>
|
||||
|
||||
(* *) /* */ [| |] {| |} ++ +++ \/ /\ |- -| <!-- <!---
|
||||
#+end_example
|
||||
* Source blocks
|
||||
#+begin_src python
|
||||
def main(*args, **kwargs) -> None:
|
||||
"""
|
||||
Example docstring for function
|
||||
"""
|
||||
return
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
#+end_src
|
||||
* Example prose
|
||||
#+begin_quote
|
||||
AMONG the many valuable contributions of William Dwight Whitney to
|
||||
linguistic science is one especially important and fundamental
|
||||
principle. It may be stated in these words. In explaining the
|
||||
prehistoric phenomena of language we must assume no other factors than
|
||||
those which we are able to observe and estimate in the historical
|
||||
period of language development. The factors that produced changes in
|
||||
human speech five thousand or ten thousand years ago cannot have been
|
||||
essentially different from those which are now operating to transform
|
||||
living languages. On the basis of this principle we look to-day at a
|
||||
much-discussed problem of Indo-European philology with views very
|
||||
different from the views held by the founders of Comparative Philology
|
||||
and their immediate successors. I refer to the problem, how the
|
||||
Indo-European people came to assign gender to nouns, to distinguish
|
||||
between masculine, feminine, and neuter. This question is of interest
|
||||
to others besides philologists. What man of culture who has learned
|
||||
languages such as the Greek, Latin, or French has not at times
|
||||
wondered that objects which have no possible connection with the
|
||||
natural gender of animals appear constantly in the language as male or
|
||||
female? In German, for example, it is der fuss, but die hand; der
|
||||
geist, but die seele; in Latin, hīc hortus, hīc animus, hīc amor, but
|
||||
haec planta, haec anima, haec felicitas; in Greek, ὁ πλοῦτος, ὁ οἶκος,
|
||||
but ἡ πενία, ἡ οἰκία.
|
||||
|
||||
This gender distinction pervades all the older Indo-European
|
||||
languages, and must therefore be regarded as having its origin in the
|
||||
time of the pro-ethnic Indo-European community. Not only is the
|
||||
subject itself full of interest, but also the treatment it has
|
||||
received from the philological research of our century. The various
|
||||
efforts made to solve the problem may very aptly illustrate an
|
||||
essential difference which exists between the theories of language
|
||||
development held in the beginning and middle of this century and those
|
||||
which prevail to-day, — a difference of method existing not in
|
||||
comparative linguistics alone, but also in other fields of
|
||||
philological and historical research that border on it.
|
||||
#+end_quote
|
Loading…
Reference in a new issue