The tag has no wiki summary.

learn more… | top users | synonyms

27
votes
4answers
7k views

Pixel-perfect vertical alignment of image-rendered TeX snippets?

What is the most accurate way to automatically calculate the text baseline in an image that has been rendered from a TeX snippet—so that the rendered image can be given proper vertical alignment in a ...
20
votes
3answers
4k views

Is there a way to make standard LaTex PDF output look good *on screen* as well

While LaTeX-based PDFs are generally very good when printed, I find most of them really hard and annoying to read on-screen when viewing the full page. Most line widths are very small, which results ...
20
votes
2answers
315 views

Embed TeX as a typesetting system for an eBook reading application

Are there any projects or information on how to use TeX to typeset texts for screen reading? That is, I want to get the beautiful output of TeX to render in a browser-like desktop application. I want ...
11
votes
2answers
368 views

Bad kerning with dvipng

I am using dvipng to render sans serif documents, and the results are especially bad. At the default resolution (100 dpi IIRC), there are some serious kerning issues. Here, I rendered with two sans ...
11
votes
7answers
8k views

TeX rendering in a Java application

I want to render math formulas in my Java GUI application. I am looking for a library made for computer use, not web use, which can render TeX. I have already tried jLatexMath, but it's very slow when ...
10
votes
3answers
1k views

Drawing a proper shadow for overlapping objects

