Skip to content
Extraits de code Groupes Projets
Valider 1771bc1e rédigé par Pierre-Yves Barriat's avatar Pierre-Yves Barriat
Parcourir les fichiers

Upgrade slides & clean for new session

parent 53dae0cf
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -195,3 +195,4 @@ notebooks/*dataxy
notebooks/*gnuxy
src/*dataxy
src/*gnuxy
fortran.html
Ce diff est replié.
assets/back.png

62 ko

assets/garde.png

44,7 ko

const marpKrokiPlugin = require('./kroki-plugin')
module.exports = {
engine: ({ marp }) => marp.use(marpKrokiPlugin)
}
/* @theme tum */
@import 'default';
section {
/*background-color: #fff;
color: #000;
background-image: url('images/TUM_Logo_blau_rgb_s.svg');
background-repeat: no-repeat;
background-position: right 40px top 40px;
background-size: 8%;*/
}
section.lead {
/*background-image: url('images/TUM_Uhrenturm.png');
background-position: right;
background-size: 45%;*/
}
section h1,
section h2 {
color: #1f315c;
}
section a {
color: #5fb2e6;
}
section footer,
section::after {
color: #9cb7d4;
}
section.invert {
background-color: #003359;
color: #fff;
/*background-image: url('images/TUM_Logo_weiss_rgb_s.svg');*/
}
section.lead.invert {
/*background-image: url('images/TUM_Uhrenturm_w.png');*/
}
section.invert h1,
section.invert footer,
section.invert::after {
color: #fff;
}
section.invert a {
color: #e37222;
}
/* Add "Page" prefix and total page number */
section::after {
content: attr(data-marpit-pagination) ' / ' attr(data-marpit-pagination-total);
}
#!/bin/bash
#
# PY Barriat, October 2022
#
# Download and install marp (MarkDown slides extension) from here:
# https://github.com/marp-team/marp-cli/releases
#
marp --allow-local-files --theme ./assets/tum.css slides.md -o slides.pdf
marp --template bespoke --bespoke.progress --allow-local-files --theme ./assets/tum.css slides.md -o fortran.html
Ce diff est replié.
Aucun aperçu pour ce type de fichier
program ChristmasTree
implicit none
integer i, h, hmax, line, ball
character(8) hmax_string
character(1) sball
! get the command line argument
call getarg(1,hmax_string)
! cast string to integer
read(hmax_string,*) hmax
ball=1
do h=1,hmax
line=1
! write spaces to align the head of the tree
write(*,'(a)',advance='no') repeat(' ',hmax-h)
! loop to decide when we have to create a new line
do while(line.le.(2*h-1))
! modulo to decide when we have to put a ball or not
sball='#'
if(mod(ball,6).eq.0) sball='o'
write(*,'(A)',advance='no') sball
! increment ball/line decision variables
ball=ball+1
line=line+1
enddo
! create a new line
write(*,*)
enddo
end program
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter