Tag Info

New answers tagged

1

This is based on egreg's answer but is adapted to what I actually wanted to do. I'm afraid that my original question did not sufficiently explain the context and was therefore unclear. As such, I think egreg's answer a perfectly good one. However, in case it is useful to anybody else, I'm also posting the code which I came up with by adapting that answer. ...


1

If I understand well your requirement, standard methods suffice: \documentclass{article} \usepackage{graphicx,lipsum,color} \newcommand\rotbox[3][\dimexpr\height+\depth\relax]{% % #1 is the final height, #2 is the angle, #3 the contents \raisebox{\depth}[#1][0pt]{% \makebox[0pt]{% \rotatebox{#2}{\color{red}#3}% }% }% } \begin{document} ...


2

I don't think this is the full solution, but it's too long for a comment (and I've not figured out what could go wrong in here) Looking into documenation of geometry: reset sets back the layout dimensions and switches to the settings before geometry is loaded. Options given in geometry.cfg are also cleared. Note that this cannot reset pass and mag ...


1

When I first got in contact with LaTeX, I bought Lamport’s LaTeX: A Document Preparation System, but, alas, I found it too superficial and didn’t understand many (even basic) things. So, as I later took notice that all started with Knuth’s TeX, I felt that it might be the logical way to begin with looking at TeX. In consequence I bought Knuth’s The TeXbook, ...


16

Using datatool for the heavy lifting, and other packages for the formatting: \documentclass{article} \usepackage[margin=1in]{geometry} \usepackage{booktabs} \usepackage{datatool} \usepackage{longtable} \usepackage{lipsum} \usepackage{hyperref} \begin{filecontents}{\jobname.txt} This is the title for vuln 1, This explains the issues in question..., 8, INT, ...


4

This puts Ignoring \somethingstupid in the log and doesn't execute the package definition of \somethingstupid \documentclass{article} \def\zsomethingstupid{\somethingstupid} \let\znewcommand\newcommand \def\newcommand#1{% \def\ztmp{#1}% \ifx\ztmp\zsomethingstupid \expandafter\zz \else \expandafter \znewcommand \fi #1} ...


11

TeX has a fixed number (256 in classic TeX 32768 in etex and xetex and 65536 in luatex) of registers which store integer values. \newcount\c allocates the name \c to one of these registers, and classic TeX primitives like \advance operate on them, note that addition here involves assignment back to the register so it is not an expandable operation. LaTeX's ...


1

The first solution I can think is using [plain] template for title page. This template suppresses headers and footers, therefore how footline is defined doesn't matter. xlr8t doesn't explain if this option has been considered. Another solution which works in this case consists in inserting an empty beamercolorbox for title page: ...



Top 50 recent answers are included