Java is a general-purpose, concurrent, class-based, object-oriented programming language.

learn more… | top users | synonyms

4
votes
1answer
46 views

Is it possible to get the location of individual components of a LaTeX image?

I'm writing an android app and I want to render math expressions in LaTeX then react to touches to individual parts of the rendered expression. I'm planning on using a library like jlatexmath. I ...
12
votes
2answers
1k views

How to write “Java” in LaTeX [closed]

How can I write "Java" in LaTeX so that the output looks as it is typeset on https://www.java.com/en/ (image below). For example \textsc{Java} doesn't look good. The image uses white text on red ...
4
votes
1answer
117 views

lstlistings works strangely

I have some Java source code and want to display it in LaTex: \lstset{language=Java} \begin{lstlisting} IntentFileter intentfilter = new IntentFilter(); ...
0
votes
0answers
103 views

IEEE Javadocs Citation

I need to cite several Java class documentations in IEEE format in BiBTeX using \bibliographystyle{IEEEtran}. I currently use @electronic in the following format: @electronic{War13, ...
1
vote
0answers
200 views

No index is generated while using makeindex of latex [closed]

I have Java code and each time I run the pdflatex and makeindex, the following output is produced: The last output in the console is: I don't know why this happens. The .idx file looks okay and ...
3
votes
1answer
1k views

Source code description in LaTeX

I have a problem concerning the creation of the name below a "Source code" (Listing) in LaTeX. When I have a figure I use: \begin{figure}[t] \centering ...
3
votes
1answer
3k views

Listings Highlight Java Annotations

I am typesetting something that has a lot of Java code listings. Because the Java code has a lot of annotations, and that they are important to the reader, I'd like to have them highlighted, like ...
3
votes
1answer
1k views

Is there a LaTex java .jar?

I'm very interested in using the Java LaTeX Report library, but one of the requirements is an installed or portable LaTeX distribution. My software would be running on various servers and it would not ...
1
vote
1answer
1k views

Include java code to display text in latex

is it possible to do something like the following in texlipse? \documentclass{article} \usepackage{listings} \begin{document} \section{Title} import java \subsection{Subtitle} I want to display ...
3
votes
2answers
576 views

Is there any solution to include Java Applets in presentations/beamers?

I am preparing a presentation on the compiler Texmaker "documentclass" in "beamer". I was fascinated with the package "multimedia" which is a solution to include movies in the presentation. Question: ...
5
votes
1answer
322 views

Problem formatting java code in my latex document (overshooting the page)

My code is being formatted in a way that makes it drift off the page when it's too long rather than just jump to a new line. I have tried lots of different things, pasted all kinds of examples from ...
2
votes
1answer
303 views

Java Code in a paper

I am writing a paper and would like to include some of my "real-world" Java code. What is the best way to accomplish this? I would like to see two templates: My explanation to the right of my Java ...
1
vote
1answer
204 views

How can I highlight Java bytecode?

I usually use minted to display highlighted source code. But it seems as if minted would not support Java bytecode (see list of supported languages). How can I insert highlighted java bytecode? (Is ...
3
votes
0answers
267 views

pdflatex + java applet? [closed]

I am writing lecture notes in Euclidean/Noneuclidean geometry, see here. The lecture 10 is about geometric constructions, where I use some java applets for construction. So far I made a hyperlink ...
4
votes
1answer
344 views

utf8 math characters from source code file with minted in XeLaTeX

I want XeLaTeX/minted to display all my mathematical characters from my .java source file. More detailed: I file my programming homework in PDF documents in my university. I have been using LaTeX and ...
1
vote
0answers
120 views

Listings package and BigInteger Library Conflict? [closed]

In my java code, I have extensively used the variables and methods from the BigInteger library. In LaTeX, in order to display my code neatly, I have used listings package. So between the ...
5
votes
1answer
460 views

How to render Android listings with syntax highlighting?

I need to include the source code of a bigger Android project in the documentation written with LaTeX. Do you recommend any particular package that is capable of highlighting Java code and which also ...
1
vote
1answer
668 views

Pointing to Java files not in root latex folder using listings

I am trying to use listings to point to a Java source code file. The file path is different from the Latex document. Below is an example of what I am trying to do, though it doesn't compile it says it ...
2
votes
1answer
622 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...
11
votes
7answers
6k 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 ...