forked from synrc/synrc.com
-
Notifications
You must be signed in to change notification settings - Fork 1
/
synrc.hva
39 lines (35 loc) · 993 Bytes
/
synrc.hva
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
\documentclass[11pt]{article}
\usepackage{ifthen}
\usepackage{xkeyval}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage{listings}
\usepackage{cite}
\usepackage{hevea}
\newcommand{\includeimage}[3]{
\ifhevea
{
\imgsrc[style="margin-left: -20px;margin-botton: 30px; padding:20 20 20 20px;"]{\images/#1}\@br
Picture. {\bf #2}\@br\@br
}
\else
{
\begin{figure}[ht]
\centering
\includegraphics[scale=0.5]{#1}
\end{figure}}
\fi}
\setcounter{secnumdepth}{0}
\let\oldmeta=\@meta
\renewcommand{\@meta}{%
\begin{rawhtml}
<link rel=stylesheet type="text/css" href="//synrc.com/synrc.css?v=3">
<meta name="Author" content="5HT">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta property="og:image" content="images/s_64.png"/>
<meta http-equiv="X-UA-Compatible" content="IE=IE10,chrome=1" />
\end{rawhtml}}
\htmlhead{\rawhtmlinput{templates/head-hevea.htx}}
\htmlfoot{\rawhtmlinput{templates/foot.htx}}
\footerfalse