# Tag Info

8

The document \documentclass{article} \begin{document} \expandafter\show\the\font \stop puts the following information on the terminal and log \OT1/cmr/m/n/10=select font cmr10. showing that article is using the font cmr10 known to latex as \fontencoding{OT1}\fontfamily{cmr}\fontseries{m}\fontshape{n}\selectfont Just replace article by any class ...

6

My answer is probably not exactly what did you want (because you are asking for LaTeX solution and I give TeX solution) but I hope that this answer illustrates the typical usage of TeX. There are two persons: macro programmer who implements the macros by given typography design and the author who writes the text. The programmer tells to the author what ...

6

The primitive TeX parameter mathsurround is almost never changed, and tikz-cd clearly isn't expecting it to change but that class sets it to .8pt Setting it back to 0 seems simplest. (You could do it locally just around the tikz-cd) \documentclass{gtpart} \usepackage{tikz-cd} ...

3

use a main file of the form \documentclass[12pt]{article} \usepackage{lipsum} \title{dsjgk}% \author{gfdl}% \date{today}% \begin{document} \maketitle \section{first file} \input{body1} \section{second file} \input{body2} \end{document} then to have a document for just section 1 have \documentclass[12pt]{article} \usepackage{lipsum} \title{first ...

3

If the subfile has the same preamble than the main file (that means if it is ok that the subfile preamble is ignored) then you can use the standalone package: \documentclass[12pt]{article} \usepackage{lipsum} \usepackage{standalone} \title{dsjgk}% \author{gfdl}% \date{today}% \begin{document} \section{first file} \input{1} \end{document}

3

Use it this way: \documentclass[UKenglish]{lipics} %\documentclass{article} \usepackage{auto-pst-pdf} \ifpdf\usepackage{pstricks}\fi \begin{document} aaaa \begin{pspicture}(25mm,25mm) \psset{unit=1mm} \psframe(0,0)(20,20) \end{pspicture} bbbb \end{document}

3

I walked around my question with the following steps. It is not a clear tex solution, may be not suppose to be here, but in any way it is working. I tried to use with perltex, got some interesting errors. My Solution Preparation I prepare a perl script, to find desired reference and information belongs to that one, parsed into a variables, ...

3

Quick and dirty solution The package ifplatform provides four \if.... commands to check which system is underlying: \ifwindows \iflinux \ifmacosx \ifcygwin Please note, that shell-escape must be enabled, otherwise all \if... macros by the package return false! The basic question is, why one would use such a switch for encodings at all, as this is ...

2

(Note: I've revised this answer completely after the OP posted the code of the thesis class in question.) Thanks for posting the code of the thesis class you use. It turns out that this class file loads the pdfsync package, which is known to cause all kinds of problems. In my answer to an earlier posting entitled table badly too wide, I wrote the following: ...

2

You can just move the entire preamble into mystuff.sty then your documents can be of the form \docuemntclass{article} \usepackage{mystuff} \begin{docuemnt} ... That is the basic form of a package, later you can look into defining options and have \usepackage[something]{mystuff} if you need that, but you can add that later, or you may not need it at ...

Only top voted, non community-wiki answers of a minimum length are eligible