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
2
votes
1answer
95 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 ...
2
votes
1answer
49 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.
0
votes
0answers
64 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 ...
0
votes
0answers
31 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?
0
votes
1answer
24 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{\...
2
votes
2answers
113 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 ...
1
vote
0answers
30 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 ...
7
votes
1answer
686 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 ...
21
votes
1answer
3k 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 ...
2
votes
1answer
98 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, ...
0
votes
2answers
117 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 ...
1
vote
1answer
244 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): ...
1
vote
1answer
42 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 ...
0
votes
2answers
2k 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)=\...
1
vote
1answer
643 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 ...
6
votes
1answer
115 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, ...
1
vote
0answers
300 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 ...
29
votes
2answers
45k 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 ...
7
votes
0answers
245 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 ...
16
votes
2answers
4k 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 ...
2
votes
1answer
63 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 ...
2
votes
0answers
410 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 ...
1
vote
0answers
107 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 ...
3
votes
1answer
313 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 ...
0
votes
0answers
28 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 ...
34
votes
2answers
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 ...
1
vote
1answer
1k 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 ...
2
votes
1answer
578 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 ...
2
votes
2answers
325 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.
1
vote
0answers
37 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 ...
2
votes
2answers
6k 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 ...
1
vote
1answer
84 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}...
0
votes
1answer
416 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....
13
votes
2answers
23k 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' ...
0
votes
0answers
468 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?
6
votes
1answer
387 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 ...
13
votes
1answer
23k 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?
0
votes
0answers
39 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 ...
1
vote
1answer
5k views

Typesetting “||” with Latex

I use "||" in some code listings and in normal text but it is not printed in either. How can I typeset "||" using Latex? I have tried escaping with "\" but it did not work.
3
votes
2answers
830 views

Obfuscate Latex command

Say I have a series of commands in my latex source \command1{blabla}, \command2{blublu}, etc... Is there a way to obfuscate these commands, so to maintain their behaviour but hide the actual name?
1
vote
0answers
161 views

File Inheritance Structure Possible?

Is it possible to make a kind of inheritance while working with big projects in LaTeX? I think of a tree like inheritance where each child (which are tex-files) inherits the packages and commands of ...
6
votes
1answer
966 views

Documentation Generator for LaTeX

Is there Documentation Generator for LaTeX like Javadoc for Java or Doxygen for C++? Especially when defining macros or environments for LaTeX-files throughout a big project it would be useful for ...
26
votes
1answer
3k views

Future of TeX and LaTeX

Disclaimer: typically soft question. I was reading about expl3 and LaTeX3 development and try to stumble something about overall future of LaTeX. All I can find is one article. The article mostly ...
3
votes
1answer
244 views

How to use poetrytex with cyrillic letters

I am trying to use poetrytex with cyrillic letters like this: \documentclass[11pt]{article} \usepackage{poetrytex} \usepackage[paperwidth=140mm,paperheight=210mm]{geometry} \begin{document} \...
27
votes
2answers
844 views

How to be 100% sure what you see is what everyone else sees?

I have been writing my formal documents, such as scientific publications, professional CV, cover letter and so on, with TeX. Basically, I write every important document with TeX. Whistle-blower ...
4
votes
0answers
158 views

What are the drawbacks of XeTeX/XeLaTeX vs standard LaTeX? [duplicate]

I'm planning to switch back to \LaTeX{}, but I would like to be able to use any .ttf font that I need. Back in the time I used to format any document with LaTeX I was comfortable with the terribly ...
47
votes
13answers
2k views

Which publishers use TeX and friends for a significant proportion of their published books?

Which publishers use TeX and derivatives (LaTeX, ConTeXt, and friends) for a significant proportion of their published books? Note that I am not asking about journals. I'll leave the interpretation ...
35
votes
6answers
2k views

Why is % the comment character?

I was reading a book about TeX macros and related features and I came across this rather trivial question... Can anyone explain to me why % is the comment character in LaTeX? Why this one and not ...
10
votes
1answer
2k views

Printing stamp albums

Is there any TeX package well suited for producing stamp albums? Some examples of stamp album pages can be seen here, here, here or here. In particular, captions can go anywhere around the frames ...
0
votes
1answer
134 views

Is there any advisory board in TeX world?

Is there any advisory board in TeX world?