Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

165
Visualizações
how to add greek letters to nomnoml diagram in R

I am using the nomnoml package to create diagrams in combination with rmarkdown. How can I add greek letters to my arrows?

I have naively tried the following

---
title: "Nomnoml Diagram"
output: html_document
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE)
library(nomnoml)
```

```{nomnoml, svg=TRUE}
[a]-> \alpha [b]
[c]-> \u03be [d]
```

Both do not work.

about 4 years ago · Juan Pablo Isaza
2 Respostas
Responde à pergunta

0

It works if you just paste α into RStudio, like this:

```{nomnoml, svg=TRUE}
[a]->α[b]
```

If you don't find α on your keyboard you can write "\u03B1" in the console and copy the output.

Full working document:

---
title: "Untitled"
output: html_document
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
library(nomnoml)
```

```{nomnoml, svg=TRUE}
[a]->α[b]
```
about 4 years ago · Juan Pablo Isaza Relatório

0

I think if you want to use Unicode escapes in the source, you will have to use an R code chunk instead of a nomnoml code chunk. For example,

---
title: "Untitled"
output: html_document
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
library(nomnoml)
```

```{r echo=FALSE}
nomnoml("[a]->\u03B1[b]", svg = TRUE)
```
about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda