Marey.Backend.Tikz
0.2.0
dotnet add package Marey.Backend.Tikz --version 0.2.0
NuGet\Install-Package Marey.Backend.Tikz -Version 0.2.0
<PackageReference Include="Marey.Backend.Tikz" Version="0.2.0" />
<PackageVersion Include="Marey.Backend.Tikz" Version="0.2.0" />
<PackageReference Include="Marey.Backend.Tikz" />
paket add Marey.Backend.Tikz --version 0.2.0
#r "nuget: Marey.Backend.Tikz, 0.2.0"
#:package Marey.Backend.Tikz@0.2.0
#addin nuget:?package=Marey.Backend.Tikz&version=0.2.0
#tool nuget:?package=Marey.Backend.Tikz&version=0.2.0
Marey.Backend.Tikz
The TikZ backend for Marey, a dimensionally-typed
visualization system for F#. Emits tikzpicture source for pasting into a LaTeX document. Pure F#,
zero dependencies, netstandard2.1.
#r "nuget: Marey.Plot"
#r "nuget: Marey.Backend.Tikz"
open Marey
Chart.line U.second U.metre t x
|> Chart.withTheme Theme.tikz
|> Chart.toFile TikzBackend.render "fall.tex" (Chart.size 320.0 200.0)
\node[anchor=north,font=\fontsize{9}{10.8}\selectfont] at (133.59bp,15.825bp) {t [\qty{}{\second}]};
\node[anchor=base,rotate=90,font=\fontsize{9}{10.8}\selectfont] at (15.825bp,69.075bp) {x [\qty{}{\metre}]};
Why TikZ rather than an image
An exported image is a foreign object in a paper: different fonts, different weights, and units set
in whatever the plotting library took a minus sign to be. A tikzpicture is typeset by the same
engine as the rest of the document, so the figure inherits the document's fonts, and the axis
titles are typeset by siunitx from the unit witnesses — \qty{}{\metre}, not the string "m".
TikzBackend.standalone wraps a fragment in a document that compiles on its own.
What it needs, and what it will not do
Only \usepackage{tikz}, plus siunitx when the siunitx unit style is used. Coordinates are emitted
in bp at 96 px/inch, so a 400×250 figure produces a page of exactly 300×187.5 pt.
Unsupported constructs degrade visibly rather than silently: a gradient becomes its Oklab
midpoint, and a raster becomes a comment naming what was skipped and at what size. Layout is
measured against the theme's font metrics while TeX sets the text in the document's own face;
Theme.withFontFamily is what reconciles the two.
Depends on Marey.Core and nothing else.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- FSharp.Core (>= 10.1.400)
- Marey.Core (>= 0.2.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.2.0 | 104 | 8/21/2026 |
| 0.1.1 | 102 | 8/19/2026 |
| 0.1.0 | 98 | 8/19/2026 |
| 0.1.0-rc.1 | 73 | 8/18/2026 |