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
-1
votes
2 answers

conversion of .tex file into .pdf file in windows

How to convert .tex file into .pdf file in windows by using python programming? I have .tex file and want .pdf file through python code in windows
-1
votes
1 answer

LaTeX hexagonal chains

I am using LaTeX for research with hexagonal chains and would like to know some ways to create the a horizontal hexagonal chain. So far I only have some going vertically; I have used code I received on here under a previous question but haven't…
phys
  • 1
  • 1
-1
votes
1 answer

How do I copy text files containing code?

I am trying to read .tex files containing LaTeX code, and paste their content into different .tex files depending on the results of calculations in R. I need to avoid changing any character of the tex files by processing them with R. I am looking…
Hans Peter
  • 99
  • 8
-1
votes
1 answer

Atom editor cannot open .tex file

If I launch Atom first and then try to open a ".tex" file there is no issue, I am able to build and view a pdf of the Latex file. However, making Atom the default app to open ".tex" files, does not work (i.e. launching Atom by double clicking the…
boi
  • 181
  • 1
  • 10
-1
votes
1 answer

After apt install the package is executable but can't remove it

After successfully installing the dvips package, it shows up: Step 1) root@CCNM-378B:~# dvips -v This is dvips(k) 5.997 Copyright 2017 Radical Eye Software (www.radicaleye.com) But now I'm trying to remove it, and it is invisible to apt: Step…
Ron
  • 357
  • 1
  • 6
  • 18
-1
votes
1 answer

How to remove alternate justification in LaTeX

I got some big latex source that compiles to a booklet that justifies text in an alternating manner, left-right-left-right, so that it's nice for printing I guess. How can you remove that? I can't share the entire thing, but it starts…
Babis
  • 147
  • 5
-1
votes
1 answer

How to group by name variable in TeX using RMarkdown?

This is what I have so far: `r Name` \begin{tabular}{cccccc} \textbf{ID} & \textbf{Code} & \textbf{Amount} \\ `r id` & `r code` & \$ `r amount` \end{tabular} \begin{flushright} \textbf{SUBTOTAL: \$ `r…
katcsc
  • 35
  • 1
  • 5
-1
votes
1 answer

printing repeated parts of file with awk

I would like to go through this file: \chapter{CHAPTER} TEXT \e h454 \e \e 454 \e \begin{figure} \NOTE{figure} \centering \includegraphics[width=0.49\textwidth]{f.pdf} \caption{\NOTEB{The concept}} \label{fig} \end{figure} SOME TEXT …
Archie
  • 93
  • 2
  • 9
-1
votes
1 answer

meaning of doublerule

what's the meaning of the term doublerule in the publishing industry? anyone can provide an example please.. Thanks :)
tigris
  • 107
  • 1
  • 8
-1
votes
2 answers

How to search a string for 1st occurrence of ":/" and then search all other occurences of the found substring inclusive ":/"?

A little explanation: I have a string like (from a commandline programm execution kpsewhich -all etex.src): c:/texlive/2019/texmf-dist/tex/luatex/hyph-utf8/etex.srcc:/texlive/2019/texmf-dist/tex/plain/etex/etex.src This string consists of 2 or…
CarpeDiemKopi
  • 316
  • 3
  • 13
-1
votes
2 answers

Python extracting specific line in text file

I am writing a code that read a large text file line by line and find the line that starts with UNIQUE-ID (there are many of them in the file) and it comes right before a certain line (in this example, the one that starts with 'REACTION-LAYOUT -'…
StudentOIST
  • 189
  • 2
  • 7
  • 21
-1
votes
2 answers

Document doesn't display the list of figures (LaTeX)

I have the problem that LaTeX doesn't show the List of figures and List of Listings. I don't know where the problem is. I'm working with TeXstudio and the code was defined as follows: \begin{document} \begin{lstlisting}[caption={Testcode is…
yuro
  • 2,189
  • 6
  • 40
  • 76
-1
votes
1 answer

Convert .tex file into PNG

Does any one here know how to convert a .tex file into png using perl? .tex file content: \begin{equation*} \quad\!{\rm BP}({\rm gCL}^{ - 1} {\rm h}^{ - 1} ) = {\rm mol}\;{\rm CL}^{ - 1} {{\rm h}^{ - 1}} _{{\rm inc}} \times 1797 \times…
Viin
  • 427
  • 1
  • 4
  • 9
-1
votes
1 answer

How to export R plots as TEX files?

Let's say I have a simple plot like this: mu = matrix(c(0,0),2,1) sigma = matrix(c(1,0,0,1),2,2) x = mvrnorm(1000, mu, sigma) plot(x,pch=20,panel.first = grid(10, lty = 2, lwd = 2)) How can I export this plot to a .tex file fromat? I mean…
Ash
  • 336
  • 4
  • 19
-1
votes
1 answer

I have trouble with my answer in "Uva tex quotes" (trouble with spacing)

I'm trying to solve UVAa Online Judge Problem 272 — TeX Quotes. Input will consist of several lines of text containing an even number of double-quote (") characters. Input is ended with an end-of-file character. The text must be output exactly as…
Felics
  • 1
  • 3