当前位置:网站首页>Three methods of adding color to latex text
Three methods of adding color to latex text
2022-07-06 06:52:00 【Computer vision Archer】
1 Combine red、green and blue The value of synthesizes the color we want
\usepackage{color}
\textcolor[rgb]{r,g,b}{text}
among {r,g,b} representative red、green and blue A combination of three colors , The value range is [0-1]
\textcolor[rgb]{0.5,0.6,0.7}{AIAS Programming has a way }、
\textcolor[rgb]{0.5,0.8,0.7}{AIAS Programming has a way }、
\textcolor[rgb]{0.1,0.8,0.9}{AIAS Programming has a way }
2 Combine red、green and blue The value of synthesizes the color we want
\textcolor[RGB]{R,G,B}{text}
among {R,G,B} representative red、green and blue A combination of three colors , The value range is [0-255]
\textcolor[RGB]{18,220,168}{AIAS Programming has a way }、
\textcolor[RGB]{202,12,22}{AIAS Programming has a way }、
\textcolor[RGB]{1,8,9}{AIAS Programming has a way }
3. Use defined colors directly
\usepackage{color}
\textcolor{red/blue/green/black/white/cyan/magenta/yellow}{text}
among textcolor{...} Contains the system defined colors
demonstration
\textcolor{red}{AIAS Programming has a way }、
\textcolor{blue}{AIAS Programming has a way }、
\textcolor{yellow}{AIAS Programming has a way }、
————————————————
Copyright notice : This paper is about CSDN Blogger 「 Coreopsis 」 The original article of , follow CC 4.0 BY-SA Copyright agreement , For reprint, please attach the original source link and this statement .
Link to the original text :https://blog.csdn.net/meiqi0538/article/details/105978246
4 Customize a color , Call directly
Custom method 1:
\definecolor{ColorName}{rgb}{r,g,b}
At this time r/g/b The domain of definition is [0-1], Reference method 2.
\definecolor{ColorName}{RGB}{R,G,B}
At this time R/G/B The domain of definition is [0-255], Reference method 2.
Here is the name defined for the color ColorName, Now you can call this color scheme directly .
Call mode :\textcolor{ColorName}{text}. Refer to the method for operation mode 2.
边栏推荐
- 万丈高楼平地起,每个API皆根基
- 攻防世界 MISC中reverseMe简述
- 顶测分享:想转行,这些问题一定要考虑清楚!
- What are the characteristics of trademark translation and how to translate it?
- 【每日一题】729. 我的日程安排表 I
- 查询字段个数
- Py06 dictionary mapping dictionary nested key does not exist test key sorting
- Introduction and underlying analysis of regular expressions
- 自动化测试环境配置
- 医疗软件检测机构怎么找,一航软件测评是专家
猜你喜欢

Office-DOC加载宏-上线CS

攻防世界 MISC中reverseMe简述

Every API has its foundation when a building rises from the ground

因高额网络费用,Arbitrum 奥德赛活动暂停,Nitro 发行迫在眉睫

(practice C language every day) reverse linked list II
![[English] Grammar remodeling: the core framework of English Learning -- English rabbit learning notes (1)](/img/02/41dcdcc6e8f12d76b9c1ef838af97d.png)
[English] Grammar remodeling: the core framework of English Learning -- English rabbit learning notes (1)

Traffic encryption of red blue confrontation (OpenSSL encrypted transmission, MSF traffic encryption, CS modifying profile for traffic encryption)
![[ 英語 ] 語法重塑 之 動詞分類 —— 英語兔學習筆記(2)](/img/3c/c25e7cbef9be1860842e8981f72352.png)
[ 英語 ] 語法重塑 之 動詞分類 —— 英語兔學習筆記(2)

女生学软件测试难不难 入门门槛低,学起来还是比较简单的

How much is the price for the seal of the certificate
随机推荐
因高额网络费用,Arbitrum 奥德赛活动暂停,Nitro 发行迫在眉睫
成功解决AttributeError: Can only use .cat accessor with a ‘category‘ dtype
【软件测试进阶第1步】自动化测试基础知识
MySQL high frequency interview 20 questions, necessary (important)
UniPro甘特图“初体验”:关注细节背后的多场景探索
My seven years with NLP
成功解决TypeError: data type ‘category‘ not understood
Huawei equipment configuration ospf-bgp linkage
A method to measure the similarity of time series: from Euclidean distance to DTW and its variants
成功解决TypeError: data type ‘category‘ not understood
My creation anniversary
Bitcoinwin (BCW): the lending platform Celsius conceals losses of 35000 eth or insolvency
LeetCode - 152 乘积最大子数组
[ 英语 ] 语法重塑 之 动词分类 —— 英语兔学习笔记(2)
What are the characteristics of trademark translation and how to translate it?
Apache dolphin scheduler source code analysis (super detailed)
How to convert flv file to MP4 file? A simple solution
Map of mL: Based on the adult census income two classification prediction data set (whether the predicted annual income exceeds 50K), use the map value to realize the interpretable case of xgboost mod
Do you really know the use of idea?
前缀和数组系列