I have managed to get a master.rnw include a child.rnw, however, I can maintain the formatting of the child document based on the preamble in the master.


\documentclass[11pt,a4paper, titlepage]{article}
\renewcommand{\familydefault}{\sfdefault}%sets fonts across document
    \raisebox{-\height}{\includegraphics[width=\paperwidth]{/ header.png}}


% !Rnw root = Master.Rnw
              \node[anchor=north west,inner sep=0] (image) at (0,0) 
              \node[align=left,{blue},font={\small\bfseries}] at (image.north) {Why?};

Any idea how I include things such as the following to format the child?


IGNORE ME! solution was simply to add in


for the font in my child.rnw!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.