# NOT RUN {
lazy.write(
lazy.file.start(),
lazy.section("Section A", ordered=TRUE),
lazy.text("Notice that Section A is numbered"),
lazy.section("Subsection", type="sub", ordered=FALSE),
lazy.text("But the subsection is not numbered"),
lazy.file.end(),
OutFile="Example-1.tex")
unlink("Example-1.tex")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab