diff --git a/doc/typst/chapters/a3_fundamentals-in-bottom-up-proteomics.typ b/doc/typst/chapters/a3_fundamentals-in-bottom-up-proteomics.typ index 59d544675b5c77a643b6be15b2fb18385b3977aa..a8b5f5b3a7f3c27cb5d86f5d9c3ba96f19adbfaf 100644 --- a/doc/typst/chapters/a3_fundamentals-in-bottom-up-proteomics.typ +++ b/doc/typst/chapters/a3_fundamentals-in-bottom-up-proteomics.typ @@ -514,12 +514,8 @@ HHDRRIVD") This format is really simple, because it only contains three information pieces, grouped in as many stanzas as there are proteins in the database: -- The #emph[unique] protein's accession id in the database - (#raw("GRMZM2G009506_P01")) that comes right after the '>' prompt - that signals a new protein stanza; -- The protein description (#raw("NP_001149383 - serine/threonine-protein kinase receptor")) that provides - some functional data bits for the protein at hand; +- The #emph[unique] protein's accession id in the database (#code-raw("GRMZM2G009506_P01")) that comes right after the '>' prompt that signals a new protein stanza; +- The protein description (#code-raw("NP_001149383 serine/threonine-protein kinase receptor")) that provides some functional data bits for the protein at hand; - The protein sequence (the rest of the stanza above). The first (id) and second (description) information bits are used in diff --git a/doc/typst/template.typ b/doc/typst/template.typ index f642faa492ebcaecdaf14c5f0c4fb742563a1272..ba706fca263242a6612faeae13a72f2cb9d7cebb 100644 --- a/doc/typst/template.typ +++ b/doc/typst/template.typ @@ -260,3 +260,8 @@ show raw.line: it => block( box(raw(code, lang: "text")) }) } + +#let code-raw(code) = { + set text(fill: rgb("#5c5c5d")) + raw(code, lang: "text") +}