Tag Info

New answers tagged

4

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 ...


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 ...


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 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 ...


0

You may find it useful to refer to this link: http://WritingForResults.net/classic.pdf. This file introduces the concept of a briefing note and explains its significance. It then provides detailed guidance on the content, organization, format and style of briefing notes. Finally, it provides guidance on how to approach the task of writing a briefing note. ...


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} ...


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 ...


0

An example you might want to use: http://www.latextemplates.com/template/moderncv-cv-and-cover-letter. Adapt to your needs, if you encounter any problems you can always come back here for help. You could also try to use parts of these other templates: http://www.latextemplates.com/cat/curricula-vitae For document class it uses {moderncv} with options 11pt, ...


3

(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: ...


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 ...



Top 50 recent answers are included