Questions tagged [tex-general]

Aspects of TeX as it relates to the larger world of software or typesetting, or aspects of its general functioning or nature. This is not a default tag for questions that do not admit an obvious more specific classification; it specifically concerns TeX in general.

Filter by
Sorted by
Tagged with
4 votes
1 answer
170 views

A guide through the modern jungle of TeX

I have been a LaTeX user for about two decades now, with a basic knowledge of the internal mechanisms and quirks of TeX. If at the beginning of my learning curve things didn’t appear too complicated, ...
digital-Ink's user avatar
  • 3,063
0 votes
0 answers
55 views

Transferring the concepts "string" and "character" into TeX/LaTeX

(Looking at packages like l3string, xstring and stringstrings tempted me to post the following: ) The concepts "string" and "character" to me seem not well defined in (La)TeX. ...
Ulrich Diez's user avatar
  • 27.5k
1 vote
0 answers
57 views

TeX compiler with written privacy policy

I have a weird question: I am working at a public high school in New Hampshire, and I can't have any software installed on my school laptop unless the tech office determines that it does not violate ...
Justin Freeman's user avatar
1 vote
1 answer
60 views

more pages at one A4

How can I write a MWE (LaTeX source) that puts 6 pages along A4, three in each row, and at the same time, controls the spaces in between them and sizes of these ? EDIT Working on-line tool will be the ...
user2925716's user avatar
  • 1,920
0 votes
0 answers
56 views

How to create a LaTeX setup that updates as I type?

I was wondering if there was some program or collection of programs that could make it so I can type in LaTeX, and as soon as it sees a valid command, it updates the pdf, so I don't have to manually ...
AdmosJagashvili's user avatar
1 vote
1 answer
338 views

Is there any possibility to print a single tex file from a multifile project using a LaTeX compiler?

I would like to retain the multifile structure of my LaTeX projects, but journals usually require a single .tex file. Is there any way to print such a combined document as a 'cached' file with the ...
TobiR's user avatar
  • 574
0 votes
2 answers
487 views

What is LaTeX3 correcting in LaTeX2e? And, updates 2021 on LaTeX implementation on small mobiles OS? [duplicate]

There are so many things wrong with LaTeX2e according to the latest discussion, Why is LaTeX3 taking so long to come out?, from documentation to speed, inflexible kernel, etc. We are perhaps waiting ...
Ibiloye Abiodun Christian's user avatar
2 votes
1 answer
337 views

How to deal with relative paths in input files?