I draw images that are composed of several overlapping nodes. If I add a drop shadow to each node, the shadow of the second node is drawn over the first node, as seen in the picture below (which ...
10
votes
1answer
3k views

Box border lines not showing properly on PDF

I have the following code that generate a box with text content: \documentclass{report} \usepackage{color} \usepackage{lipsum} \newcommand\tipbox[1]{% \begin{center}% ...
9
votes
3answers
1k views

Space between emphasized word and parenthesis

When I have the following text (\emph{WSJ}) the J will touch the parenthesis in an ugly way (my opinion). Is LaTeX supposed to keep some space there? How can I get some more space there in a a nice ...
9
votes
1answer
473 views

How to improve rendering

The rendering above the red line(zoomed in) was a result of: \documentclass[journal]{IEEEtran} The rendering below the red line(zoomed in) was a result of: \documentclass[journal]{AIAA} Why is ...
9
votes
2answers
347 views

3D font in LaTeX

This is an unusual question regarding rendering of a font with a specific 3D-esque style in LaTeX, XeLaTex, or any other TeX flavor. I was looking at some fonts the other day and I came across one of ...
8
votes
2answers
4k views

Why does my PDF render differently in Windows and Linux?

I'm not trying anything fancy just a plain vanilla \title{Practical Node.js } However, in Linux the results look great (Document Viewer 3.2.1) In windows it looks absolutely terrible (Adobe ...
8
votes
1answer
153 views

TikZ heisen-glitch

I have drawn the following picture: As you can see, at 100% magnification, the borders of the L and R sections look pretty poorly drawn; They seem to blend into the adjacent background colors ...
6
votes
1answer
275 views

Hex renderer in LaTeX

Is there a package to render binary files as hex in LaTeX. We've searched for it, but couldn't find any. The package should provide some kind of command: \lsthex{file.ext} With file.ext a "binary" ...
6
votes
1answer
169 views

Mathematica code in LaTeX document

Consider the following example: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{mathtools} \usepackage{xcolor} \newcommand*\variable[1]{\textcolor{teal}{\texttt{#1}}} \begin{document} ...
5
votes
1answer
116 views

What's the difference between \|, \textdoublevertline, \textdoublepipe and \parallel?

I'm currently writing my bachelors thesis about on-line handwriting recognition of mathematical formulae (see http://write-math.com). I'm currently only recognizing symbols with the same technique as ...
5
votes
1answer
163 views

Will reusing \sbox-ed cmds reduce DVI/PDF size?

I wonder wheither reusing \sbox'es decreases only .tex code or also its final output whether DVI/PDF/... i.e. does TeX expand them while writing DVI or PDF or does the viewer do that? For example ...
5
votes
1answer
326 views

Formulae PNG anti-aliasing [closed]

I would like to render formulae in PNG format for use in various websites. The problem is, every rendering tool I've come across seems to assume a particular background color to perform anti-aliasing, ...
4
votes
1answer
2k views

How to get correct rendering for \dh \TH (ð þ Þ)?

I have some references containing \dh and \TH. When using these symbols in either the LaTeX source or the .bib file I only get a black box. Neither \dh nor ð works. According to the documentation, T1 ...
3
votes
1answer
111 views

Issue with arXiv LaTeX - xypic diagrams rendering badly

I’m having an odd issue with the arXiv’s LaTeX processing: xypic diagrams that look fine when processed on my own system are rendering badly when processed by the arXiv. My question is: Is this ...
3
votes
1answer
634 views

Rendering VHDL in latex

I have a VHDL code which I want to insert into my latex document. I need a package that takes care of syntax highlighting, indentation etc. Is there a package which serves this purpose?
3
votes
2answers
768 views

PS not rendering

Update 2: I've found the same error report here: http://latex-community.org/forum/viewtopic.php?t=11957&f=19 However this individual is using LyX and I'm using TeXWorks. So "So it seems the error ...
3
votes
1answer
79 views

Why IEEEtran is blurry with XeLaTeX but not with PDFLaTeX, and how to fix it?

The question is pretty simple. Compiling this code with PDFLaTeX \documentclass{IEEEtran} \usepackage{lipsum} \begin{document} \lipsum \end{document} gives me back whereas compiling the ...
3
votes
0answers
55 views

Accessing cmex10-equivalent symbols in latinmodern math in rendering code

I wish to display and print mathematical formulae not using one of the existing TeX distributions and not via a web browser, but using my own code so that the display is integrated into my packages as ...
2
votes
1answer
231 views

Distortions caused by LaTeX?

First of all, here is a code to compile : \documentclass[11pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage{palatino} % for font \usepackage{fancyhdr} % for header+footers ...
2
votes
2answers
530 views

Helvetica font has jagged edges

I use 'Helvetica' as my font and build my document using Texmaker. But the PDF generated has jagged edges while using this font and when I use a different font (say Times or even Helvetica sans-serif) ...
2
votes
1answer
129 views

How to put symbol in specific place and skip it in normal tex

I need to put some symbol/paragraph in specific (x,y) place. How I can do it? Is possible to skip this in normal text? Text is big but in specific place i put some words.
2
votes
1answer
186 views

.pdf font rendering

My friend and I are working on the same subject and I asked her to see her work. I noticed that her pdf rendering (if it's really that) is a lot different than mine even though we use the same ...
2
votes
3answers
378 views

Saving TeX formulae as images

I have a bit of a problem. I want to publish all things mathematical on blogs that do not have any MathJax support and, as a result, I'm forced to use images instead. Now, I've seen LyX and MATLAB and ...
2
votes
1answer
531 views

How to render LaTeX in programs?

Recently I'm writing a calc program, on android. As a frequent LaTeX user, it comes to be compelling to use LaTeX rendering in displaying the inputs and outputs. Is there any possibilities to use a ...
2
votes
1answer
662 views

TikZ with “remember picture” compiled with pdflatex yields different results compared to dvips -> ps2pdf

The following document \documentclass[11pt,a4paper]{report} \usepackage{tikz} \usetikzlibrary{shapes} \usetikzlibrary{arrows} \usetikzlibrary{positioning} \begin{document} ...
2
votes
1answer
692 views

What commands/environments are supported by jLatexMath?

Is there documentation on which commands are available? For example right now I cant even \\ to get linebreaks, however \textcolor{red}{\mathfrak{A}rea}A=\pi r^2 works perfectly...
2
votes
0answers
39 views

lyx with background won't load unless I type \newpage after the text

I try to write a document with a background in lyx, I made sure it works on Texmaker, on Texmaker it needed to be built a couple of times and then it got it right but when I try to preview or export ...
2
votes
0answers
184 views

MathJax - how to render equations in “title” atribute? [closed]

Is it possible to force MathJax to render equations that are in title attribute of img or other element ? e.g. <img src="xx.png title =" $$ \frac {3}{4}} $$ "> now it don't work. Page ...
1
vote
1answer
760 views

beamer block inside an itemize environment with overlays

I have a frame like this, there is a block inside the itemize environment, and there is an overlay : \begin{frame} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \frametitle{Comparing two Gaussian means: ...
1
vote
0answers
2k views

Ugly font rendering [closed]

I've seen several recommendations of using T1 encoding \usepackage[T1]{fontenc}, so I did. But I did notice a difference in font rendering, and it's not prettier. Old OT1: T1 encoding: I know the ...
0
votes
0answers
23 views

BibTeX rendering error with URL [duplicate]

I put the following reference in my .bib file: @ONLINE{MyID, title = {My title}, howpublished = {\url{URL}} } However, since the used URL contains underscores, the URL is visualized as a ...