58 lines
1.9 KiB
Plaintext
58 lines
1.9 KiB
Plaintext
|
{
|
||
|
// Place your EtiquetteCD workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
|
||
|
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
|
||
|
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
|
||
|
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
|
||
|
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
|
||
|
// Placeholders with the same ids are connected.
|
||
|
// Example:
|
||
|
// "Print to console": {
|
||
|
// "scope": "javascript,typescript",
|
||
|
// "prefix": "log",
|
||
|
// "body": [
|
||
|
// "console.log('$1');",
|
||
|
// "$2"
|
||
|
// ],
|
||
|
// "description": "Log output to console"
|
||
|
// }
|
||
|
|
||
|
"Etiquette CD": {
|
||
|
"scope": "latex",
|
||
|
"prefix": "etiquette",
|
||
|
"body": [
|
||
|
"\\documentclass[12pt,a4paper]{cd-cover}",
|
||
|
"\\usepackage[utf8]{inputenc}",
|
||
|
"\\usepackage[onehalfspacing]{setspace}",
|
||
|
"\\usepackage{multicol}",
|
||
|
"\\usepackage{mathpazo}",
|
||
|
"\\usepackage{graphicx}",
|
||
|
"\\usepackage{xcolor}",
|
||
|
"\\usepackage[abs]{overpic}",
|
||
|
"\\begin{document}",
|
||
|
"\\parindent=10pt",
|
||
|
"\\parskip=15pt",
|
||
|
"\\CDbookletMargin=0pt",
|
||
|
" \\begin{bookletsheets}",
|
||
|
" \\begin{center}",
|
||
|
" \\textsf{ {\\huge $0} \\ {\\large $0} \\ }",
|
||
|
" \\sf \\normalsize{",
|
||
|
" \\begin{multicols}{2}",
|
||
|
" \\begin{enumerate}",
|
||
|
" \\item $0",
|
||
|
" \\end{enumerate}",
|
||
|
" \\end{multicols}",
|
||
|
" }",
|
||
|
" \\begin{figure}",
|
||
|
" \\centering",
|
||
|
" \\vspace{-5mm}",
|
||
|
" \\begin{overpic}[abs,unit=1mm,scale=.10,grid=false,width=12cm]{image/final/etiquette-cd.jpg}",
|
||
|
" \\textrm{\\put(27,32){\\color{black}\\textbf{\\huge $0 \\large $0 }}}",
|
||
|
" \\end{overpic}",
|
||
|
" \\end{figure}",
|
||
|
" \\end{center}",
|
||
|
" \\end{bookletsheets}",
|
||
|
"\\end{document}"
|
||
|
],
|
||
|
"description": "Génération structure code pour la création d'une étiquette pour boitier CD"
|
||
|
}
|
||
|
}
|