问题标签 [tikz]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
4427 浏览

latex - How to only round selected corners in a fancytitle box with Tikz

If you take a look at http://www.texample.net/tikz/examples/boxes-with-text-and-math/ the boxes there are with rounded corners. In the examples, both the box itself and the title is a box. I want the title box to not have the bottom corners rounded.

On page 120 in the manual, there is a description of how to draw with and without rounded corners. However, I want to use this in a fancytitle. It looks a bit silly to have the fancytitle as a box where all corners are rounded when it is as wide as the box itself.

The style I use is this

0 投票
1 回答
5847 浏览

r - 如何在 Tikz 简单流程图中包含 .eps 图?

我想用 TikZ 包在 Latex 中创建一个简单的流程图,类似于以下示例

http://www.texample.net/tikz/examples/simple-flow-chart/

但是我想在流程图中包含数字(在 R 中创建的时间序列图,作为 eps 或其他东西)(例如在 {block} 中?

谢谢,扬

0 投票
3 回答
7162 浏览

latex - Gnuplot 4.4 和 TikZ 的问题

我正在使用 Gnuplot 4.4,在 Lua 支持下编译。据说它有 tikz 终端。

我已经使用“set terminal tikz”成功地将我的 gnuplots 编译为 tex。但是,当将此源添加到我的乳胶文档时,我不断收到以下错误:

!包 pgfkeys 错误:我不知道密钥“/tikz/gnuplot”,我将忽略它。也许你拼错了。

我已将 tikz 包包含在原始 tex 文档中。有任何想法吗?

编辑:解决。请参阅下面的答案。

0 投票
1 回答
2327 浏览

latex - TikZ 编码:如何在多边形及其周围的节点之间创建空间?

我正在使用 TikX 和 LaTeX 来绘制技术图。我正在尝试围绕树中的一组命名节点绘制一个不规则多边形。我已经做到了

但是多边形离节点太近了。如何放大多边形或指定更好的坐标以获得多边形与其周围节点之间存在一定间隔的图表?

0 投票
4 回答
14492 浏览

latex - Latex、TikZ 以及章节和图的单独编译

我有相当大的 Latex 文档,里面有很多 TikZ 人物。我有频繁重新编译的习惯,使用 pdflatex 编译它需要很长时间。TikZ 中的数字占用了大部分时间。

我的问题是将文档拆分为单独的 tex 文件(图形/章节)以实现图形和章节的单独编译、单独的章节 pdf 和整个文档 pdf 文件的最佳方法是什么?

0 投票
1 回答
3301 浏览

latex - How to make the grayed-round box using tiks

This is a follow-up question asked here. I need to make a round-grayed box as is shown.

Based on the answers, I tried something, but not so fruitful. So, another questions coming.

I came up with the following command, but it doesn't work. The verbatim inside the minipage doesn't compile.

I also tried with the environment, which also doesn't work. The minipage isn't sit inside the minipage.

Questions

  • What's wrong with the LaTeX code? How can I use verbatim environment with minipage in the tikzpicture?
  • Could you teach me a better way to implement the grayboxed environment as is shown in the attached picture?

This is the whole code, and I attached the compiled result with the compiled result.

0 投票
1 回答
5456 浏览

latex - 改进 Tikz 图

我刚刚在 Tikz 中完成了我的第一个图表。它看起来像我想要的那样,但对我如何“编码”它不满意:

我不舒服的地方是:

我如何手动移动“应用程序”和“设备”节点以yshift将它们彼此分开;我确信必须有一种更优雅的方式来产生一个简单的树状结构

从图片顶部到底部的线(topKern -- botKern和);topUser -- botUser这些在 x 轴上手动对齐,以使用xshift=7mm.

我使用\phantom{p}来确保标签“硬件”与其他两个标签具有相同的基线。

0 投票
1 回答
976 浏览

tree - TikZ 树中的圆角

当我使用带有圆角节点的 TikZ 树时,连接线不会接触节点(靠近角),而是在矩形结束的地方结束。有没有简单的方法解决它?

0 投票
1 回答
3829 浏览

latex - Tikz:如何在节点中封装阴影?

我有这个阴影圈:

是否可以用节点样式封装它?
(包括固定圆半径?)

0 投票
1 回答
1801 浏览

latex - 子图片中的节点对齐不正确

我正在使用 tikz 在乳胶文档中排版图表。

我有一个“网格图”网格,每个网格图都绘制为单独的 tikz 图片,然后作为节点排列到网格中。

我想在每个网格图的右下角绘制一个圆形节点(最终将包含一个标签)。

我为每个网格图使用完全相同的代码,但每次都在不同的位置绘制圆圈。

我做错了什么,或者这是 tikz 中的错误?特别是,我包含子图片的方法是否允许/标准/良好做法?

请参阅此处获取图像。