Questions tagged [document-configuration]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
76 views

Why does "Temporary page!" error occur?

At the end my document, I get a new page that contains, Temporary page! LATEX was unable to guess the total number of pages correctly. As there was some unprocessed data that should have been added ...
sigsegv's user avatar
  • 531
13 votes
2 answers
524 views

What is \DocumentMetadata? What key-value pairs does it take and when should I use it?

So, I stumbled across a document that began with, \DocumentMetadata{pdfversion=1.2} \nonstopmode\synctex=1 \documentclass{article} I have seen line 2 and 3 in the wild but I have never seen line 1 ...
sigsegv's user avatar
  • 531
1 vote
0 answers
68 views

Use tectonic with a latexmkrc file? [closed]

Is there a way to tell tectonic to use a latexmkrc file? I could not find anything in the docs.
a06e's user avatar
  • 1,038
0 votes
0 answers
143 views

TeXMaker compiles without error but pdf does not change

I installed MiKTeX 1.2 (MiKTeX 22.3) and TeXMaker 5.0.2 winX64. I used overleaf before but now I cannot find what is the problem here. When I run the project (which correctly works on my friend's ...
Keyvan Naj's user avatar
0 votes
2 answers
123 views

How to make all math in document significantly smaller?

I am creating a cheatsheet for an upcoming test, so far everything seems to be going fine (using a multicols layout). However, the fonts themselves seem to be too large, which makes the sheet too long....
Hitori's user avatar
  • 23
0 votes
0 answers
183 views

can't set path of texlive on ubuntu

I installed a full texlive by sudo apt-get install texlive-full then i added the fallowing code to ~/.bashrc, ~/.zshrc ~/.profile export PATH=/usr/share/texlive/2019/bin/x86_64-linux:$PATH enter ...
Mohammed jaidi's user avatar
0 votes
1 answer
57 views

Problem configurating the TOC

I had set the Table Of Contents (TOC) to display as shown in the attached screenshot, with the chapter number inside a square box. Everything was going perfect until the book surpassed 9 chapters. ...
Jesús Álvarez Lobo's user avatar
1 vote
0 answers
28 views

Is it possible to merge the documentclass file and the main tex file? [duplicate]

A normal TeX file looks something like this (MWE): \documentclass{article} \begin{document} Contents \end{document} In this case, one must have two files in order for the document to be compiled : ...
beaniehat's user avatar
4 votes
1 answer
128 views

Remove period between Appendix letter and figure number in Appendix captions

In the report class, figure captions appear as Figure A.1. I'm trying to get LaTeX to output Figure A1 instead (i.e., remove the period between the letter and the number).
Akul Bhatt's user avatar
0 votes
0 answers
20 views

Automatically generate "Reference leaflet" and Pedagogical book

I am writing a book on math, and I would like to support two ways to read it : The usual, pedagogical way, to write is in sequential, topological order : we introduce an operation we introduce a ...
nicolas's user avatar
  • 319
1 vote
1 answer
201 views

Is there a way to import content from a separate file?

I have the content in a separate text file. Is it possible to import that between the \begin{document} and \end{document}? Is there an include option in LaTeX? Thank you!
Zoltan King's user avatar
3 votes
0 answers
122 views

Is it possible to generate LaTeX documents from within a lua interpreter?

I'm curious about the possibilities LuaTeX offers. I understand LuaTeX is a sort of unified API which allows you to hook into the TeX engine and benefit from some abstractions which would make the ...
user32882's user avatar
  • 1,574
0 votes
1 answer
231 views

Can I hide parts of the text from the final output?

Is it possible to write a document where some parts of it are displayed or hidden in the output PDF on the basis of a flag? What I am tring to do is to write two documents of which one is an extension ...
Pietro's user avatar
  • 113
1 vote
1 answer
436 views

Configuration error: no conversion from undefined configuration value to string

I've updated the MiKTeX Console on admin this morning with all of the new updates. After this update, I haven't been able to do anything within the console. I've tried installing packages which fails ...
Sarah Chiodi's user avatar
0 votes
1 answer
171 views

Setting the tables under correct subsubsections

I am writing my master thesis via Latex and I am not able to put my tables under correct subsections. There is similar question and the suggestion was to use clear page but the problems is that the ...
F.O's user avatar
  • 165
4 votes
1 answer
118 views

ConTeXt: Replace tokens in document title option

Background Macros are autogenerated for a book's title and author name. The title can sometimes include TeX-specific tokens, such as ~ and ldots{}. Problem When setting the document properties, the ...
Dave Jarvis's user avatar
  • 11.4k
2 votes
1 answer
151 views

ConTeXt: Override global project value within a product

Background Looking to understand the definitive relationship between projects, products, environments, and components. Minimum Working Example Here's the directory structure showing the problem: ...
Dave Jarvis's user avatar
  • 11.4k
0 votes
0 answers
22 views

Error 'CBabstract' not found

I am trying to use document class \documentclass[b5paper,11pt]{CBabstract} but I have the following error: File 'CBSabstract.cls' not found. Could you please help?
Ксения Цочева's user avatar
0 votes
0 answers
273 views

In a LaTeX project (how) can I use more than one documentclass?

I know that this question is not new but the existing answers I found didn't work out for me. Right now I have a document with document class scrbook which is the master document for my thesis. ...
sampleuser's user avatar
1 vote
1 answer
713 views

How to automatically produce a separate title page?

Sometimes (in my field) a journal requires an anonymised version of the manuscript and a separate title page to be submitted. Other journals sometimes require other subsets of the overall document to ...
dothyphendot's user avatar
1 vote
0 answers
149 views

ConTeXt project structure: Component not linking to environment via product

Following the ConTeXt documentation enter link description here I should be able to use this project structure. test.tex \startproject * \environment test_env \product test_prod \stopproject ...
Denis's user avatar
  • 799
1 vote
1 answer
177 views

ConTeXt Project Structure: Add metadata to component

I am setting up a project structure for a new journal and I want to use a structure like the one in this answer. However, instead of using document:start I tried \startsetups component:start, but no ...
Denis's user avatar
  • 799
3 votes
2 answers
4k views

Template for Technical Manual / User's Guide using Memoir

I am making a Technical Manual using the memoir Class, since I heard it is very customizable. Far now I've got this: \documentclass[8pt,a5paper]{memoir} \usepackage[utf8]{inputenc} \usepackage[...
Dau's user avatar
  • 265
2 votes
1 answer
822 views

What Does A `.dtx` File Do? [duplicate]

Latex documents often come with a number of different files. What does a .dtx file usually specify? Please assume that the person reading your answer has next to no experience with using LaTeX. I don'...
IdleCustard's user avatar
0 votes
1 answer
174 views

Reading Theorem counter from another file

I am preparing a two part document (two separate TEX files, two separate PDF files), where the second part is a continutation of the first part. As such, numbering of Theorems, Lemmas etc. are resumed ...
hola's user avatar
  • 3,976
1 vote
1 answer
369 views

Is it possible to set the draft mode of a document AFTER \documentclass

I am using a precompiled preamble with the \documentclass inside. However, I sometimes want to change the document to 'draftmode'. Recompile the preamble everytime I am doing this is not so ...
SRel's user avatar
  • 1,273
2 votes
1 answer
2k views

How to nest multiple documentclass

I would like to create a running diary of documentclass 1 that constitutes multiple instances of documentclass 2, where preferred documentclass 2 is 'minutes'. I am aware of subfiles, but don't know ...
Pheasdrus's user avatar
  • 105
0 votes
1 answer
90 views

Print out all relevant document information. (Maybe a package?)

I starting to make a table which print out all for me relevant document information in one table like actual paper width, count of words, actual font size actual font type ... Is there maybe a ...
SRel's user avatar
  • 1,273
1 vote
0 answers
108 views

Problem with absolute path and [ngerman] babel?

I want to get rid of relative paths and defines a new command which point to the root folder of my project: \providecommand{\myPath}{C:/Users/xxx/Google Drive/WS_1819/Bachelorarbeit/_new/} However, ...
SRel's user avatar
  • 1,273
5 votes
1 answer
4k views

space between \exists and \forall

I'm writting maths papers. I do use a lot of $ \ exists ; \ forall $ but I have this problem, they glue the next caracter to them. It is really bad for comprehension... So, in my parameter folder, ...
Marine Galantin's user avatar
2 votes
1 answer
200 views

Clever way to manage and include SAT or any exam's historical questions? (partial include?)

Suppose, I am writing some handouts for students to prepare SAT (actually, it is some big exam in our country, not SAT). I have several .tex files, for example, polynomial.tex, conic sections.tex, ...
Eric's user avatar
  • 1,655
1 vote
0 answers
218 views

Is there something like an XPath to all the properties of a document in LaTeX

I'm trying to use LaTeX to format a document (I'm a casual user of LaTeX, in that I don't make my own document classes—but I can tweak them). I have set up a document using the standard LaTeX ...
user1172468's user avatar
1 vote
1 answer
847 views

Texstudio: Adding "additional shortcut" to a command that doesn't have one by default (specifically indent)

I have been migrating my (La)TeX writing from TexMaker to TexStudio to try out a more configurable program. So far I really like the additional control it gives me. There are a few shortcuts I use a ...
Jason's user avatar
  • 939
0 votes
1 answer
44 views

how put introduction in table of content without count like chapter

The introduction doesn't appear in table of content. How I can do it in the following example. \documentclass{book} %\usepackage{graphicx} \usepackage{tcolorbox} \usepackage{setspace} \renewcommand{\...
Andrey Vinajera's user avatar
1 vote
1 answer
7k views

Change the font size in the book class

I'm using thesis template of my University with pre-defined page properties. I need just to change the font size from 11 to 12. You can edit it directly through the sharelatex.com Link to my ...
Nikolay  Volkov's user avatar
2 votes
1 answer
780 views

Improving my preamble

I'm at that stage in my thesis where anything is a distraction, right now it's cleaning my tex preamble, my document layout is pretty much as perfect as I could want it. Any suggestions to use a "...
Padawan's user avatar
  • 53
2 votes
2 answers
803 views

\end{Document} No Line Here to End

I keep getting an error: line 44: There's no line here to end. \end{document} This error does not happen when I use the \maketitle command instead of \begin{document}environment. Can anyone ...
LarsaSolidor's user avatar
2 votes
1 answer
1k views

I keep getting the error missing \begin{document}. \ProcessOptionsKV[p]{Gm}.

It's compiling without producing a pdf. Additionally, it has been producing a page with just "chchchch" written on it. Here's a MWE: \documentclass{report} \usepackage[utf8]{inputenc} \usepackage{...
thorium's user avatar
  • 176
1 vote
1 answer
36 views

Including different sections of text based on different configuration

I'm writing a document in which will eventually be broken into different versions of different length. Most of the differences will just be which material is included in different versions. Is there ...
DilithiumMatrix's user avatar
0 votes
1 answer
2k views

Class file and style file structure

I'm trying to clean up a documentclass for documents produced in a course I'm teaching. It's evolved over about 15 years of various novices "just adding a little something" until it's a complete mess. ...
John's user avatar
  • 447
1 vote
0 answers
129 views

dealing with figures after appendices when writing elsarticle

I am writing a paper using elsarticle, in which I have to put all the figures individually in clear pages after the biblography and before the end of document. however since the I have appendices ...
KratosMath's user avatar
2 votes
1 answer
453 views

How can I render a LaTeX document without pages?

Almost always, I simply render electronic documents, so I don't need pages. Also, pages make it difficult to arrange images in a document. I want to draw TikZ graphs for my blog articles, and I don't ...
user avatar
0 votes
1 answer
156 views

how to remove duplicated sections in the generated pdf using MikTex and how to use \keyword command

For the following .tex I got an error on \keyword tag and after commented it I got another problem at the generated pdf file which is a dublication for the abstract at the end of the document as in ...
Student. Engineering's user avatar
0 votes
0 answers
168 views

How to define margin for pdf doc?

I have the problem that my output pdf has the wrong margin between left and right. you can see it in the pic below: The problem is, I need the opposite way. left have to be wide and right narrow. How ...
yuro's user avatar
  • 173
7 votes
2 answers
2k views

Choose documentclass according to condition

I would like to choose the documentclass according to a value. For instance, something like this \newcommand{\mode}{0} if (mode is 0) then \documentclass{...} else if (mode is 1) then \documentclass{...
minomic's user avatar
  • 590
3 votes
1 answer
365 views

LaTeX Report Template for Windows PdfTeX

I am very novice in LaTeX and would like to make similar documents (template) like the one referenced in the LaTeX template here. I would like to place the header, footer as in the similar fashion ...
Lucas's user avatar
  • 31
3 votes
1 answer
4k views

How to add two figures in the same row

I am trying to make two figures adjacent in the same row but have no idea how to do this. I used following tex code but it adds only one figure in a row. Kindly help me. Thanks a lot for the help. \...
monalisa's user avatar
  • 685
7 votes
3 answers
458 views

How to make a page bigger without affecting the text inside? (Useful for drafts with notes)

I have a document such as the following: \documentclass{article} \usepackage{geometry} \usepackage{lipsum} \usepackage{todonotes} \usepackage[english]{babel} \usepackage{showframe} \begin{document} \...
ssice's user avatar
  • 173
2 votes
0 answers
60 views

Poblems with minipages in LyX in main pdf file [closed]

I am writing my thesis in LyX. It is in the report class and have two chapters as child documents. Both chapters have objects on mini pages. Both chapters produce fine pdf independently. But in the ...
thaliana's user avatar
9 votes
4 answers
10k views

How to interpret the page layout in LaTeX using layout package?

I have used package layout to generate the page layout figure for both article and amsart class. It's quite curious that although different in values, the patterns for those two layouts are quite the ...
Zhang Ze's user avatar
  • 347