网页资讯视频图片知道文库贴吧地图采购
进入贴吧全吧搜索

 
 
 
日一二三四五六
       
       
       
       
       
       

签到排名:今日本吧第个签到,

本吧因你更精彩,明天继续来努力!

本吧签到人数:0

一键签到
成为超级会员,使用一键签到
一键签到
本月漏签0次!
0
成为超级会员,赠送8张补签卡
如何使用?
点击日历上漏签日期,即可进行补签。
连续签到:天  累计签到:天
0
超级会员单次开通12个月以上,赠送连续签到卡3张
使用连续签到卡
11月15日漏签0天
latex吧 关注:13,813贴子:26,103
  • 看贴

  • 图片

  • 吧主推荐

  • 游戏

  • 首页 上一页 1 2
  • 35回复贴,共2页
  • ,跳到 页  
<<返回latex吧
>0< 加载中...

回复:tikz与tcolorbox的使用案例

  • 只看楼主
  • 收藏

  • 回复
  • chenhqkk
  • 人
    12
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
太好了


  • 向老师讲数学
  • 万
    11
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
我设计的的IMC合集封面,大家可以适当修改设计成其他的封面,其中有两个字体需要下载
\documentclass[tikz]{standalone}
\usetikzlibrary{shadings,3d,positioning,patterns,mindmap,fadings}
\usepackage{ctex,amsmath,fontspec}
\definecolor{tou}{RGB}{94,125,89}
\definecolor{author}{RGB}{225,244,225}
\definecolor{title}{RGB}{255,253,127}
\definecolor{left}{RGB}{148,176,107}
\definecolor{body}{RGB}{144,192,108}
\definecolor{body1}{RGB}{90,182,90}
\definecolor{topbot}{RGB}{60,92,76}
\newcommand{\yp}[1]{{\CJKfontspec{印品赤壁赋体}#1}}
\newcommand{\fz}[1]{{\CJKfontspec{方正黑体简体}#1}}
\setmainfont{Times New Roman}
\everymath{\displaystyle}
\newcommand{\ii}{\,\!\mathrm i\,\!}
\usepackage[hidelinks]{hyperref}
\begin{document}
\begin{tikzpicture}
\node[minimum width=17.7cm,minimum height=25cm,inner sep=0pt,outer sep=0pt,](box){};
\fill[body,top color=body1,bottom color=body](box.north west)--(box.north east)--(box.south east)--(box.south west)--cycle;
\draw[help lines,step=0.8cm,opacity=0.4](-8.85,-12.5)grid(8.85,12.5);
\node[align=center,text=author] at (box.center)
{\zihao{-2}\fz{向禹} \tikz{\draw(0.25,0.25)circle(0.25);\draw(0.25,0.25)circle(0.2);} \fz{译}
};
\fill[tou](-8.85,6.5)[bend left=25]to(8.85,10.8)--(box.north east)--(box.north west)--cycle;
\fill[left color=left,right color=tou](-8.85,6.5)[bend left=24]to(8.85,10.6)
--(8.85,9.6)[bend right=23]to(-8.85,6.5);
\node[text=title,align=center,scale=3]at(0,4){\fz{1994-2018年国际大学生}\\[-0.2cm]\fz{数学竞赛}};
\node[text=orange!20,align=center,scale=1.5]at(0,2){\fz{International Mathematics Competition}\\[-0.2cm]\fz{for University Students (1994-2018)}};
\node[opacity=0.5,draw,rounded corners] at(-2,7.8){$\int_a^bf(x)\,\mathrm dx=F(b)-F(a)$};
\node[opacity=0.5] at(5.4,7.8){\tikz{\draw[-stealth](-0.3,0)--(0,0)node[below left]{$O$}--(3.6,0)node[below=2pt]{$x$};
\draw[-stealth](0,-0.42)--(0,2)node[left]{$y$};
\draw(0,1.3)node[left]{$A$}..controls(1.4,0.6)and(2.2,2.4)..(2.8,1.7)node[right]{$B$}
--(2.8,0)node[below]{$C$};\node at(0.65,1.4){$f(x)$};}};
\node[opacity=0.6] at(-3.5,-3.5)
{
\scalebox{0.5}{\begin{tikzpicture}
\path [
mindmap,
text = white,
level 1 concept/.append style =
{font=\Large\bfseries, sibling angle=90},
level 2 concept/.append style =
{font=\normalsize\bfseries},
level 3 concept/.append style =
{font=\small\bfseries},
tex/.style = {concept, ball color=white,
font=\Huge\bfseries},
分析/.style = {concept, ball color=purple!90!black},
formats/.style = {concept, ball color=blue!50!black},
systems/.style = {concept, ball color=red!90!black},
editors/.style = {concept, ball color=orange!90!black}
]
node [tex,text=blue!80] {\scalebox{1.4}{IMC}} [clockwise from=0]
child[concept color=green!50!black, nodes={分析}] {
node {分析} [clockwise from=90]
child { node {数学分析} }
child { node {实分析} }
child { node {复分析} }
child { node {泛函分析} }
}
child [concept color=red, nodes={systems}] {
node {图论组合}}
child [concept color=blue, nodes={formats}] {
node {代数} [clockwise from=240]
child { node {线性代数} }
child { node {抽象代数} }
child { node {初等数论} }}
child [concept color=orange, nodes={editors}] {
node {概率论} };
\end{tikzpicture}}
};
\node[opacity=0.4]at(5.5,-2){
\begin{tikzpicture}[scale=10]
\begin{scope}
\clip (0,0) arc (-90:0:1/8) arc (90:180:1/8);
\fill[pattern=horizontal lines]
(0,0) arc (-90:0:1/8) --(1/16,1/16) arc (90:0:1/16);
\fill[pattern=vertical lines]
(0,0) arc (180:90:1/8) --(1/16,1/16) arc (0:90:1/16);
\end{scope}\node[below left](0,0){$O$};
\draw [-stealth](-1/8,0)--(0.34,0);\draw [-stealth](0,-1/8)--(0,0.34);
\node[below]at(0.34,0){$x$};\node[left]at(0,0.34){$y$};
\draw (0,0) arc (-90:90:1/8) (0,0) arc (-90:90:1/16)
(0,0) arc (180:0:1/8) (0,0) arc (180:0:1/16) (0,0)--(1/8,1/8);
\fill[fill=body](0.085,0.085)node[inner sep=0pt]{$D$}circle(0.01);
\draw(0,1/8)circle(1/8);\draw(0,1/16)circle(1/16);
\draw(1/8,0)circle(1/8);\draw(1/16,0)circle(1/16);
\node[above left]at(0,1/4){$\tfrac12$};\node[above left]at(0,1/8){$\tfrac14$};
\end{tikzpicture}
};
\node[opacity=0.3] at(3,-6.5){$\left( \sum_{n=1}^{\infty}{a_{n}^{2}} \right) \left( \sum_{n=1}^{\infty}{b_{n}^{2}} \right) \geqslant \left( \sum_{n=1}^{\infty}{a_nb_n} \right) ^2$};
\node[opacity=0.3] at(0,-8){$f(z)=\frac1{2\pi\ii}\oint_C\frac{f(\xi)}{\xi-z}\,\mathrm d\xi$};
\fill[tou](-8.85,-10.5)--(-8.85,-12.5)--(8.85,-12.5)--(8.85,-10.5)--cycle;
\node[anchor=north,align=left,text=author]at(0,-10.7){
\begin{tikzpicture}[color=author]
\draw[very thick,rounded corners](0,0)--(0,1.3)--(1.3,1.3)--(1.3,0)--cycle;
\fill(0.65,1.08)circle(0.12);
\fill(0.15,0.93)--(0.65,0.8)--(1.15,0.93)--(1.15,0.98)--(0.65,0.85)--(0.15,0.98)--cycle;
\foreach \x in{-0.12cm,-0.16cm,-0.2cm}
\fill[yshift=\x](0.15,0.93)--(0.65,0.8)--(1.15,0.93)--(1.15,0.98)--(0.65,0.85)
--(0.15,0.98)--cycle;
\foreach \x in{-0.32cm,-0.36cm,-0.4cm,-0.44cm,-0.48cm,-0.52cm,-0.56cm,-0.6cm,-0.64cm}
\fill[yshift=\x](0.15,0.93)--(0.65,0.8)--(1.15,0.93)--(1.15,0.98)--(0.65,0.85)
--(0.15,0.98)--cycle;
\end{tikzpicture}
\parbox{4cm}{\vspace{-1.2cm}
\scalebox{1.7}{\yp{无名出版社}}\\[-2mm]
\scalebox{0.5}[1]{PUBLISHING HOUSE OF NONAME}\\[-2mm]
\href{yuxtech.github.io}{yuxtech.github.io}
}};
\end{tikzpicture}
\end{document}


2025-11-15 04:38:48
广告
不感兴趣
开通SVIP免广告
  • chenhqkk
  • 人
    12
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
非常感谢!那些数学符号很有用。


  • 向老师讲数学
  • 万
    11
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
解决吧友提出的问题,定义闭曲面积分符号的定义,\oiint命令在amsmath和amssymb包中都没有定义,我们命令行输入texdoc symbols-a4

然后在pdf中搜索\oiint可以发现有很多字体包都定义了\oiint,但是这个字体包加载会重新定义很多其他的符号,所以会导致整个文档数学字体的更改,相对而言我觉得好看一点的符号是mathabx包提供的命令
不过这里的闭曲面积分是椭圆符号,不知道是否符合大家的审美观,好处在于这个包没有重定义其他常用的符号,所以字体不会更改。其实还有更好的包esint

这里定义的符号基本与amsmath包里面一致,当然,如果不想加载包,我帮大家把闭曲面积分符号的定义提取出来


  • Weirs
  • 吧
    4
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
太帅了!请问这每一行都是楼主自己写的吗,有没有模版适合初学者来慢慢修改参数?


  • 向老师讲数学
  • 万
    11
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
画个滑稽
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usepackage[active,tightpage]{preview}
\PreviewEnvironment{tikzpicture}
\begin{document}
\definecolor{cF9DD10}{RGB}{249,221,16}
\definecolor{cEFEFEF}{RGB}{239,239,239}
\definecolor{cFBB03B}{RGB}{251,176,59}
\definecolor{c42210B}{RGB}{66,33,11}
\definecolor{cFB943B}{RGB}{251,148,59}
\definecolor{c1A1A1A}{RGB}{26,26,26}
\begin{tikzpicture}[y=0.80pt,x=0.80pt,yscale=-1, inner sep=0pt, outer sep=0pt]
\path[fill=cF9DD10] (244.7832,528.3646) .. controls (244.7832,691.7943) and
(377.2898,824.3009) .. (540.7194,824.3009) .. controls (704.1490,824.3009) and
(836.6556,691.7943) .. (836.6556,528.3646) .. controls (836.6556,364.9350) and
(704.1490,232.4284) .. (540.7194,232.4284) .. controls (377.2898,232.4284) and
(244.7832,364.9350) .. (244.7832,528.3646) -- cycle(244.7832,528.3646);
\path[fill=cEFEFEF] (837.2336,399.4705) .. controls (783.4073,333.1450) and
(650.4672,339.3585) .. (560.5159,412.3311) .. controls (550.6899,423.6743) and
(551.7737,440.6531) .. (562.8279,450.1901) .. controls (573.8822,459.7271) and
(590.7887,458.2098) .. (600.5424,446.7943) .. controls (665.5675,393.9795) and
(761.9491,389.7890) .. (801.1086,438.0521) .. controls (812.0906,448.3116) and
(829.0694,447.9503) .. (838.9676,437.3296) .. controls (849.0104,426.6366) and
(848.1434,409.7301) .. (837.2336,399.4705) -- cycle(837.2336,399.4705);
\path[fill=cFBB03B] (579.7344,458.3543) .. controls (573.0152,458.3543) and
(566.5849,455.9701) .. (561.5274,451.6351) .. controls (549.6784,441.4478) and
(548.5224,423.2408) .. (559.0709,411.0306) -- (559.2154,410.8861) --
(559.3599,410.7416) .. controls (602.5654,375.7003) and (658.3425,354.1698) ..
(712.3855,351.6410) .. controls (738.3955,350.4128) and (763.3941,353.8085) ..
(784.6356,361.3225) .. controls (807.1776,369.3423) and (825.3846,381.6970) ..
(838.6786,398.0255) .. controls (844.2419,403.2275) and (847.5654,410.4526) ..
(847.9266,418.0388) .. controls (848.3601,425.6251) and (845.6146,432.9946) ..
(840.4849,438.5578) .. controls (835.2829,444.1211) and (828.1301,447.3001) ..
(820.5439,447.3723) .. controls (812.8853,447.5168) and (805.4436,444.6268) ..
(799.8081,439.3526) -- (799.5913,439.1358) .. controls (781.3121,416.6661) and
(748.8718,404.6725) .. (710.6515,406.3343) .. controls (672.2145,407.9960) and
(632.6215,423.2408) .. (601.9152,448.0948) .. controls (596.3519,454.6696) and
(588.2599,458.3543) .. (579.7344,458.3543) -- cycle(561.8887,413.7761) ..
controls (552.9297,424.3246) and (553.8689,439.9306) .. (564.0562,448.6728) ..
controls (574.2434,457.4151) and (589.9217,456.0423) .. (599.0252,445.4938) --
(599.1697,445.3493) -- (599.3142,445.2048) .. controls (630.6707,419.7728) and
(671.1307,404.2390) .. (710.5070,402.5050) .. controls (749.9555,400.7710) and
(783.5518,413.1981) .. (802.6258,436.6793) .. controls (807.4666,441.1588) and
(813.8246,443.6153) .. (820.4716,443.5431) .. controls (826.9741,443.4708) and
(833.1876,440.7253) .. (837.6671,435.9568) .. controls (842.1466,431.1883) and
(844.4586,424.8303) .. (844.0974,418.3278) .. controls (843.7361,411.6808) and
(840.8461,405.3950) .. (835.9331,400.9155) -- (835.7886,400.6988) .. controls
(810.5733,369.5590) and (765.6338,353.1583) .. (712.6745,355.6148) .. controls
(659.3540,358.1435) and (604.4439,379.3128) .. (561.8887,413.7761) --
cycle(561.8887,413.7761);
\path[fill=cEFEFEF] (519.0444,407.4903) .. controls (465.6516,340.8035) and
(332.7115,346.1500) .. (242.3267,418.5446) .. controls (232.4284,429.8878) and
(233.3677,446.7943) .. (244.3497,456.4036) .. controls (255.3317,466.0128) and
(272.2382,464.5678) .. (282.1365,453.2968) .. controls (347.5228,400.9155) and
(443.9043,397.3030) .. (482.7749,445.8551) .. controls (493.6846,456.1868) and
(510.6634,455.9701) .. (520.6339,445.3493) .. controls (530.6766,434.7286) and
(529.9541,417.7498) .. (519.0444,407.4903) -- cycle(519.0444,407.4903);
\path[fill=cFBB03B] (261.4007,464.7123) .. controls (246.5172,464.7123) and
(234.2347,453.0801) .. (233.5122,438.1966) .. controls (233.0787,430.5381) and
(235.7519,423.0241) .. (240.8094,417.2441) -- (240.9539,417.0996) --
(241.0984,416.9551) .. controls (284.5207,382.2028) and (340.4423,361.0335) ..
(394.4853,358.8660) .. controls (420.4953,357.8545) and (445.4216,361.3225) ..
(466.6631,369.0533) .. controls (489.1329,377.2175) and (507.2676,389.6445) ..
(520.4894,406.1175) .. controls (532.0494,417.1718) and (532.7719,435.3066) ..
(522.0789,446.6498) .. controls (516.7324,452.2131) and (509.3629,455.3921) ..
(501.7044,455.3198) .. controls (494.1904,455.3198) and (486.8931,452.4298) ..
(481.4021,447.2278) -- (481.1854,447.0111) .. controls (463.0506,424.3968) and
(430.7548,412.1866) .. (392.4623,413.6316) .. controls (354.0253,415.0766) and
(314.2877,430.0323) .. (283.5092,454.6696) .. controls (278.5240,460.3773) and
(271.4434,463.9898) .. (263.8572,464.5678) .. controls (262.9902,464.7123) and
(262.1954,464.7123) .. (261.4007,464.7123) -- cycle(243.6994,419.9896) ..
controls (239.3644,424.9748) and (237.1247,431.4051) .. (237.4859,437.9798) ..
controls (237.7749,444.4823) and (240.7372,450.6236) .. (245.6502,454.8863) ..
controls (250.5632,459.1491) and (256.9934,461.2443) .. (263.4959,460.6663) ..
controls (270.1429,460.0883) and (276.2842,456.9816) .. (280.6192,451.9241) --
(280.7637,451.7796) -- (280.9082,451.6351) .. controls (312.4092,426.4198) and
(353.0138,411.1028) .. (392.3178,409.6578) .. controls (431.8386,408.2128) and
(465.2903,420.8566) .. (484.2199,444.4101) .. controls (488.9161,448.8896) and
(495.2019,451.3461) .. (501.7044,451.3461) .. controls (508.3514,451.4183) and
(514.6371,448.6728) .. (519.2611,443.9043) .. controls (528.5091,434.1506) and
(527.8589,418.4001) .. (517.7439,408.8630) -- (517.5271,408.6463) .. controls
(492.4564,377.3620) and (447.6613,360.6723) .. (394.6298,362.7675) .. controls
(341.4537,364.9350) and (286.4715,385.7430) .. (243.6994,419.9896) --
cycle(243.6994,419.9896);
\path[fill=c42210B] (262.2677,413.8483) .. controls (262.2677,424.0356) and
(267.6864,433.4281) .. (276.5010,438.5578) .. controls (285.3155,443.6153) and
(296.1530,443.6153) .. (304.9675,438.5578) .. controls (313.7820,433.5003) and
(319.2007,424.0356) .. (319.2007,413.8483) .. controls (319.2007,403.6610) and
(313.7820,394.2685) .. (304.9675,389.1388) .. controls (296.1530,384.0813) and
(285.3155,384.0813) .. (276.5010,389.1388) .. controls (267.6864,394.2685) and
(262.2677,403.6610) .. (262.2677,413.8483) --
cycle(262.2677,413.8483)(575.1104,410.4526) .. controls (575.1104,420.6398)
and (580.5292,430.0323) .. (589.3437,435.1621) .. controls (598.1582,440.2196)
and (608.9957,440.2196) .. (617.8102,435.1621) .. controls (626.6247,430.1046)
and (632.0435,420.6398) .. (632.0435,410.4526) .. controls (632.0435,400.2653)
and (626.6247,390.8728) .. (617.8102,385.7430) .. controls (608.9957,380.6855)
and (598.1582,380.6855) .. (589.3437,385.7430) .. controls (580.5292,390.8728)
and (575.1104,400.3375) .. (575.1104,410.4526) -- cycle(575.1104,410.4526);
\path[fill=cFB943B] (290.8065,480.8964) .. controls (290.8065,494.4071) and
(318.9117,505.3891) .. (353.5918,505.3891) .. controls (388.2718,505.3891) and
(416.3771,494.4071) .. (416.3771,480.8964) .. controls (416.3771,467.3856) and
(388.2718,456.4036) .. (353.5918,456.4036) .. controls (318.9117,456.4036) and
(290.8065,467.3856) .. (290.8065,480.8964) --
cycle(290.8065,480.8964)(667.3015,480.8964) .. controls (667.3015,489.6386)
and (679.2950,497.7306) .. (698.6580,502.1379) .. controls (718.0933,506.5451)
and (742.0080,506.5451) .. (761.4433,502.1379) .. controls (780.8786,497.7306)
and (792.7998,489.7109) .. (792.7998,480.8964) .. controls (792.7998,472.1541)
and (780.8063,464.0621) .. (761.4433,459.6548) .. controls (742.0803,455.2476)
and (718.0933,455.2476) .. (698.6580,459.6548) .. controls (679.2227,464.0621)
and (667.3015,472.1541) .. (667.3015,480.8964) -- cycle(667.3015,480.8964);
\path[fill=c42210B] (772.5698,566.2237) .. controls (750.3890,665.7120) and
(654.6577,740.4908) .. (539.8524,740.4908) .. controls (428.7318,740.4908) and
(335.3847,670.3360) .. (309.4470,575.6162) -- (309.0135,575.6884) .. controls
(320.8625,681.6070) and (419.7006,764.3333) .. (539.8524,764.3333) .. controls
(663.6167,764.3333) and (764.6946,676.6217) .. (771.5583,566.1514);
\path[fill=c1A1A1A] (438.1243,333.2895) .. controls (422.0848,315.9495) and
(401.4935,305.5455) .. (379.0960,305.5455) .. controls (356.3373,305.5455) and
(335.4570,316.3107) .. (319.2730,334.1565) .. controls (329.3157,300.6325) and
(352.2913,277.1512) .. (379.0960,277.1512) .. controls (405.9008,277.1512) and
(428.8763,300.6325) .. (438.9191,334.1565)(762.4548,333.2895) .. controls
(746.0540,315.9495) and (725.1015,305.5455) .. (702.1983,305.5455) .. controls
(678.9337,305.5455) and (657.6200,316.3107) .. (641.1470,334.1565) .. controls
(651.4065,300.6325) and (674.8877,277.1512) .. (702.1983,277.1512) .. controls
(729.5088,277.1512) and (753.0623,300.6325) .. (763.2496,334.1565);
\end{tikzpicture}
\end{document}


  • qqlcy64
  • 这
    1
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
请老师做一下
1.“角”的符号就是“∠”;
2.“三角形‘’符号就是“△”;
3.“交集”符号,就是“∩”;
4.并集符号就是“∪”
5“.补集”符号就是“C”


  • qqlcy64
  • 这
    1
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
LaTeX自带的这些符号编译后很不好看,特别是角的符号,加载宏包txfonts后,“角”变得更小了。


2025-11-15 04:32:48
广告
不感兴趣
开通SVIP免广告
  • qqlcy64
  • 这
    1
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
加载宏包txfonts数学字体比较好看,我们国家的数学书籍都是这样的字体,就是这个宏包的数学符号不好看,除了上面的那几个外,还有积分号也很难看。


  • qqlcy64
  • 这
    1
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
但这个宏包的数学字体比较好,其他的宏包数学字体不好看


  • qqlcy64
  • 这
    1
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
好,谢谢指点


登录百度账号

扫二维码下载贴吧客户端

下载贴吧APP
看高清直播、视频!
  • 贴吧页面意见反馈
  • 违规贴吧举报反馈通道
  • 贴吧违规信息处理公示
  • 首页 上一页 1 2
  • 35回复贴,共2页
  • ,跳到 页  
<<返回latex吧
分享到:
©2025 Baidu贴吧协议|隐私政策|吧主制度|意见反馈|网络谣言警示