jkuczm / mathematicatexutilities Goto Github PK
View Code? Open in Web Editor NEWTools useful for customizing TeX output of Mathematica.
Home Page: http://jkuczm.github.io/MathematicaTeXUtilities/
License: MIT License
Tools useful for customizing TeX output of Mathematica.
Home Page: http://jkuczm.github.io/MathematicaTeXUtilities/
License: MIT License
Rules assigned via Format
are always attached to specific symbols.
In some cases it would be more convenient to have "global" rules not attached to specific symbols, e.g. one rule for converting f1[x_]
, f2[x_]
, ... to \f{x}_1
, \f{x}_2
, ... instead of multiple rules, each assigned to specific f<i>
.
It would be different than "BoxRules" option of Convert
TeXBoxesToTeX
since this would operate at expression level and not at box level.
Implement this as option for ApplyTeXFormFormat
?
Since behavior of Convert
TeXExpressionToTeX
is already changed, maybe change it further.
Join default value of "BoxRules"
option of Convert
TeXBoxesToTeX
with System
ConvertTeXFormDump
$GreekWords` instead of replacing one with another, as is done in built in version.
Loved the package, have been using for years! I tried installing in my new computer and got the following error:
Import["https://raw.githubusercontent.com/jkuczm/\MathematicaTeXUtilities/master/BootstrapInstall.m"]
Installing TeXUtilities:
ProjectInstall::noprjpckg: The project has no package in the top-level directory with the name mathcing the name of the project specified in project's descriptor file (project.m)
$Failed
Version info
"Version" -> "13.0.0 for Mac OS X ARM (64-bit) (December 3, 2021)",
"ReleaseID" -> "13.0.0.0 (7522561, 202112031358)",
Stack trace
{\!\(\*
TagBox[
RowBox[{"Message", "[",
StyleBox[
RowBox[{"ProjectInstall", "::", "noprjpckg"}], "MessageName"], "]"}],
HoldForm]\), \!\(\*
TagBox[
RowBox[{"Print", "[",
RowBox[{"ProjectInstall", "[",
RowBox[{"URL", "[",
TemplateBox[{
"\"https://github.com/jkuczm/MathematicaTeXUtilities/releases/\
download/v1.0.1/TeXUtilities.zip\""},
"URLArgument"], "]"}], "]"}], "]"}],
HoldForm]\), \!\(\*
TagBox[
RowBox[{
RowBox[{"ProjectUninstall", "[", "\<\"TeXUtilities\"\>", "]"}], ";",
RowBox[{"Print", "[",
RowBox[{"ProjectInstall", "[",
RowBox[{"URL", "[",
TemplateBox[{
"\"https://github.com/jkuczm/MathematicaTeXUtilities/\
releases/download/v1.0.1/TeXUtilities.zip\""},
"URLArgument"], "]"}], "]"}], "]"}], ";"}],
HoldForm]\), \!\(\*
TagBox[
RowBox[{"<<", \
"\<\"/private/var/folders/51/hzcl27nj5rj75b7nv1l485_40000gn/T/\
m00000358291/BootstrapInstall.m\"\>"}],
HoldForm]\), \!\(\*
TagBox[
RowBox[{"\<\"Get\"\>", "\[Rule]",
RowBox[{"<<", \
"\<\"/private/var/folders/51/hzcl27nj5rj75b7nv1l485_40000gn/T/\
m00000358291/BootstrapInstall.m\"\>"}]}],
HoldForm]\)}
For example
Format[OverVector[x__], TeXForm] := TeXCommand["vec", {x}];
TeXForm[\!\(\*OverscriptBox[\(x\), \(\[RightVector]\)]\)];
works perfectly.
However
TeXForm["\!\(\*OverscriptBox[\(x\), \(\[RightVector]\)]\)"];
Stops working, the only difference between the two, is that one is a string, and one isn't. TeXForm reverts back to normal behaviour
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.