代码之家  ›  专栏  ›  技术社区  ›  ECII

rmarkdown:bold inside\tablesheet{}

  •  0
  • ECII  · 技术社区  · 4 年前

    我有

    ---
    title: ""
    output: pdf_document
    ---
    
    ```{r setup, include=FALSE}
    knitr::opts_chunk$set(echo = F)
    ```
    
    \begin{tabular}[t]{@{}ll}
    ***Why***  & one\\  
    *does* & two\\
    **this happen** & three \\ 
      \end{tabular}
    

    然而,为什么会出现这种情况,而不是以斜体/粗体显示。

    enter image description here

    我该如何更改?

    1 回复  |  直到 4 年前
        1
  •  0
  •   ECII    4 年前

    这就完成了任务

    ---
    title: ""
    output: pdf_document
    ---
    
    ```{r setup, include=FALSE}
    knitr::opts_chunk$set(echo = F)
    ```
    
    \begin{tabular}[t]{@{}ll}
      \textbf{Why}  & one\\  
      \textbf{does} & two\\
      \textbf{This happen} & three \\ 
        \end{tabular}
    

    enter image description here