code: def create(self, child):
          
  
          prev_data = self.data
          self.data = child.data  # This way append works appends to the child
  
          yield child  # allows with ... as to be used as well
  
          self.data = prev_data
          self.append(child)
docs: Add a LaTeX object to current container, context-manager style.
  
          Args
          ----
          child: `~.Container`
              An object to be added to the current container