{preamble} is everything before \begin{document} in a LaTeX document. It contains commands loading packages, definitions, and usually most style settings for a document.

learn more… | top users | synonyms

2
votes
2answers
52 views

Conditional preamble and pstricks problem \psTilt and \PstLightThreeDText

Look at the following MWE. \PassOptionsToPackage{export}{adjustbox} \documentclass{article} \usepackage{fancyvrb} \usepackage{graphicx} \usepackage{adjustbox} \newcounter{psextern} \makeatletter \...
7
votes
0answers
118 views

How to precompile preamble when using arara

A different tex question led me to a link regarding a precompiled preamble. I use arara for all of my runs. What is the correct procedure to use a precompiled preamble for each of the runs made ...
4
votes
0answers
102 views

How to follow the DRY (Dont Repeat Yourself) in multidoc?

What is the best way to keep the configurations and same content in different parts of the main document reusable from single location (e.g. from child document)? First idea was to have this ...
2
votes
0answers
125 views

What hyperref options should be used for correct Unicode output?

I am trying to work out which hyperref options allow all Unicode characters to display properly, and whether XeLaTeX, LuaLaTeX, and pdfLaTeX have different configuration requirements. The hyperref ...
2
votes
0answers
36 views

\include'ing a remote file

I am creating a small header file for students that they need to include in the preamble of their document. The changes are minor enough to not need a class file. However, I do not want them to ...
1
vote
0answers
32 views

Package Standalone Warning : Sub-preamble of file “myfile.tex” has changed. Content will be ignored. Please rerun latex

I am writing my resume on LaTeX, and I wanted to put a pie chart. I designed the pie chart on a standalone.tex and I wanted to bring it on the main using \input, but I have this message IN the ...
1
vote
0answers
33 views

Bolded digits in preamble

I compare two documents. Why in the first I have 2 bolded ?
1
vote
0answers
48 views

Hyperref and description environment

I am trying to put an hyperref command inside an item name in the description environment. The following MWE works as expected (this is what I am trying to achieve!): \documentclass{article} \...
1
vote
0answers
42 views

Personalize document headerwith a table - Lyx

I am trying to put a table as header of every page of my document. This is the cose I put in the Latex preamble setting of LyX: \usepackage{eso-pic} \AddToShipoutPicture{% \AtPageUpperLeft{% \...
1
vote
0answers
46 views

Compilation Emergency Error due to preamble (ShareLatex)

I'm fairly new to Sharelatex but I've made a fourth semester project in it before but this time the preamble seems to not be working at all even though I copied the exact sources from my fourth ...
1
vote
0answers
87 views

Error with custom definition

I am working on a file on multiple computers, laptop and PC. I am using TexStudio, same version on both. On the laptop, the file compiles fine, but on the PC I am having trouble. On the PC, when I ...
0
votes
0answers
28 views

conflicting packages -

I need help figuring out which packages are conflicting in my document. I get the error message at the lines 35 and 44: \T already defined' and \U already defined' My preamble includes: \...
0
votes
0answers
18 views

changing cross-references' names in LyX 2.1.0

Salut. I am writing an article in LyX 2.1.0 in a language other than English. How do I change the cross-references' names, eg. from "Figure 1" or "equation 1" to "xxx 1" and "yyy 1" ? I have been ...
0
votes
0answers
23 views

Prevent line breaks after specific words in general

I am sorry if this is duplicate but I couldn't find it... or, more specifically, I've found something even more general, but I didn't understand a word from it :D Prevent line-breaking after short ...
0
votes
0answers
38 views

Problem with a table in the header of document - LyX

I am trying to put a table as header of every page of my document. This is the cose I put in the Latex preamble setting of LyX: \usepackage{eso-pic} \AddToShipoutPicture{% \AtPageUpperLeft{% \...
0
votes
0answers
44 views

Packages canceling each other? (Font-Changing problems)

I'm fairly new to Latex, and recently I started to compile my files with XeLaTeX (because I learned that would be helpful since sometimes I need to type some texts in Japanese), but recently I caught ...
0
votes
0answers
99 views

\RequirePackage{tikz} in dissertation .cls file

I'm trying to edit the standard .cls file provided by my university towards dissertations to include TikZ pictures. I tried adding \RequirePackage{tikz} in the class file and separately, adding \...
0
votes
0answers
285 views

Comments in preamble causing errors in build with “pre-compiled” format file using mylatexformat?

Consider the following MWE - nearly the same as in Failure with [greek] babel and lastpage, \frontmatter?, but not exactly - where I have a large document, for which I wanted to generate "precompiled ...
0
votes
0answers
151 views

How to input multiple files with specific preambles?

I am finishing my thesis and I need to include all of these minor, standalone project into one pice. However, I have trouble how to bite this problem. I found many "how-to-input-files" questions but ...