Search found 13 matches

by sonny
Thu Jul 09, 2015 6:07 pm
Forum: Others
Topic: How could I achieve something like the iOS Texpad app?
Replies: 2
Views: 34124

How could I achieve something like the iOS Texpad app?

I've an app that generates automatic documents (i.e: reports) through LaTeX and then uses a system-installed TeX distribution to output them as PDF.

Now I'd like to port this app to mobile devices. And I just saw that the developers behind Texpad have achieved exactly what I'd like to have:

The ...
by sonny
Sun Dec 21, 2014 3:27 pm
Forum: Graphics, Figures & Tables
Topic: Trashed psellipticarc when arrows too large
Replies: 6
Views: 4805

Trashed psellipticarc when arrows too large

I just thought a perhaps better solution: can I code any kind of mask so that only the part inside the angle is drawn? Of course the mask should affect only the arc line and the arrow. This would be great because it would draw the part of the arrow tip that fits inside the angle.

Can this be done ...
by sonny
Sun Dec 21, 2014 2:48 pm
Forum: Graphics, Figures & Tables
Topic: Trashed psellipticarc when arrows too large
Replies: 6
Views: 4805

Re: Trashed psellipticarc when arrows too large

I've just coded the computation of the arrow length, from the pstricks manual. So, I could now compare the arc length to the arrow length, so the program can decide whether to output arrows or not. But computing an elliptical arc length is very difficult. Does anybody know how does pstricks ...
by sonny
Sat Dec 20, 2014 11:06 pm
Forum: Graphics, Figures & Tables
Topic: Trashed psellipticarc when arrows too large
Replies: 6
Views: 4805

Trashed psellipticarc when arrows too large

I would have tested it, but that's not possible with a single command. I don't type a dozen lines with document class, packages, pspicture environment etc. for each question I read.
Perhaps another one makes this.

Yes, I can provide a full working example. Try this one (compile it with latex ...
by sonny
Sat Dec 20, 2014 8:46 pm
Forum: Graphics, Figures & Tables
Topic: Trashed psellipticarc when arrows too large
Replies: 6
Views: 4805

Trashed psellipticarc when arrows too large

This command generates a whole circle for me. It should be just 15.9 degrees. The problem seems to be the arrow doesn't fit, because the arc is fine if I quit the arrow:

\psellipticarc[linewidth=0.100000000000mm,arrowinset=0]{->}(1.473134185720cm,5.267092621231cm)(0.133333333333cm,0.133333333333cm ...
by sonny
Sat Dec 20, 2014 8:10 pm
Forum: Graphics, Figures & Tables
Topic: Trashed psellipticarc when arrows too large
Replies: 6
Views: 4805

Trashed psellipticarc when arrows too large

Hi,

I'm experiencing an issue whose best fix I don't know: I'm drawing angles (in pstricks) with psellipticarc, using an end arrow for showing the direction of the angle. It works beautifully, except when the angle is small, so the arrow doesn't fit within the angle, and then the result is that the ...
by sonny
Thu Jun 05, 2014 11:38 pm
Forum: General
Topic: Previewing LaTeX without LaTeX?
Replies: 1
Views: 1932

Previewing LaTeX without LaTeX?

From what I've searched on the net, I assume the answer to the question above is "no".

I'm developing an application which performs numerical analysis, and the user has the possibility of automatically generating a memo with a description of the analysis just performed, containing math, simple ...
by sonny
Wed May 14, 2014 11:44 pm
Forum: Graphics, Figures & Tables
Topic: Hardcoded RGB images?
Replies: 4
Views: 4671

Re: Hardcoded RGB images?

I think I've a good solution. The fact that I draw all figures with pstricks made me think I need a pspicture for everything, which isn't true. I just found images are better used with the standard figure environment, so you don't need to size it, just do an includegraphic inside a figure ...
by sonny
Wed May 14, 2014 11:04 pm
Forum: Graphics, Figures & Tables
Topic: Hardcoded RGB images?
Replies: 4
Views: 4671

Re: Hardcoded RGB images?

Thanks a lot. Your extension can be a solution, but I think I'm looking in a bad direction. My problem is that my program is a LaTeX generator, and then I use latex instead of pdflatex because the generated LaTeX has drawings made of pstricks primitives inside pspicture environments (each figure ...
by sonny
Wed May 07, 2014 7:10 pm
Forum: Graphics, Figures & Tables
Topic: Hardcoded RGB images?
Replies: 4
Views: 4671

Hardcoded RGB images?

Hi,

I'm writing a program which generates LaTeX output as a ".tex" output file. Apart from text and math, the program also generates RGB raster images, which need to be displayed in the output document as figures.

I know how to insert an EPS image into a LaTeX file, but this would involve to also ...