Questions tagged [document-configuration]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
38 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!
user avatar
1 vote
0 answers
51 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 ...
user avatar
  • 1,372
0 votes
1 answer
64 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 ...
user avatar
  • 103
1 vote
1 answer
422 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 ...
user avatar
0 votes
1 answer
94 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 ...
user avatar
  • 145
4 votes
1 answer
109 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 ...
user avatar
  • 10.9k
2 votes
1 answer
131 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: ...
user avatar
  • 10.9k
0 votes
0 answers
21 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?
user avatar
0 votes
0 answers
82 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. ...
user avatar
1 vote
1 answer
379 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 ...
user avatar
1 vote
0 answers
120 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 ...
user avatar
  • 799
1 vote
1 answer
149 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 ...
user avatar
  • 799
3 votes
2 answers
3k 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[...
user avatar
  • 183
2 votes
1 answer
562 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'...
user avatar
0 votes
1 answer
120 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 ...
user avatar
  • 3,806
1 vote
1 answer
284 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 ...
user avatar
  • 1,193
2 votes
1 answer
1k 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 ...
user avatar
0 votes
1 answer
75 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 ...
user avatar
  • 1,193
1 vote
0 answers
95 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, ...
user avatar
  • 1,193
4 votes
1 answer
2k 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, ...
user avatar
2 votes
1 answer
130 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, ...
user avatar
  • 1,613
1 vote
0 answers
177 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 ...
user avatar
1 vote
1 answer
653 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 ...
user avatar
  • 929
0 votes
1 answer
34 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{\...
user avatar
1 vote
1 answer
6k 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 ...
user avatar
2 votes
1 answer
586 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 "...
user avatar
  • 53
2 votes
2 answers
768 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 ...
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{...
user avatar
  • 177
1 vote
1 answer
32 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 ...
user avatar
0 votes
1 answer
1k 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. ...
user avatar
  • 447
1 vote
0 answers
122 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 ...
user avatar
2 votes
1 answer
411 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
  • 897
0 votes
1 answer
147 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 ...
user avatar
0 votes
0 answers
160 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 ...
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{...
user avatar
  • 570
3 votes
1 answer
311 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 ...
user avatar
  • 31
3 votes
1 answer
3k 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. \...
user avatar
  • 655
6 votes
3 answers
317 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} \...
user avatar
  • 163
2 votes
0 answers
56 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 ...
user avatar
8 votes
4 answers
7k 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 ...
user avatar
  • 327
0 votes
2 answers
1k views

Standalone chapters with separate references and counters

I'm looking for a convenient way to integrate standalone chapters in a main.tex (scrbook) file. More specifically, they will be already published papers within a thesis framework text and should each ...
user avatar
  • 83
1 vote
1 answer
504 views

SumatraPDF, how to configure negative page spacing? [closed]

The file SumatraPDF-settings.txt has an option to change the PageSpacing in the FixedPageUI configuration, it accept values ranging from 0 to (very high number). The question is, if possible, how to ...
user avatar
5 votes
1 answer
13k views

How to change the 'Section' title and its arrangement in a LaTeX document

I am handing in an assignment that is structured by exercises, rather than sections. I have already written my responses using the \section{} command and would now like to structure the final output ...
user avatar
1 vote
1 answer
280 views

tightly packed tables in a page

I have many tables that I want to squeeze in one page. The output of my current code shows lot of space between two tables. I want to reduce the space between the tables as small as possible and want ...
user avatar
  • 281
1 vote
0 answers
453 views

Setup document such that one page contain 2400 keystrokes? [closed]

How do I format a page in LaTeX such that it will only contain 2400 keystrokes? Anyone who knows how the preamble should look like?
user avatar
6 votes
2 answers
940 views

Need to produce one tex document in multiple volumes

I have a very large document (1000+pages) that I need to produce as four separate volumes. I'm using Texmaker and TeXLive on a Win7 PC with the book class (too late to switch to memoir), and each ...
user avatar
  • 376
1 vote
1 answer
1k views

Cannot compile PDF [closed]

I was using Texmaker on Linux for a couple of internships, now I moved to Mac OS X, and I'm really not a pro user with such an OS. I've already read the user manual and I've checked here to find out ...
user avatar
3 votes
2 answers
401 views

How to typeset a smaller size book with trim marks from letter paper stock?

How could I use the memoir package (or anything else, that's just what came to mind) to output a letter paper size document, but typeset with a different page width (9" by 7" in my case) with a trim ...
user avatar
  • 2,774
4 votes
2 answers
415 views

References as text decorations (using multiple files)

I would like to draw a picture in which a line connects two points. Along this line, there should be a text "x", where x is the number of a specific equation in another document. Unfortunately, I am ...
user avatar
  • 41
0 votes
0 answers
9 views

recognizing custom packages in latexmkrc [duplicate]

I have a file, jtc.sty, that houses all the repetitive stuff that normally goes into a latex document (usepackage statments, turning paragraph indent off, and some formatting stuff) that I include in ...
user avatar
  • 195