当前位置:网站首页>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.
边栏推荐
- BUU的MISC(不定时更新)
- Thesis abstract translation, multilingual pure human translation
- 成功解决TypeError: data type ‘category‘ not understood
- 同事上了个厕所,我帮产品妹子轻松完成BI数据产品顺便得到奶茶奖励
- Brief introduction to the curriculum differences of colleges and universities at different levels of machine human major -ros1/ros2-
- [hot100] 739. Température quotidienne
- 19.段页结合的实际内存管理
- 从autojs到冰狐智能辅助的心里历程
- Leetcode daily question (1997. first day where you have been in all the rooms)
- librosa音频处理教程
猜你喜欢

【每日一题】729. 我的日程安排表 I

Do you really know the use of idea?

Fedora/rehl installation semanage

In English translation of papers, how to do a good translation?
![[English] Verb Classification of grammatical reconstruction -- English rabbit learning notes (2)](/img/3c/c25e7cbef9be1860842e8981f72352.png)
[English] Verb Classification of grammatical reconstruction -- English rabbit learning notes (2)

The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower

Lesson 7 tensorflow realizes convolutional neural network
![[unity] how to export FBX in untiy](/img/03/b7937a1ac1a677f52616186fb85ab3.jpg)
[unity] how to export FBX in untiy

18.多级页表与快表

The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
随机推荐
Day 245/300 JS foreach data cannot be updated to the object after multi-layer nesting
Day 248/300 thoughts on how graduates find jobs
基于购买行为数据对超市顾客进行市场细分(RFM模型)
Fedora/rehl installation semanage
What is the difference between int (1) and int (10)? Senior developers can't tell!
Fedora/REHL 安装 semanage
[daily question] 729 My schedule I
My seven years with NLP
Is it difficult for girls to learn software testing? The threshold for entry is low, and learning is relatively simple
女生学软件测试难不难 入门门槛低,学起来还是比较简单的
How to reconstruct the class explosion caused by m*n strategies?
SSO流程分析
Apache dolphin scheduler source code analysis (super detailed)
Redis Foundation
Apache DolphinScheduler源码分析(超详细)
What are the commonly used English words and sentences about COVID-19?
Day 248/300 关于毕业生如何找工作的思考
LeetCode - 152 乘积最大子数组
成功解决AttributeError: Can only use .cat accessor with a ‘category‘ dtype
MySQL high frequency interview 20 questions, necessary (important)