title: How to make extra line of text using text.addline1 bold using the meta package in R?
body: <p>I am creating forest plots using the meta package in R. I have added a line of text using text.addline1 (see bottom of plot). How do I make that text bold? It says see &quot;gpar&quot; in the cran documentation but I can't work it out.</p>
  <pre><code>
  library(meta)
  
  ## make data
  
  df1 &lt;- data.frame(matrix(, nrow=14, ncol=6))
  colnames(df1) &lt;- c(&quot;estimate&quot;,  &quot;std.error&quot;, &quot;N&quot;, &quot;study&quot;, &quot;Exposure&quot;, &quot;or&quot; )
  df1$estimate &lt;- c(&quot;1.0588634&quot;, &quot;1.0210044&quot;, &quot;1.0484577&quot;, &quot;0.9872621&quot;, &quot;1.0122652&quot;,
                    &quot;0.9934573&quot;, &quot;0.9429622&quot;, &quot;1.0320382&quot;, &quot;0.9654555&quot;, &quot;1.0499671&quot;, &quot;1.0400071&quot;,
                    &quot;1.0208341&quot;, &quot;0.9954885&quot;, &quot;0.9879208&quot;)
  df1$std.error &lt;- c(0.054092871, 0.037674050, 0.093067276, 0.054198110, 0.008714173, 0.010266589,
                     0.056993648, 0.058017078, 0.058050610, 0.089878607, 0.056951120, 0.011041428,
                     0.013533755, 0.090526260)
  df1$N &lt;- 500
  df1$study &lt;- &quot;Study&quot;
  df1$Exposure &lt;- &quot;Smoker&quot;
  df1$Exposure[7:14] &lt;- &quot;Non smoker&quot;
  df1$or &lt;- c(0.057196058,  0.020786829,  0.047320225, -0.012819723,  0.012190549, -0.006564245,
              -0.058729114,  0.031535708, -0.035155279, 0.048758876,  0.039227559, 0.020620087,
              -0.004521733, -0.012152786)
  
  meta_obj &lt;- metagen(or, std.error, sm = &quot;OR&quot;, data = df1,
                         studlab = study, comb.fixed = TRUE, comb.random = FALSE, byvar = Exposure)
  
  
  # FOREST ------------------------------------------------------------------
  
  forest(meta_obj, smlab = &quot;Text here&quot;, spacing = 1.5,
         xlab = &quot;Odds ratio&quot;,
         xlim = c(0.5, 2),
         leftcols = c(&quot;studlab&quot;, &quot;N&quot;),
         col.diamond = &quot;red&quot;, col.by = &quot;black&quot;,
         overall.hetstat = FALSE,
         print.I2 = TRUE, print.tau2 = FALSE, 
         subgroup = T, overall = F,
         text.addline1 = &quot;HOW DO I MAKE THIS BOLD?&quot;,
         ref = 1)
  
  </code></pre>
  <p><a href="https://i.stack.imgur.com/w18wA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/w18wA.png" alt="forest" /></a></p>