tex

Mathtran from asp.net website

I would like to build a website in ASP.NET, which would display many equations. I would like to generate them automaticly, so I need to use some library, that would allow me to generate images from TeX or LaTex dynamicly. For performance resaons, I would like to have it running on my local server. I tried to used MimeTex with the Eq2Im...

Is there a TeX API for C++?

Hi Guys, I want to preview TeX formulas in my User Interface. After a long time searching, it seems to me that there is no other possibility than write the formula into a .tex file call tex with system() and write a dvi file call e.g. dvipng with system() and write a png file load this file into the GUI clean up(erase all these files)...

Is LaTeX worth learning today?

I know that LaTeX is big in the world of academia, and was probably a big name in desktop publishing before the glory days of WordPerfect and Microsoft Office but as a Windows user that is interested in the power of LaTeX and the general smoothness of a LaTeX generated page is it really worth learning? In a couple of months I'll be star...

Daemon python wrapper "subprocess I/O timed out", need some directions.

Hello, I am not very familiar with the way of creating a daemon in Python, therefore wheb trying to install and run a third party open source TeX Python Wrapper i got bite by an error i do nor really understand. I added some print to help debugging. The faulty one is called texdp.py When i run mathrand which calls texdp server start,...

When you write TeX source, how do you use your editor's word wrap?

Do you use "hard wrapping" (either yourself or automatically by your editor) by inserting newlines into your source document at a certain line length, or do you write your paragraphs in one continual line and let your editor "soft-wrap" for you? Also, what editor do you use for this? Note: I'm interested in how you wrap lines in your T...

Get started with Latex on Linux

Impressed by is-latex-worth-learning-today, and many how-to's on Windows, How do you have someone started with LaTeX on Linux. How do you generate a pdf out of it and give up the OOO Word processer. Update: Thanks to all the suggestions given in here. I was able to create an awesome ppt using the Beamer class: http://github.com/beco...

LaTeX Double Spacing

I am using the acm LaTeX template and I have trouble making my paper double spaced. My LaTeX document looks like the following: \documentclass{acm_proc_article-sp} \usepackage{setspace} \doublespacing \begin{document} ... \end{document} When I compile the above document using pdflatex, I get the following error message on the line th...

TeX: string parsing and whitespace stripping

Hi, In TEX, how is it possible to split a string such as \mana{X1 2W/UB R /G} into parts and to feed them to another macro (in this case, to replace the macro invocation by something like \m{X}\m{12}\m{W/U}\m{B}\m{R/G}), grouping by very simple rules, namely: a) consecutive digits form a group, b) a slash creates a group of two nearby c...

Dimension Preserving JPEG to EPS Conversion

I am looking for the best way to convert my JPEG files into EPS. I have to convert my image files to EPS to insert into my LaTeX files. Note that I am using dvipdfm to compile my LaTeX file into PDF and I am not using pdflatex. The problem is that the actual size of the image changes under the conversion to EPS. Therefore, I have to use...

LaTeX math mode and mbox mode

Hello! According to a doc I found around An \mbox within math mode does not use the current math font; rather it uses the typeface of the surrounding running text. In math mode, I would like to write something like a_{\mbox{foo}}. If I use this, the foo will be quite big, too big. If I write a_{foo}, foo will be in italic. W...

Can I create with LaTeX documents in the EPUB-format?

Is it possible to create a document for an ebook-reader in the EPUB-format with LaTeX/TeX? Which extension or program can be used? ...

To escape many _ in LaTeX efficiently

How can you escape _ without the use of \_? This is the example of the question word_a_a_a_a_a_b_c_dd There is one function which you can use for this. However, I cannot remember its name. ...

How to create a selfdefined table-environment with the caption at the end of the table with LaTeX?

I have a custom table-environment defined with \newenvironment. I have a caption in this environment, but I want to have it at the end. My environment looks (a little simplified) like this: \newenvironment{mytable}[2]{\begin{table}[hbtp]\caption{#1}\label{#1}\begin{center}\begin{tabular}{#2}}{\end{tabular}\end{center}\end{table}} I w...

How to underline section-headings in LaTeX?

EDIT: As I see in the first answer, underline is the wrong word. I want a line under the section heading, separating the heading from the following text. I want to separate section headings from the following text with a horizontal line. At the moment I use the following: \newcommand{\tmpsection}[1]{} \let\tmpsection=\section \renewcom...

How can be sectsty used together with \part in scrbook-documentclass in LaTeX?

In this question I asked, how to produce rules under sections. The answer provided using sectsty does what I wish, but triggers a problem: If I use the package sectsty the \part-command produces an error: ! Undefined control sequence. \NR@part ...elax \refstepcounter {part}\@maybeasf \a...

How to Remove Footers of LaTeX Beamer Templates?

I am using the "beamerthemesplit" template of the Beamer LaTeX package. This templates includes the author's name and the title of the presentation in the footer of all pages. Is anyone aware of any way to suppress this footer? ...

Passing command-line arguments to LaTeX document

Sometimes, I define new commands such as the following. \newcommand{\comment}[1]{\textbf{#1}} %\necommand{\comment}[1]{\emph{#1}} The above commands enable me to change the style of parts of my code all at once. If I want to generate both of the possible styles, I have to compile my LaTeX document two times each time modifying the sou...

Convert TEX files to PDF or DOCX?

I'm using Doxygen to build an API library from C# source code. Doxygen generates a library of TEX files. My client has asked for a PDF version of this API library so I need to convert the TEX file library into a single PDF or DOCX. I've been looking into tools such as LyX, OpenOffice, and ProText but still haven't found a solution. ...

LaTeX renderer for .NET?

I'm curious as to whether a native .NET renderer for TeX/LaTeX exists. So for in my search the closest I have been able to find is a Java implementation, JMathTeX. I am tempted to port this to C#, but before I do so, I would simply like to check whether anyone is aware of a .NET implementation out there. My curent thuoghts are to use Mi...

TeX Font Mapping

I am using a package written on top of XeLaTeX. This package uses fontspec to specify fonts for different parts of your text: latin, non-latin, math mode, ... The package comes with several sample files. I was able to xelatex most of them that depend on regular ttf or otf files. However, one of them tries to set the font of digits in ma...