LaTeX/TikZ 📚

LaTeX/TikZ (Academic Map)

Open Beta
.tex · application/x-tex

将 OpenStreetMap 地图数据导出为 LaTeX/TikZ,用于学术出版。直接在 LaTeX 文档中创建矢量地图,可完全控制样式、字体和标注。

立即导出 LaTeX/TikZ ✨ Open Beta — 免费无限制

主要特点

整洁的 TikZ 代码(便于编辑)
矢量字体与标注
符合学术期刊规范
支持配色方案与图例
LaTeX/TikZ 格式导出示例(莫斯科中心,1x0.5 公里)
示例:莫斯科中心区,约 1x0.5 公里,中等详细度

关于 LaTeX/TikZ 格式

TikZ is a graphics language inside LaTeX: a drawing is described by commands right in the source, and the compiler turns them into vector graphics while building the document. For academic work that is convenient because the map lives inside the text rather than as a separate picture: the fonts are the same as in the article, the sizes do not drift, and an edit takes a second.

The export is needed when a map goes into an article, a dissertation or a poster: the journal demands vector, the reviewer asks to change a caption, and the figure has to be built together with the text. The resulting .tex is edited by hand — line widths, colors, label positions.

The file is a self-contained document of the standalone class with a single tikz package. Layer colors are declared through \definecolor, the geometry is written out as drawing commands onto a 15 × 10 cm canvas, and a scale bar with a caption in meters or kilometers is drawn in the lower left corner. Object labels are added as \node elements, no more than two hundred of them, so the document stays compilable.

For Cyrillic, inputenc with UTF-8 and fontenc with the T2A encoding are included; the most reliable way is to build the file with XeLaTeX or LuaLaTeX — they work with Unicode directly.

打开 LaTeX/TikZ 文件的程序

以下程序可以打开、编辑和处理从 OSM2CDR 导出的 LaTeX/TikZ (Academic Map)(.tex)文件:

💻Overleaf 💻TeXstudio 💻LaTeX Workshop (VS Code) 💻LyX

格式规格

谁在使用 LaTeX/TikZ 地图

🏗
学术论文中的地图
The map is built together with the text of the article and stays vector in the journal's final PDF.
💻
学位论文
An illustration for a dissertation or a thesis that can be corrected in a minute before the defense.
📊
教学材料
District and route diagrams for LaTeX-based handouts and lecture materials.
🎨
会议演示
Posters and Beamer slides where the map has to look the same as the rest of the talk's graphics.

如何导出 LaTeX/TikZ

1
选择区域
在 osm2cdr 的交互式地图上绘制矩形或多边形
2
选择 LaTeX/TikZ
从 127 种可用导出格式中选择 LaTeX/TikZ (Academic Map)
3
导出
点击导出,1–5 分钟内收到您的 .tex 文件
4
下载
下载完成的 LaTeX/TikZ 文件并在 Overleaf 中打开

导出后如何打开

LaTeX/TikZ 格式的热门地图

Free

导出 LaTeX/TikZ (Academic Map) 地图

从 OpenStreetMap 下载专业的 LaTeX/TikZ 地图。即时生成,任意区域。

免费 / 导出
立即导出 LaTeX/TikZ →

常见问题

我需要额外的 LaTeX 宏包吗?
导出后我还能编辑地图吗?
它适合期刊发表吗?
What size does the figure come out?
Is there a scale bar on the map?

相关格式

经常一起导出

Related Articles