Last active
October 26, 2015 14:27
-
-
Save alexkalderimis/210b60f3f09172dfcb8a to your computer and use it in GitHub Desktop.
Custom mode RefME widget example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<link rel="stylesheet" href="style.css" type="text/css"> | |
<title>RefME Cite Button</title> | |
<script src="https://widget.refme.com/scripts/refme-cite.js"></script> | |
</head> | |
<body> | |
<section> | |
<div class="col"> | |
<div id="citation-button"></div> | |
<dl> | |
<dt>Title:</dt> | |
<dt>Advances in Applied Mathematics and Mechanics</dd> | |
... | |
</dl> | |
</div> | |
</section> | |
<script> | |
window.addEventListener('load', function () { | |
var citations = [ | |
{ | |
title: "Advances in Applied Mathematics and Mechanics", | |
type: 'article-journal', // a type must be provided | |
abstract: "In this paper, an optimal bicubic finite volume method is established and analyzed for elliptic equations on quadrilateral meshes. Base on the so-called elementwise stiffness matrix analysis technique, we proceed the stability analysis. It is proved that the new scheme has optimal O(H3) convergence rate in H1 norm. Additionally, we apply this analysis technique to bilinear finite volume method. Finally, numerical examples are provided to confirm the theoretical analysis of bicubic finite volume method.", | |
author: [ | |
{given: "Yanli", family: "Chen"}, | |
{given: "Yonghai", family: "Li"} | |
], | |
id: "10.4208/aamm.2013.m401", | |
DOI: "10.4208/aamm.2013.m401", | |
volume: "7", | |
issue: "4", | |
'container-title': "Advances in Applied Mathematics and Mechanics", | |
page: "454-471", | |
issued: "2015-05-29", | |
publisher: "Global-Science Press" | |
} | |
]; | |
RefME.createButton({ | |
element: '#citation-button', | |
data: citations | |
}); | |
}); | |
</script> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import url(https://fonts.googleapis.com/css?family=Droid+Sans:400,700); | |
html, body { | |
font-family: 'Droid Sans', sans-serif; | |
font-size:16px; | |
} | |
p { | |
margin:0 0 1rem; | |
} | |
.col { | |
display:inline-block; | |
margin-right: 30px; | |
padding:5px 20px; | |
vertical-align:top; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment