From bea8eb934b59f3bba03b8b5ea81daee0da34c58e Mon Sep 17 00:00:00 2001 From: Ulices Date: Fri, 15 Mar 2024 14:15:50 -0600 Subject: [PATCH] figlet: 2 more commands and Spanish translation (#12505) * figlet: add 2 more examples Also use brackets around flag letters, example: [f]ont * figlet: add Spanish translation * Update pages/common/figlet.md Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> * Update pages.es/common/figlet.md Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> --------- Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> --- pages.es/common/figlet.md | 18 +++++++++++++++--- pages/common/figlet.md | 12 ++++++++++-- 2 files changed, 25 insertions(+), 5 deletions(-) diff --git a/pages.es/common/figlet.md b/pages.es/common/figlet.md index bbc0ca7d0b..9c946ac03b 100644 --- a/pages.es/common/figlet.md +++ b/pages.es/common/figlet.md @@ -8,14 +8,26 @@ `figlet {{texto_de_entrada}}` -- Usa un archivo de fuente personalizada: +- Usa un archivo de [f]uente personalizada: `figlet {{texto_de_entrada}} -f {{ruta/al/archivo_de_fuente.flf}}` -- Use una fuente del directorio predeterminado (la extensión puede ser omitida): +- Usa una [f]uente del directorio predeterminado (la extensión puede ser omitida): `figlet {{texto_de_entrada}} -f {{archivo_de_fuente}}` -- Redirige la salida de un comando hacia figlet: +- Redirige la salida de un comando hacia FIGlet: `{{comando}} | figlet` + +- Muestra las fuentes de FIGlet disponibles: + +`showfigfonts {{texto_opcional_para_mostrar}}` + +- Utiliza el ancho total del [t]erminal y [c]entra el texto de entrada: + +`figlet -t -c {{texto_de_entrada}}` + +- Muestra todos los caracteres utilizando todo su ancho para evitar traslapes: + +`figlet -W {{input_text}}` diff --git a/pages/common/figlet.md b/pages/common/figlet.md index bb9d3ad38a..306ee79bbb 100644 --- a/pages/common/figlet.md +++ b/pages/common/figlet.md @@ -8,11 +8,11 @@ `figlet {{input_text}}` -- Use a custom font file: +- Use a custom [f]ont file: `figlet {{input_text}} -f {{path/to/font_file.flf}}` -- Use a font from the default font directory (the extension can be omitted): +- Use a [f]ont from the default font directory (the extension can be omitted): `figlet {{input_text}} -f {{font_filename}}` @@ -23,3 +23,11 @@ - Show available FIGlet fonts: `showfigfonts {{optional_string_to_display}}` + +- Use the full width of the [t]erminal and [c]enter the input text: + +`figlet -t -c {{input_text}}` + +- Display all characters at full [W]idth to avoid overlapping: + +`figlet -W {{input_text}}`