From 1d4c729015c39dc337194f859097d4618933eeb3 Mon Sep 17 00:00:00 2001 From: Taeyeon Mori Date: Thu, 9 Jun 2016 19:01:51 +0200 Subject: [PATCH] [TeX] Add jatools package, change intridea --- README.md | 7 ++++++ .../latex/intridea/beamerthemeintridea.sty | 4 +++- texmf/tex/latex/local/jatools.sty | 24 +++++++++++++++++++ 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 texmf/tex/latex/local/jatools.sty diff --git a/README.md b/README.md index bf45fe6..0fb2b43 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,13 @@ General dotfiles repository. Everything that doesn't need to be special-cased go XDG configuration directory. Items will be symlinked to ~/.config (NOT IMPLEMENTED) +.files/texmf +------------ +Contains LaTeX classes + +- Intridea beamer theme +- 'jatools' package with some Japanese-related things + $HOME ----- All dotfiles are symlinked into the home directory or have a proxy file generated. diff --git a/texmf/tex/latex/intridea/beamerthemeintridea.sty b/texmf/tex/latex/intridea/beamerthemeintridea.sty index 215c49d..13a2ed3 100644 --- a/texmf/tex/latex/intridea/beamerthemeintridea.sty +++ b/texmf/tex/latex/intridea/beamerthemeintridea.sty @@ -32,6 +32,8 @@ \setbeamercolor{copyright in head/foot}{fg=gray} \setbeamercolor{framenumber in head/foot}{fg=gray} +\newcommand{\footercopyholder}{\insertshortinstitute} + \defbeamertemplate*{footline}{infolines theme} { \leavevmode% @@ -39,7 +41,7 @@ \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=2ex,center]{copyright in head/foot}% \end{beamercolorbox}% \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=2ex,center]{copyright in head/foot}% - \usebeamerfont{copyright in head/foot}Copyright \the\year, \insertinstitute All Rights Reserved. + \usebeamerfont{copyright in head/foot}Copyright \the\year, \footercopyholder. All Rights Reserved. \end{beamercolorbox}% \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=2ex,right]{framenumber in head/foot}% \usebeamerfont{framenumber in head/foot}\insertframenumber{} / \inserttotalframenumber\hspace*{2ex} diff --git a/texmf/tex/latex/local/jatools.sty b/texmf/tex/latex/local/jatools.sty new file mode 100644 index 0000000..37b5450 --- /dev/null +++ b/texmf/tex/latex/local/jatools.sty @@ -0,0 +1,24 @@ +\ProvidesPackage{jatools}[2016/01/08 Tools for japanese science papers] + +% Japanese Text +\usepackage{CJKutf8} + +\providecommand{\textj}[1]{\begin{CJK}{UTF8}{min}#1\end{CJK}} + +% Long Vovels +\providecommand{\Aa}{\={A}} +\providecommand{\aa}{\={a}} + +\providecommand{\Ii}{\={I}} +\providecommand{\ii}{\={i}} + +\providecommand{\Uu}{\={O}} +\providecommand{\uu}{\={u}} + +\providecommand{\Ei}{\={E}} +\providecommand{\ei}{\={e}} + +\providecommand{\Ou}{\={O}} +\providecommand{\ou}{\={o}} + +\endinput \ No newline at end of file