diff options
author | Zhiming Wang <zmwangx@gmail.com> | 2015-05-05 01:12:44 -0700 |
---|---|---|
committer | Zhiming Wang <zmwangx@gmail.com> | 2015-05-05 01:24:44 -0700 |
commit | 82371e351a35363a8b493d0063e925dce1d27008 (patch) | |
tree | 529e0a656a524a92efa5f8d1fd5751c47bff39d8 /source/img/icon.tex | |
parent | 015e3b4716a15c674829034bce56b83b323688df (diff) | |
download | my_new_personal_website-82371e351a35363a8b493d0063e925dce1d27008.tar.xz my_new_personal_website-82371e351a35363a8b493d0063e925dce1d27008.zip |
handle navigation button and favicons
Note that I'm using an <embed> tag with the svg because if wrapped in
<img>, the svg won't render on Safari. After using the <embed> tag, the
svg renders on all four major browsers on OS X (Chrome, Safari, Firefox,
Opera), and it looks nice on all three but Firefox, in which case it's
crappy as fuck.
Diffstat (limited to 'source/img/icon.tex')
-rw-r--r-- | source/img/icon.tex | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/source/img/icon.tex b/source/img/icon.tex new file mode 100644 index 00000000..c4efccc3 --- /dev/null +++ b/source/img/icon.tex @@ -0,0 +1,21 @@ +%%% Local Variables: +%%% coding: utf-8 +%%% mode: latex +%%% TeX-engine: xetex +%%% End: + +\documentclass{standalone} +\usepackage{xltxtra} +\usepackage{tikz} + +\setmainfont{Helvetica Neue} + +\begin{document} + +\tikz { + \fill[fill=none](0,0) circle (10); + \draw[draw=none,fill=black!20!white] (0,0) circle (10); + \node[text=white,scale=20.0] at (0,0) {ZW}; +} + +\end{document} |