Say I have a a file File1.tex that I input in a file like Foo.tex: folder1/File1.tex: \begin{frame} This is file 1. \end{frame} Foo.tex: \documentclass{beamer} \usepackage{graphicx} \begin{...
mrbela's user avatar
  • 1,129
1 vote
0 answers
131 views

Is it legal to use LaTeX for restoring old books? [closed]

I wonder if it's legal to use LaTeX for restoring / digitizing of old books? Let say some old books (from 1950-1980), which have been published in paper only, and can be accessed only in the library ...
Araneus0390's user avatar
1 vote
0 answers
40 views

Strange behavior when using \f@size in an argument [closed]

I spotted this behaviour when pasting InkScape-generated LaTeX source directly into a LaTeX document. This source includes among other definitions the TeX command \f@size, surrounded by \makeatletter ...
mfg's user avatar
  • 489
10 votes
1 answer
473 views

A TikZ graph to teach LaTeX-related extensions

This question is a follow up and complementary question to File extensions related to LaTeX, etc Which is the main answer to some duplicates: Use of different output files in LaTeX (pdflatex) [...
FHZ's user avatar
  • 3,849
0 votes
0 answers
59 views

`LaTeX` documentation and reference guide [duplicate]

Is there anything such as LaTeX documentation? When I am looking for some syntax on google, I only get to forums, but never a site with actual documentation, such as when looking for the meaning of \...
atapaka's user avatar
  • 234
5 votes
1 answer
744 views

How exactly should I use LaTeX instead of word?

I know that this is not a typical question for this website but I guess the answers can be helpful for a lot of new users of Latex. I'm a PhD student in Chemistry. For the last couple of months I've ...
user avatar
2 votes
1 answer
147 views

What does the name “muglue” mean?

I'm wondering what muglue means in LaTeX and what it is an abbreviation/acronym of: m/u/glue. I have some idea though what glue in LaTeX means.
user2925716's user avatar
  • 1,920
0 votes
0 answers
463 views

Printing to PDF in Texmaker gives source code instead of rendered output

When I print to pdf, I do not get the actual pdf that is shown in TexMaker. Instead I get the "code" I used. Why is this? How do I fix it? I wrote my homework for my Real Analysis class in LaTeX and ...
M D's user avatar
  • 101
0 votes
0 answers
32 views

Is it possible, in theory, to take a file, let's say a pdf, created from a tex source file, and convert it to said tex source file [duplicate]

Put another way, is it possible to reverse the work done by the TeX engine? instead of going from source to file, going from file to source?
TMFMDC's user avatar
  • 1
0 votes
1 answer
46 views

Setting \linespread for a document, but not effect matrices

Here's my page, using a \linespread of 2. \documentclass{article} \usepackage{geometry} \geometry{ a4paper, margin=20mm, } \usepackage{bm} \usepackage{amsmath} \newcommand{\Mt}[1]{\bm{\...
whitelined's user avatar
2 votes
2 answers
303 views

Changing all occurences of $x$ into X

I would like to add a command to my document so that I could write 'X' in a document and it would be interpreted as '$x$' by compiler (because x is a mathematical variable that I use a lot). Can you ...
Piotr's user avatar
  • 21
1 vote
0 answers
36 views

What may change when I work on a platform like Slader? [closed]

I just started using LaTeX 2 weeks ago on a website called Slader. The website provides a platform on which you can upload your answers to many textbooks problems. However, I wonder if learning LaTeX ...
Alselvdor's user avatar
8 votes
1 answer
1k views

What advantage does *TeX provide over modern tools like HTML+CSS+js? [closed]

My answer would be 'not much' and I am considering porting *TeX to browser. Sorry if this is not exactly a question, but I don't know better places for collecting expert opinions. I think TeX's major ...
exprosic's user avatar
  • 189
24 votes
1 answer
7k views

Why doesn't LaTeX compile faster?

Looking at what computers can do when it comes to presenting graphics (think games, graphical user interfaces, and so forth), it almost comes of as a surprise to me that I often have to wait for ...
Speldosa's user avatar
  • 5,037
2 votes
1 answer
305 views

Define a command like \bfseries

I want to define a command that applies to all text within the current scope, like \bfseries. I need this, because the leadsheets package allows me to pass a label-format command to an environment, ...
Taxel's user avatar
  • 329
0 votes
2 answers
649 views

(parser related) removing \newcommand and \renewcommand without structural and contentual changes

I am trying to remove all \newcommands, \renewcommands, \newenvironments and \newenvironments in Latex files without any structural and contentual changes. As I understood the only purpose of these ...
John webner's user avatar
1 vote
1 answer
811 views

Landscape not setting appropriate text parameters

After upgrading to TL2018, increase the paper size (a3 or a2) or orientaion to landscape does not set the text sizes. You can see it when using the layout package (a4 and landscape in this example): ...
Niklas's user avatar
  • 610
1 vote
1 answer
56 views

Creating smaller files that are read and compiled by main tex file

I have some long tables which take large space in my main tex file. Can i get rid of it and transfer it to another file and indicate the main tex file to fill up the code from the external file. It is ...
user_1_1_1's user avatar
0 votes
2 answers
3k views

Formula Problem:Undefined control sequence

I make use of following website: https://www.codecogs.com/latex/eqneditor.php Here is the code: \documentclass[12pt]{article} \usepackage{mathtools} \begin{document} \begin{equation} R(u,\Gamma)=\...
user8151324's user avatar
1 vote
1 answer
1k views

ArXiv how it detects TeX generated pdfs even if metadata changed [closed]

ArXiv only compiles pdflatex for now. I have a paper that requires XeTeX. Whenever i upload it to ArXiv it shows that i should upload the sources because it detects that it is TeX generated. Any ...
NuminousName's user avatar
6 votes
1 answer
136 views

Producing a document with a lot of almost identical pages in the most efficient way

I want to make a document which consists of, let's say, one page, which has to be repeated 10000 times. On each repetition of a page a unique number will be added on the page (I won't show it in MWE, ...
Michael Fraiman's user avatar
1 vote
0 answers
746 views

Code generator for personal use [duplicate]

I am an extensive user of latex and being EE engineer I use circuitikz a lot. But it becomes a little inflexible once I start doing a complex circuit and hence I am taking an initiative to generate ...
rsg1710's user avatar
  • 143
45 votes
2 answers
91k views

Visual Studio Code as LaTeX IDE

List of LaTeX Editors/IDEs includes many text editors and IDEs, and even though Atom is present, I did not find anything relevant about Microsoft's Visual Studio Code. Is it also a viable option to ...
andselisk's user avatar
  • 2,665
8 votes
1 answer
474 views

Are there any organizations which use LaTeX for preparing their documents, other than universities?

TeX and LaTeX are widely used in academic disciplines. Are there other organizations which use LaTeX for preparing their documents? Since it is easy to create LaTeX files with scripts, it is a good ...
Mahmood Amintoosi's user avatar
16 votes
2 answers
5k views

Meaning of {} and [] in LaTeX syntax?

I'm somewhat new to LaTeX, and since I'm used to more traditional OO programming languages like Java, C, or Python this is bugging me as it seems like very basic syntax for LaTeX. I'm wondering if ...
Slayer0248's user avatar
2 votes
1 answer
355 views

Comment out `lstinputlisting` without actually removing them [duplicate]

I am wondering is there a way to hide or comment out all lstinputlisting from latex without actually removing them. My codes are all like this: \lstinputlisting[language=Python, caption=NewHope ...
Node.JS's user avatar
  • 685
3 votes
0 answers
998 views

Can LaTeX be a Replacement for Scratch Paper?

I am a university student and I want to begin using LaTeX for math/physics homework. What I want to do is be able to solve problems directly in LaTeX instead of solving them on paper and then typing ...
Nick M's user avatar
  • 41
1 vote
0 answers
173 views

How to add definition as item [closed]

I want to add definition as a list item. I have the script shown below. But it add the definition after a new line of the item's dot. This does not look right for me. I want the definition to be added ...
user6875880's user avatar
  • 2,133
3 votes
1 answer
473 views

OpenType MATH table constants

I'm developing an equation renderer, using the Win32 API and the MATH table. I understood most of constants defined in MATH table expect several one. Since Microsoft get most of ideas from TeX, I ...
Denis Sletkov's user avatar
0 votes
0 answers
30 views

Can I get (la)tex to "keep register"? [duplicate]

This is a general question about (La)Tex. Is it possible to configure/setup tex to make it "hold register"? To "hold register" is to ensure that the horizontal lines which all "normal/plain" text is ...
MTilsted's user avatar
  • 101
34 votes
2 answers
4k views

How does --------------------------- work?

When I type in --------------------------- into LaTeX, it sometimes generates a continuous line like this: However, if I don't have "sufficient" number of -, then sometimes the last - will not form ...
Fraïssé's user avatar
  • 3,089
1 vote
1 answer
3k views

Problem with \underline{} command! [duplicate]

I wrote the following commands: The following {\bf {\underline{Approximations}}} and {\bf\underline{Definitions}} is applied in further work The things comes out as: One is way down than other and ...
Love Grover's user avatar
2 votes
1 answer
965 views

Text turned into squares [closed]

I finished a previous LaTeX session with correct working file. When I opened it in the next time, all letters turned into squares. There is no .bac file in the directory. Is it possible to turn back ...
m15's user avatar
  • 121
2 votes
2 answers
484 views

Are there fiction novels written in LaTeX? [closed]

Are there fiction novels written in LaTeX? I am not interested in technical books, but in proper fictional novels.
dineshdileep's user avatar
  • 1,409
1 vote
0 answers
41 views

Checking Logical Correctness of a TeX Document [duplicate]

Is there a way to check the logical correctness of my TeX document? Suppose in the proof of Theorem 2.1 I refer to Theorem 3.5. I would call this logical incorrectness. This may happen when we ...
caffeinemachine's user avatar
2 votes
2 answers
7k views

Latex by using command lines in a terminal

Sorry for my silly question but I've always used latex from an editor and also with the most basic commands to write my math homework. Now that I need a few more resources to apply in my documents I ...
Daniela Diaz's user avatar
1 vote
1 answer
134 views

Detect when a white space is needed after calling a command

Say I have an expression I often use so I build a command shortcut to typeset it: \documentclass[11pt]{report} \usepackage{xparse} \ProvideDocumentCommand \es{s}{expression shortcut\IfBooleanTF{#1}{s}...
nadous's user avatar
  • 746
0 votes
1 answer
881 views

Bachelor's Degree with LaTeX. Instructions for a beginner

I want someone to direct me. I have a bachelor of science and I want to translate it in English with the LaTeX program.I was looking on internet to find something but the amount of information is vast....
Sakis's user avatar
  • 155
18 votes
2 answers
33k views

How should I install the fullpage package under Ubuntu?

I am using Ubuntu Software Center. I found the package, click Install and it says that the package is installed. BUT when I tried to compile my .tex file it says LaTeX Error: File `fullpage.sty' ...
user3371223's user avatar
1 vote
0 answers
4k views

Which package should I install to have the `fullpage.sty' file? [duplicate]

I am having the following error: File `fullpage.sty' not found. Which package should I install? Or more general question: when some file is missing, how should I find the right package?
user3371223's user avatar
6 votes
1 answer
515 views

Producing "glossy" documents

Without going into too much extraneous detail, currently our product manual is produced using some proprietary WYSIWYG editor, which has a bunch of limitations. I'm considering producing the manual ...
MathematicalOrchid's user avatar
15 votes
1 answer
27k views

Is there any way to set up \ceil and \floor macros without installing the mathtools package?

I can not install the mathtools package. Is there any way to create the \ceil and \floor macros without this package?
user3371223's user avatar
0 votes
0 answers
50 views

Is it possible to define shortcuts in text mode

I want to learn if it is possible to define some short cuts in text mode. For example instead of typing "topological vector space", "monotone convergence theorem" etc. each time in a text, is there a ...
MBYagbasan's user avatar