美文网首页
Typora字体设置颜色的解决方案

Typora字体设置颜色的解决方案

作者: 小边_leo | 来源:发表于2020-09-21 10:21 被阅读0次

    1.开启使用内联公式

    文件——偏好设置(Ctrl+逗号)——Markdown——勾选“内联公式”——重启Typora

    image

    2.输入公式代码设置颜色

    输入,按Esc键会自动在后面加上一个,然后在这两个$之间输入公式。

    如:

    image

    直接在typora里输入:

    $\textcolor{Magenta}{洋红色} $:设置颜色为$\textcolor{RedOrange}{橙红色} $,设置字体颜色为$\textcolor{Blue}{蓝色} $。数学公式里各元素也能分别设置颜色:$ \textcolor{red}{\int_a^b}\textcolor{blue}{f(x)}\textcolor{green}{dx}\textcolor{brown}{=c}$
    

    文本颜色设置公式:

    \textcolor{red}{这里输入你要改变颜色的文字}

    颜色公式代码大全:

    $\textcolor{GreenYellow}{GreenYellow} $$\textcolor{Yellow}{Yellow}$$\textcolor{Goldenrod}{Goldenrod} $$\textcolor{Dandelion}{Dandelion}$$\textcolor{Apricot}{Apricot} $$\textcolor{Peach}{Peach}$$\textcolor{Melon}{Melon} $$\textcolor{YellowOrange}{YellowOrange}$$\textcolor{Orange}{Orange} $$\textcolor{BurntOrange}{BurntOrange}$$\textcolor{Bittersweet}{Bittersweet}$$\textcolor{RedOrange}{RedOrange} $$\textcolor{Mahogany}{Mahogany}$$\textcolor{Maroon}{Maroon} $$\textcolor{BrickRed}{BrickRed}$$\textcolor{Red}{Red} $$\textcolor{OrangeRed}{OrangeRed}$$\textcolor{RubineRed}{RubineRed}$$\textcolor{WildStrawberry}{WildStrawberry}$$\textcolor{Salmon}{Salmon}$$\textcolor{CarnationPink}{CarnationPink}$$\textcolor{Magenta}{Magenta} $$\textcolor{VioletRed}{VioletRed}$$\textcolor{Rhodamine}{Rhodamine} $$\textcolor{Mulberry}{Mulberry}$$\textcolor{RedViolet}{RedViolet} $$\textcolor{Fuchsia}{Fuchsia}$$\textcolor{Lavender}{Lavender} $$\textcolor{Thistle}{Thistle}$$\textcolor{Orchid}{Orchid} $$\textcolor{DarkOrchid}{DarkOrchid}$$\textcolor{Purple}{Purple} $$\textcolor{Plum}{Plum}$$\textcolor{Violet}{Violet} $$\textcolor{RoyalPurple}{RoyalPurple}$$\textcolor{BlueViolet}{BlueViolet}$$\textcolor{Periwinkle}{Periwinkle}$$\textcolor{CadetBlue}{CadetBlue}$$\textcolor{CornflowerBlue}{CornflowerBlue}$$\textcolor{MidnightBlue}{MidnightBlue}$$\textcolor{NavyBlue}{NavyBlue} $$\textcolor{RoyalBlue}{RoyalBlue}$$\textcolor{Blue}{Blue} $$\textcolor{Cerulean}{Cerulean}$$\textcolor{Cyan}{Cyan} $$\textcolor{ProcessBlue}{ProcessBlue}$$\textcolor{SkyBlue}{SkyBlue} $$\textcolor{Turquoise}{Turquoise}$$\textcolor{TealBlue}{TealBlue} $$\textcolor{Aquamarine}{Aquamarine}$$\textcolor{BlueGreen}{BlueGreen} $$\textcolor{Emerald}{Emerald}$$\textcolor{JungleGreen}{JungleGreen}$$\textcolor{SeaGreen}{SeaGreen} $$\textcolor{Green}{Green}$$\textcolor{ForestGreen}{ForestGreen}$$\textcolor{PineGreen}{PineGreen} $$\textcolor{LimeGreen}{LimeGreen}$$\textcolor{YellowGreen}{YellowGreen}$$\textcolor{SpringGreen}{SpringGreen}$$\textcolor{OliveGreen}{OliveGreen}$$\textcolor{RawSienna}{RawSienna} $$\textcolor{Sepia}{Sepia}$$\textcolor{Brown}{Brown} $$\textcolor{Tan}{Tan}$$\textcolor{Gray}{Gray} $$\textcolor{Black}{Black}$
    

    相关文章

      网友评论

          本文标题:Typora字体设置颜色的解决方案

          本文链接:https://www.haomeiwen.com/subject/xbtvyktx.html