Questions tagged [document-configuration]

The tag has no usage guidance.

1
vote
1answer
65 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 ...
1
vote
0answers
51 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 ...
17
votes
2answers
10k views

How can you maintain a documents master mode in Texmaker?

I am writing a project with texmaker, and i've separated it into several files, to keep it organized. But I run into the following problem - I have to define every startup that the main document is ...
1
vote
1answer
573 views

Merging several papers

This link seems to have the answer. But what does he mean by "Create a new document as a frame"? Also whatever it is how do you create it in TeXnicCenter? Baz \documentclass{article} \usepackage{...
2
votes
2answers
407 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[...
0
votes
0answers
41 views

\lstset equivalent for figures [duplicate]

I have some code blocks and captions in my document using lstlisting. I configure these using \lstset and \captionsetup: ... \captionsetup { ... } \lstset { ... } \begin{document} ... \begin{...
1
vote
1answer
88 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'...
0
votes
2answers
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 ...
0
votes
1answer
15 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 ...
1
vote
1answer
124 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 ...
1
vote
1answer
168 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 ...
0
votes
1answer
48 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 ...
1
vote
0answers
48 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, ...
2
votes
1answer
74 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, ...
0
votes
0answers
653 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, ...
1
vote
0answers
85 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 ...
0
votes
1answer
178 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 ...
0
votes
1answer
24 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{\...
0
votes
1answer
2k 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 ...
91
votes
1answer
10k views

Cute (child-friendly) document in LaTeX

My girlfriend is teacher at primary school, she's new using LaTeX and she needs to make a "cute document" for kids, but I don't know how change the following items to make them look nice for the kids: ...
62
votes
4answers
51k views

How to best use and compile multiple .tex files as part of same final document?

I have a large document which currently is comprised of a variety of .tex files. The mainfile.tex looks something like: %lots of total formatting stuff \include{Body/chapter1} \include{Body/...
2
votes
1answer
313 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 "...
2
votes
2answers
574 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 ...
1
vote
1answer
502 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{...
1
vote
1answer
29 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 ...
0
votes
1answer
414 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. ...
1
vote
0answers
96 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 ...
4
votes
1answer
826 views

Modular LaTeX document preambles and class files

I have been debating whether or not to ask this question as I don't intend to create an overly broad unanswerable, or solely opinion based question, but I have decided that there are probably some ...
2
votes
1answer
339 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 ...
0
votes
1answer
121 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 ...
0
votes
0answers
111 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 ...
18
votes
2answers
1k views

What's the best way to arrange LaTeX documents?

I am very new to LaTeX. First question I have is can latex do this? I have ~1000 verses Each verse has its meaning in English and Sanskrit. three authors commentaries on each verse. When I finish ...
7
votes
2answers
815 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{...
3
votes
1answer
226 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 ...
3
votes
1answer
1k 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. \...
5
votes
3answers
134 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} \...
2
votes
0answers
44 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 ...
7
votes
4answers
3k 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 ...
0
votes
1answer
293 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 ...
4
votes
1answer
5k 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 ...
1
vote
1answer
147 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 ...
0
votes
0answers
327 views

arara - How to see errors and pdf with in Texmaker Windows

How could we check the errors in TexMaker and also generate the PDF automatically? I am unable to do it for the moment. Using the following as comments I followed the installation process correctly ...
1
vote
0answers
389 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?
4
votes
2answers
577 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 ...
1
vote
1answer
677 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 ...
3
votes
2answers
301 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 ...
4
votes
2answers
351 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 ...
0
votes
0answers
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 ...
3
votes
1answer
164 views

Setting up a counter in Tex4HT Configuration to use in html

I want to add a collapsible panel header to some text, to do this I need to define some IDs, I can't use \thesubsubsection because it comes with dots (2.0.1 for example). So I want to use a simple ...
5
votes
1answer
237 views

Changing a tex4ht span class using Confiig file

I have my Table of contents as follows: <div class="col-sm-2" id="leftCol"> <div class="nav nav-stacked" id="sidebar"> <h3 class="likesectionHead">Contents</h3> ...