Update index.html
Browse files- index.html +41 -4
index.html
CHANGED
@@ -85,9 +85,36 @@
|
|
85 |
width: 100%;
|
86 |
}
|
87 |
|
88 |
-
|
89 |
-
|
90 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
}
|
92 |
</style>
|
93 |
</head>
|
@@ -185,7 +212,7 @@
|
|
185 |
|
186 |
<div class="container">
|
187 |
<h1 id="bibtex">Bibtex</h1>
|
188 |
-
<pre><code>
|
189 |
@article{tal2025autoregressivevsflowmatchingcomparative,
|
190 |
title={Auto-Regressive vs Flow-Matching: a Comparative Study of Modeling Paradigms for Text-to-Music Generation},
|
191 |
author={Or Tal and Felix Kreuk and Yossi Adi},
|
@@ -198,6 +225,16 @@
|
|
198 |
</code>
|
199 |
<button class="copy-btn" onclick="copyBibtex()">⧉</button>
|
200 |
</pre>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
201 |
</div>
|
202 |
|
203 |
<!-- Section 1 -->
|
|
|
85 |
width: 100%;
|
86 |
}
|
87 |
|
88 |
+
}
|
89 |
+
pre {
|
90 |
+
background: #f4f4f4;
|
91 |
+
padding: 10px;
|
92 |
+
overflow-x: auto;
|
93 |
+
border-radius: 5px;
|
94 |
+
position: relative;
|
95 |
+
}
|
96 |
+
button.copy-btn {
|
97 |
+
position: absolute;
|
98 |
+
right: 10px;
|
99 |
+
top: 10px;
|
100 |
+
background: none;
|
101 |
+
border: none;
|
102 |
+
font-size: 1.2em;
|
103 |
+
cursor: pointer;
|
104 |
+
color: #333;
|
105 |
+
}
|
106 |
+
button.copy-btn:hover {
|
107 |
+
color: #000;
|
108 |
+
}
|
109 |
+
a {
|
110 |
+
color: #0066cc;
|
111 |
+
text-decoration: none;
|
112 |
+
}
|
113 |
+
a:hover {
|
114 |
+
text-decoration: underline;
|
115 |
+
}
|
116 |
+
html {
|
117 |
+
scroll-behavior: smooth;
|
118 |
}
|
119 |
</style>
|
120 |
</head>
|
|
|
212 |
|
213 |
<div class="container">
|
214 |
<h1 id="bibtex">Bibtex</h1>
|
215 |
+
<pre id="bibtex-block"><code>
|
216 |
@article{tal2025autoregressivevsflowmatchingcomparative,
|
217 |
title={Auto-Regressive vs Flow-Matching: a Comparative Study of Modeling Paradigms for Text-to-Music Generation},
|
218 |
author={Or Tal and Felix Kreuk and Yossi Adi},
|
|
|
225 |
</code>
|
226 |
<button class="copy-btn" onclick="copyBibtex()">⧉</button>
|
227 |
</pre>
|
228 |
+
<script>
|
229 |
+
function copyBibtex() {
|
230 |
+
const text = document.getElementById('bibtex-block').innerText;
|
231 |
+
navigator.clipboard.writeText(text).then(() => {
|
232 |
+
alert("BibTeX copied to clipboard!");
|
233 |
+
}).catch(err => {
|
234 |
+
alert("Failed to copy: " + err);
|
235 |
+
});
|
236 |
+
}
|
237 |
+
</script>
|
238 |
</div>
|
239 |
|
240 |
<!-- Section 1 -->
|