当前位置:网站首页>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.
边栏推荐
- 详解SQL中Groupings Sets 语句的功能和底层实现逻辑
- 【服务器数据恢复】IBM服务器raid5两块硬盘离线数据恢复案例
- [English] Grammar remodeling: the core framework of English Learning -- English rabbit learning notes (1)
- In English translation of papers, how to do a good translation?
- 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
- My seven years with NLP
- Successfully solved typeerror: data type 'category' not understood
- After working for 10 years, I changed to a programmer. Now I'm 35 + years old and I'm not anxious
- On the first day of clock in, click to open a surprise, and the switch statement is explained in detail
- Practical guidance for interface automation testing (Part I): what preparations should be made for interface automation
猜你喜欢

SAP SD发货流程中托盘的管理

(practice C language every day) reverse linked list II

CS certificate fingerprint modification

【刷题】怎么样才能正确的迎接面试?

19.段页结合的实际内存管理

The internationalization of domestic games is inseparable from professional translation companies

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

In English translation of papers, how to do a good translation?

Phishing & filename inversion & Office remote template

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
随机推荐
SAP SD发货流程中托盘的管理
Bitcoinwin (BCW): the lending platform Celsius conceals losses of 35000 eth or insolvency
[brush questions] how can we correctly meet the interview?
Introduction and underlying analysis of regular expressions
ROS2安装及基础知识介绍
从autojs到冰狐智能辅助的心里历程
26岁从财务转行软件测试,4年沉淀我已经是25k的测开工程师...
Explain in detail the functions and underlying implementation logic of the groups sets statement in SQL
PCL实现选框裁剪点云
Call, apply, bind rewrite, easy to understand with comments
Redis Foundation
Attributeerror successfully resolved: can only use cat accessor with a ‘category‘ dtype
Number of query fields
Simple use of MySQL database: add, delete, modify and query
指尖上的 NFT|在 G2 上评价 Ambire,有机会获得限量版收藏品
Fedora/REHL 安装 semanage
将ue4程序嵌入qt界面显示
C语言_双创建、前插,尾插,遍历,删除
LeetCode每日一题(971. Flip Binary Tree To Match Preorder Traversal)
Fedora/rehl installation semanage