Commit ec0fa35d authored by Julie Blanc's avatar Julie Blanc

scientific-math-paper initial

parent d13b5bc6
.DS_store
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title></title>
<link rel="stylesheet" href="stylesheet.css" />
<style type="text/css">
code{white-space: pre;}
p{font-size:28px;}
</style>
</head>
<body>
<p style="font-family:'Spectral';font-weight:200;">Spectral extra-light 200</p>
<p style="font-family:'Spectral';font-weight:200;font-style:italic">Spectral extra-light 200 italic</p>
<p style="font-family:'Spectral';font-weight:300;">Spectral light 300</p>
<p style="font-family:'Spectral';font-weight:300;font-style:italic">Spectral light 300 italic</p>
<p style="font-family:'Spectral';font-weight:400;">Spectral regular 400</p>
<p style="font-family:'Spectral';font-weight:400;font-style:italic">Spectral regular 400 italic</p>
<p style="font-family:'Spectral';font-weight:500;">Spectral medium 500</p>
<p style="font-family:'Spectral';font-weight:500;font-style:italic">Spectral medium 500 italic</p>
<p style="font-family:'Spectral';font-weight:600;">Spectral semi-bold 600</p>
<p style="font-family:'Spectral';font-weight:600;font-style:italic">Spectral semi-bold 600 italic</p>
<p style="font-family:'Spectral';font-weight:700;">Spectral bold 700</p>
<p style="font-family:'Spectral';font-weight:700;font-style:italic">Spectral semi-bold 700 italic</p>
<p style="font-family:'Spectral';font-weight:800;">Spectral extra-bold 800</p>
<p style="font-family:'Spectral';font-weight:800;font-style:italic">Spectral extra-bold 800 italic</p>
</body>
</html>
/* Download from : <https://github.com/productiontype/Spectral>, 2018-06_30*/
@font-face {
font-family: 'spectral';
src: url('spectral-extralight.woff2') format('woff2'),
url('spectral-extralight.woff') format('woff'),
url('spectral-extralight.ttf') format('truetype');
font-weight: 200;
font-style: normal;
}
@font-face {
font-family: 'spectral';
src: url('spectral-extralightitalic.woff2') format('woff2'),
url('spectral-extralightitalic.woff') format('woff'),
url('spectral-extralightitalic.ttf') format('truetype');
font-weight: 200;
font-style: italic;
}
@font-face {
font-family: 'spectral';
src: url('spectral-light.woff2') format('woff2'),
url('spectral-light.woff') format('woff'),
url('spectral-light.ttf') format('truetype');
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: 'spectral';
src: url('spectral-lightitalic.woff2') format('woff2'),
url('spectral-lightitalic.woff') format('woff'),
url('spectral-lightitalic.ttf') format('truetype');
font-weight: 300;
font-style: italic;
}
@font-face {
font-family: 'spectral';
src: url('spectral-regular.woff2') format('woff2'),
url('spectral-regular.woff') format('woff'),
url('spectral-regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'spectral';
src: url('spectral-italic.woff2') format('woff2'),
url('spectral-italic.woff') format('woff'),
url('spectral-italic.ttf') format('truetype');
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: 'spectral';
src: url('spectral-medium.woff2') format('woff2'),
url('spectral-medium.woff') format('woff'),
url('spectral-medium.ttf') format('truetype');
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: 'spectral';
src: url('spectral-mediumitalic.woff2') format('woff2'),
url('spectral-mediumitalic.woff') format('woff'),
url('spectral-mediumitalic.ttf') format('truetype');
font-weight: 500;
font-style: italic;
}
@font-face {
font-family: 'spectral';
src: url('spectral-semibold.woff2') format('woff2'),
url('spectral-semibold.woff') format('woff'),
url('spectral-semibold.ttf') format('truetype');
font-weight: 600;
font-style: normal;
}
@font-face {
font-family: 'spectral';
src: url('spectral-semibolditalic.woff2') format('woff2'),
url('spectral-semibolditalic.woff') format('woff'),
url('spectral-semibolditalic.ttf') format('truetype');
font-weight: 600;
font-style: italic;
}
@font-face {
font-family: 'spectral';
src: url('spectral-bold.woff2') format('woff2'),
url('spectral-bold.woff') format('woff'),
url('spectral-bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: 'spectral';
src: url('spectral-bolditalic.woff2') format('woff2'),
url('spectral-bolditalic.woff') format('woff'),
url('spectral-bolditalic.ttf') format('truetype');
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: 'spectral';
src: url('spectral-extrabold.woff2') format('woff2'),
url('spectral-extrabold.woff') format('woff'),
url('spectral-extrabold.ttf') format('truetype');
font-weight: 800;
font-style: normal;
}
@font-face {
font-family: 'spectral';
src: url('spectral-extrabolditalic.woff2') format('woff2'),
url('spectral-extrabolditalic.woff') format('woff'),
url('spectral-extrabolditalic.ttf') format('truetype');
font-weight: 800;
font-style: normal;
}
\ No newline at end of file
This diff is collapsed.
/* style */
*{
margin: 0;
padding: 0;
}
a{
color: currentColor;
text-decoration: none;
}
:root{
font-size: 14px;
line-height: 18px;
--baseline: 18px;
font-family: 'spectral';
}
@page{
size: A4;
margin-left: 35mm;
margin-right: 35mm;
margin-bottom: 25mm;
margin-top: 25mm;
@top-left{ content: ""; width: 80mm; background-color: #999; }
@top-right{ content: ""; background-color: #999; }
@top-center{
content: "arXiv:1808.09365 [cs.IT]";
width: 160px;
font-weight: 400;
color: #888;
vertical-align: top;
margin-top: 8.5mm;
}
@bottom-left{
content: "T. Sakurai – A weight enumerator of linear-congruence codes";
color: #888;
/* width: 80mm;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden; */
}
@bottom-right{
content: counter(page) " / " counter(pages);
color: #888;
}
}
.pagedjs_margin-top-left, .pagedjs_margin-top-right { height: 6px; margin-top: 10mm; }
.pagedjs_margin-top { align-items: top; }
h1{
font-weight: 400;
font-size: 2.5rem;
line-height: calc(var(--baseline)*2);
text-transform: uppercase;
text-align: center;
width: 130mm;
margin: 0 auto;
padding-top: calc(var(--baseline)*3);
padding-bottom: calc(var(--baseline)*1);
}
#authors, h2{
font-weight: 500;
font-size: 1.2rem;
text-transform: uppercase;
text-align: center;
margin: 0 auto;
padding-top: calc(var(--baseline)*3);
padding-bottom: calc(var(--baseline)*1.5);
}
h3{
display: inline;
font-weight: 600;
font-size: 1rem;
margin-top: 300px;
margin-top: calc(var(--baseline)*2);
}
h3::after{ content: ". "; }
p{
text-align: justify;
margin-bottom: calc(var(--baseline)*0.5);
}
h3 + p{
display: inline;
margin-bottom: calc(var(--baseline)*0.5);
}
#authors{ padding-bottom: calc(var(--baseline)*2); }
.source{ padding-bottom: calc(var(--baseline)*1); }
.abstract, .keywords, .date, .math-class, .source{
width: 120mm;
margin: 0 auto;
}
.abstract::before{
content: "Abstract. ";
font-variant: small-caps;
}
.keywords::before{
content: "Keywords and phrases. ";
font-variant: small-caps;
}
.keywords, .date, .math-class, .source { text-align: left; }
.keywords, .date{ padding-top: calc(var(--baseline)*1); }
/* margin and counter for mathjax */
.math-class span, .source span { font-family: 'Courier New', Courier, monospace; }
.MJXc-display { margin: calc(var(--baseline)*0.5) 0!important; }
body{ counter-reset: num; }
.num { counter-increment: num; }
.num::before {
content: "(" counter(num) ")";
display: block;
position: absolute;
margin-top: calc(var(--baseline)*0.5);
}
/* tables style */
table {
break-inside: avoid;
border-collapse: collapse;
border-bottom: 3px double black;
margin-bottom: calc(var(--baseline)*3);
}
table caption { margin-bottom: calc(var(--baseline)*1); }
table caption::before {
content: "Table. ";
font-variant: small-caps;
}
thead{
border-top: 3px double black;
border-bottom: 3px double black;
}
th, td{
height: calc(var(--baseline)*2);
font-weight: 400;
}
tr{ border-bottom: 1px solid black;}
/* references counter */
#references { counter-reset: ref; }
#references p {
counter-increment: ref;
padding-left: 1rem;
}
#references p::before{
/* content: "hello"; */
content: "[" counter(ref) "] ";
position: absolute;
left: -1rem;
}
/* To define how the book look on the screen: */
@media screen {
body {
background-color:whitesmoke;
}
.pagedjs_page {
background-color: white;
box-shadow: 0 0 0 2px #888;
margin: 0 auto;
margin-top: 10mm;
}
}
/* hacks */
#acknowledgments { padding-top: 0; }
.break-before{ break-before: page; }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment