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
<?php | |
add_action( 'cmb2_init', 'cmb2_add_metabox_didattica' ); | |
function cmb2_add_metabox_didattica() { | |
$prefix = '_eduinaf_'; | |
$curriculum_scolastico = $cmb->add_field( array( | |
'name' => __( 'Curriculum scolastico', 'eduinaf' ), | |
'id' => $prefix . 'curriculum_scolastico', | |
'type' => 'group', |
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
<?php | |
add_shortcode('eduinaf-loop', 'eduinaf_loop'); | |
function eduinaf_loop( $attr = array() ) { | |
$post = get_post(); | |
$curriculum = get_post_meta( $post->ID, '_eduinaf_curriculum_scolastico', true ); | |
$output = ''; | |
if ( empty( $curriculum ) ) { |
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
% Under Creative Commons Attribution licence 3.0 | |
% (http://creativecommons.org/licences/by/3.0) | |
% Author: Florian Lesaint | |
% http://www.texample.net/tikz/examples/cuboid/ | |
\documentclass{standalone} | |
\usepackage{tikz} | |
\usetikzlibrary{calc} | |
\usepackage{xcolor} | |
\definecolor{space}{HTML}{0A2543} |
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
% Under Creative Commons Attribution licence 3.0 | |
% (http://creativecommons.org/licences/by/3.0) | |
% Author: Florian Lesaint | |
% http://www.texample.net/tikz/examples/cuboid/ | |
\documentclass{standalone} | |
\usepackage{tikz} | |
\usetikzlibrary{calc} | |
\usepackage{tkz-euclide} | |
\usepackage{xcolor} |
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
\documentclass{standalone} | |
\usepackage{tikz} | |
\usepackage{xcolor} | |
\definecolor{space}{HTML}{0A2543} | |
\definecolor{earth}{HTML}{0089FA} | |
% | |
\title{Sun position} | |
\begin{document} | |
\begin{tikzpicture} | |
\begin{scope}[scale=4] |
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
\documentclass{standalone} | |
% | |
\usepackage{tikz} | |
\usetikzlibrary{backgrounds} | |
% | |
\usetikzlibrary{bending,arrows.meta} | |
\usepackage{tkz-euclide} | |
\usetkzobj{all} | |
\usepackage{xcolor} | |
% |
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
\draw [fill=moon] (24,1) circle (1.5cm); | |
\draw [color=white] (24,1) circle (2cm); | |
\foreach \i in {0,1,...,5} | |
\draw [color=craterm, line width=0.1 cm,rotate around={60*\i:(24,1)}] (24,2.7) -- (24,3.3); | |
\draw [fill=craterm] (23.9,-1.5) -- (23.8,-4.5) -- (24.2,-4.5) -- (24.1,-1.5) -- (23.9,-1.5); | |
\draw [color=moon, line width=0.2 cm] (24,1) circle (2.5cm); | |
\draw [fill=craterm] (21.2,-4.4) -- (26.8,-4.4) -- (26.9,-4.5) -- (21.1,-4.5) -- (21.2,-4.4); | |
\foreach \i in {0,1,...,11} | |
\draw [fill=black,rotate around={30*\i:(24,1)}] (24,2) circle (0.05cm); | |
\foreach \i in {0,1,...,5} |