1 2 3 4 5 6 7 8 9 10 11 12 13
//! Macros used for tex templating. /// Box and type erase a number of tex elements. #[macro_export] macro_rules! elems { ($($elem:expr),*) => { { let mut collected = Vec::new(); $( collected.push($crate::tpl::IntoTexElement::into_tex_element($elem)) ;)* collected } }; }