Questions tagged [tex]

TeX is a typesetting system, where the output is defined by command-sequences. Note that https://tex.stackexchange.com is specifically dedicated to TeX questions.

TeX is a typesetting system, where the output is defined by command sequences. It was designed and mostly written by Donald Knuth. TeX was designed with two main goals in mind: to allow anyone to produce high-quality books using minimal effort, and to provide a system that would give exactly the same results on all computers, at any point in time.

There is a Stack Exchange site dedicated to TeX, which is a good place to ask any TeX-related questions.

Resources:

872 questions
11
votes
1 answer

Writing to file with xtable in R

I am using the xtable to produce tex output of a dataframe in R.3.3. Is there a way to write the output to a file? When I use it I am only able to obtain tex code in my R console.
splinter
  • 3,727
  • 8
  • 37
  • 82
11
votes
3 answers

How to represent "{{" in a django template?

I'm trying to output in bibtex format in Django and the template looks like this: @{{ pubentry.type }{, author = {{% for author in pubentry.authors.all %}{{ author.first_name }} {{ author.middle_name }} {{ author.last_name }}{% if not…
rxin
  • 1,786
  • 16
  • 25
11
votes
1 answer

matplotlib - write TeX on Qt form

I'd like to add some TeX text to my Qt form, like label - just text, no graph, no lines, no borders, just TeX. I thought something like this: render TeX to bitmap and then place that bitmap on form, e.g. into QLabel. Or even better - use some…
demalexx
  • 4,661
  • 1
  • 30
  • 34
11
votes
2 answers

LaTeX: Redefining starred command

I want to redefine the \part* command so that it automatically adds a contents line. This proves difficult since I want to reuse the original \part* command inside my starred version. Normally (i.e. for unstarred commands) I would do it like…
Konrad Rudolph
  • 530,221
  • 131
  • 937
  • 1,214
10
votes
0 answers

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 I use it in my application. If there are any…
Hidde
  • 11,493
  • 8
  • 43
  • 68
10
votes
3 answers

How to render Latex in Flutter, offline

There is a package called flutter_tex. But, it required internet access. I want to render Latex without using internet. How to render Latex in flutter, without using internet.
Mr.B Fellow
  • 101
  • 1
  • 4
10
votes
1 answer

What's the best way to understand the TeX / LaTeX internals?

Looking through docs on the TeX website, it seems like almost all documentation for TeX and LaTeX are tutorials on how to use them, how to install fonts, how to get graphics working, etc. What should I look at if I want to know more about how TeX…
Steve
  • 8,153
  • 9
  • 44
  • 91
10
votes
1 answer

How can I number theorems, definitions etc. etc. consecutively in latex without starting an own line for each?

Because I'm not a native speaker and I'm sure so far noone understood it I will try to explain it in simple words... I'm writing a thesis for my bachelor so it's just around 30 pages... Now I made a definition for some commands like…
J.Doe
  • 281
  • 4
  • 12
10
votes
3 answers

LaTeX - Automatically scale down an area so that it will be inside a page if it's too big?

I'm making a document in LaTeX. It includes a set of images in a row. A small percentage are quite wide and will stretch and push off the page. If I shrink all the image sequences then most of them will look too small. However it's not easy to…
Amandasaurus
  • 58,203
  • 71
  • 188
  • 248
10
votes
1 answer

Is it possible to compile .tex files to PDF with 'pandoc'?

Is it possible to compile a .tex file with pandoc? I'm currently taking my class notes in MultiMarkdown with MacVim. That way, when I get home, I can just mmd2tex and compile the .tex file to PDF using TexShop. It works great but the process is…
Jon LK
  • 103
  • 1
  • 5
10
votes
2 answers

Package inputenc Error: Unicode char \u8:β not set up for use with LaTeX

One of my references in Bibdesk contains some latin/Greek character e.g. 'β'. I am getting the error while using the reference in TEXMAKER: "! Package inputenc Error: Unicode char \u8:β not set up for use with LaTeX." How can I set it up to work?
sourav mandal
  • 103
  • 1
  • 1
  • 6
10
votes
2 answers

LaTeX Page Size --- how do I produce a page that is "just big enough"?

I was learning about using the command line version of latex today, and I was experimenting with outputting .tex to .dvi, and then .dvi to .png. The problem is, I have a simple .tex document which contains some math. The goal is to eventually…
Kenny
  • 1,440
  • 1
  • 12
  • 13
10
votes
4 answers

Create own BibTeX style or customize existing one?

I'm looking for a way to define new BibTeX style or to customize existing one. I have two reasons for this: I want the author names/editors to be italic (for articles in book, book, magazines, encyclopedia etc) I want numbers at the…
cupakob
  • 8,411
  • 24
  • 67
  • 76
9
votes
3 answers

PHP LaTeX to PDF Conversion/Compiling

I have searched far and wide to find a PHP-based tool to convert LaTeX to PDF, but have had no success. I understand that LaTeX runs on the server side, however I still require a PHP-based command process in order to generate said PDF files using…
nderjung
  • 1,607
  • 4
  • 17
  • 38
9
votes
1 answer

Equation numbering in colab notebook

I'm using \begin{equation}.. \end{equation} in markdown mode in a Colab notebook and I don't get equation numbering as I would expect from Latex. Is there a fix for this?
Marios
  • 91
  • 1
  • 3