L2P v.1.1

Advertisement
Advertisement

L2P creates PNG images of mathematical expressions formatted in LaTeX. While it can convert a whole LaTeX document, it is designed to easily generate images from just a fragment of LaTeX code. Download l2p here, or read the documentation. L2P depends on other software: latex, dvips, and convert. The last one is from the ImageMagick graphics toolset. If you already work with LaTeX on a modern Unix or Linux system, you probably already have all of that installed. EXAMPLES: * l2p -i $4x^2-7=cos{2 pi x}$ -o eqn4.png Produce a PNG image, named eqn4.png, of the equation described by the LaTeX expression $4x^2 - 7 = cos{2 pi x}$. * l2p -o big_equation.png big_hairy_equation Produce a PNG image, called big_equation.png, from the LaTeX expression contained in the file big_hairy_equation (specifically, it contains $x=2$.) Note that this file is NOT a full LaTeX document - see the -F option for that. * l2p -d 250 -i $ abla cdot mathbf{D} = ho$ Produce a PNG image from the LaTeX code given with the -i argument (which happens to be one of Maxwells equations), at 250 dots per inch. Since we did not specify an output file name with the -o option, the image will be eqn.png (the default). * l2p -p amssymb -i $mho$ -o mho.png Produce a PNG image of the Mho symbol (an upside-down capital omega), saving the image in the file mho.png. We include the amssymb package, which defines that symbol. OPTIONS: -i "$latex$" Argument is an equation/expression in (La)TeX format. In most cases, you will want to enclose the argument in quotes to protect it from shell expansion. -b "rrggbb" Background color. There are several ways to specify the color. See the section "COLORS", below, for details. -d dpi Pixel density at which the equation is rendered, in dots per inch (default 300). An image with a DPI of 600 will have twice as many pixels in each of the x and y directions than an image with a DPI of 300. The effect is different in the normal context of printing, where a higher DPI will leave the text with the same physical size, but with a finer resolution. This is because the physical size of a pixel is not really variable, so to have double the resolution, a symbol in an image must be double the size. -f "rrggbb" Foreground color. There are several ways to specify the color. See the section "COLORS", below, for details. -h Show a help summary. -o output.png Name of output file. Default is eqn.png -p packagename[,packagename2[,...]]] Use additional LaTeX/TeX packages. You can specify several, separated by commas. -C Suppress automatic removal (cleanup) of temporary files. This will be useful if something goes wrong, or if you want to use the intermediate DVI or Postscript renditions. l2p will tell you which directory contains these files. -F Supplied expression is a full LaTeX document, rather than just an expression fragment. Negates the -f, -b, -p and -T options. Note: l2p currently only converts full LaTeX documents that are relatively simple: only one page in length, and with no external dependencies (such as included graphics). If you need to convert a more complex document, you can generate a DVI file with latex like normal, then convert the DVI into a series of PNG images using convert from the ImageMagick distribution. See convert(1), or for more information. -T Create an image with a transparent background. -V Show version information.

L2P creates PNG images of mathematical ...

 
  • L2P
  • 1.1
  • Aaron Maxwell
  • Any Platform
  • Public Domain
  • 7 Kb
  • 243
 
 

Review L2P

  • captcha
 
 
New Science software
  • Photovoltaic System  v.5.48Simulate the amortization of a Photovoltaic System over 20..40 years, including Prosumer Electricity Network Trading. Fine-tune as many cost-driving, efficiency, and sales parameters as you want. See Total Amortization, RoI and Net Profit.
  • SEVENPAR  v.9.10SEVENPAR calculaties exact parameter sets for the Spatial Helmert or Molodensky Transformation with seven or three parameters, which are used for accurate geodetic datum shifts between different reference systems for coordinate transformations.
  • GHC Timetables EN  v.19.2.42Penalara GHC is an automatic software to generate timetables for schools of different levels: primary schools, high schools, vocational schools, universities and all other academic institutions.
  • DPLS Scientific Calculator  v.3.2.1This easy to use calculator is a must for science students. It includes triangle calculators, vector calculators, shape calculators, statistical calculators, measurement converters, 3000 compounds, 2000 formulas, 100 constants and 400 symbols.
  • L2Control  v.3.5LITE version: 1. Graphic display of characters to a radar with the instruction of height 2. Display of characters by the list(considering subslacc, nobless/hero) and a clan 3. Switching of a mode "radar" / "list" 4. Sorting by class/range/animosities ...
  • Lab and Resource Scheduler  v.1.0Lab and Resource Scheduler allows schools and other organizations a way to easily schedule labs, rooms, cameras, software, and other resources. Lab and Resource Scheduler is focused around schools, and several features are directly designed to ...