Skip to content

How to leave blank space for homework solutions? #5823

Answered by baptiste
d-morrison asked this question in Q&A
Discussion options

You must be logged in to vote

Kind of a weird LaTeX hack, but tcolorbox has an "invisible" setting to not display the content, so you could have

---
title: "Homework 2"
format: 
   pdf:
     pdf-engine: xelatex
     latex-tinytex: false
     keep-tex: true
     keep-md: true
     include-in-header: 
       text: |
          \usepackage[most]{tcolorbox}
          
          \NewTColorBox[]{exercise}{+O{}}{%
                  enhanced, breakable,colframe=white,colback=white,
                  boxrule=0pt,frame hidden,upperbox=invisible,
                  #1}
---

## Standard errors

Write down the definition of the standard error of an estimator $\hat \theta$, using mathematical notation.
    
::: {.content-visible when…

Replies: 6 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@d-morrison
Comment options

Comment options

You must be logged in to vote
2 replies
@d-morrison
Comment options

@cscheid
Comment options

Comment options

You must be logged in to vote
1 reply
@d-morrison
Comment options

Answer selected by d-morrison
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
latex LaTeX engines related libraries and technologies
6 participants