• R/O
  • SSH

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修訂f8c43ed9e1f27fef1784bfb6fce4c37fa8b1e7b8 (tree)
時間2018-01-11 22:11:25
作者Lorenzo Isella <lorenzo.isella@gmai...>
CommiterLorenzo Isella

Log Message

A simple way to generate a dark theme for beamer.

Change Summary

差異

diff -r c6c535070e8f -r f8c43ed9e1f2 latex-documents/dark_theme.tex
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/latex-documents/dark_theme.tex Thu Jan 11 14:11:25 2018 +0100
@@ -0,0 +1,44 @@
1+\documentclass{beamer}
2+\usetheme{Warsaw}
3+
4+\setbeamercolor{normal text}{fg=white,bg=black!90}
5+\setbeamercolor{structure}{fg=white}
6+
7+\setbeamercolor{alerted text}{fg=red!85!black}
8+
9+\setbeamercolor{item projected}{use=item,fg=black,bg=item.fg!35}
10+
11+\setbeamercolor*{palette primary}{use=structure,fg=structure.fg}
12+\setbeamercolor*{palette secondary}{use=structure,fg=structure.fg!95!black}
13+\setbeamercolor*{palette tertiary}{use=structure,fg=structure.fg!90!black}
14+\setbeamercolor*{palette quaternary}{use=structure,fg=structure.fg!95!black,bg=black!80}
15+
16+\setbeamercolor*{framesubtitle}{fg=white}
17+
18+\setbeamercolor*{block title}{parent=structure,bg=black!60}
19+\setbeamercolor*{block body}{fg=black,bg=black!10}
20+\setbeamercolor*{block title alerted}{parent=alerted text,bg=black!15}
21+\setbeamercolor*{block title example}{parent=example text,bg=black!15}
22+
23+
24+\begin{document}
25+
26+\begin{frame}
27+\frametitle{Test Frame}
28+\framesubtitle{Test Frame}
29+Test
30+\begin{enumerate}
31+\item Test
32+\end{enumerate}
33+\begin{block}{Test}
34+Test
35+\end{block}
36+\end{frame}
37+
38+\end{document}
39+
40+enter image description here
41+%%% Local Variables:
42+%%% mode: latex
43+%%% TeX-master: t
44+%%% End: