tueda / autobreak Goto Github PK
View Code? Open in Web Editor NEWLaTeX package for simple line breaking of long formulae.
License: LaTeX Project Public License v1.3c
LaTeX package for simple line breaking of long formulae.
License: LaTeX Project Public License v1.3c
&
causes a typesetting error, even if it is in a subenvironment. For example,
\documentclass{minimal}
\usepackage{amsmath}
\usepackage{autobreak}
\begin{document}
\begin{align}
\begin{autobreak}
A =
\begin{pmatrix} 1 & 2 \end{pmatrix}
\end{autobreak}
\end{align}
\end{document}
! Argument of \autobreak has an extra }.
<inserted text>
\par
l.11 \end{align}
Hi Takahiro
My name is Edgardo, and I am implementing some Java files that do automatic linebreaking for computer-generated LaTeX. And I liked the simplicity and design of your package.
There are two thing though: I couldn't see how to tell autobreak to "please break this line here", which is sometimes desired independent of linewidth. Also, with that same purpose people frequently edit the tex file manually, and the natural thing they try is to insert \\ (two characters, not four characters). But autobreak doesn't accept that (as you correctly say on page 7 of the autobreak PDF manual), and so the .tex file doesn't compile anymore.
What springs to my mind then are two possibilities. The first one is to use \\ as an indication of "please break this line here, regardless of linewidth". In that way, the two issues would get resolved in one shot. If having a command to indicate a line break is not possible, then the other possibility is to just ignore occurrences of \\ that people may end up inserting manually.
Are any of these possible?
Many thanks in advance, and best regards
Edgardo S. Cheb-Terrab
Editor, Computer Physics Communications.
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.