Tag Info

New answers tagged

7

The following command may surprise you, because it achieves in a single pipeline what you want (or at least, it achieves what I think that you want). The command fits into a single Tweet even :)     : pandoc test_dummy.tex -f markdown -t html | grep -E '(^<|^$|^ *$)' \ | grep -v "^<p" | pandoc -f html -o tables.pdf Or, to format it a bit ...


1

If you're not using any sectional packages, then you can patch \@sect - used by all (unstarred) sectional commands to set the heading: \documentclass{article} \usepackage{etoolbox} \makeatletter \patchcmd{\@sect}% <cmd> {\@xsect}% <search> {\label{sec:#8}\@xsect}% <replace> {}{}% <successs><failure> \makeatother ...


0

My sources and generated files are in separated directories. Running mhp's solution I got the error: (require "doc.xdy") ERROR: Could not find file "doc.xdy". Then I extended the solution to: file: conf/glossaries.latexmk ----------------------------- print("LATEXMK: Glossaries Módule...\n"); use File::Basename; add_cus_dep('glo', 'gls', 0, ...


1

\documentclass[10pt]{lettre} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[french]{babel} \usepackage{datatool} % Adjust margins for aesthetics \addtolength{\voffset}{4cm} \makeatletter \newcommand*{\NoRule}{\renewcommand*{\rule@length}{0}} \makeatother \date{\today} % Date of the letter \providecommand{\mclosing}[1]{ \protect #1 } ...


3

You have three problems: There is no \fromname defined; You start with \begin{letter} and end with \end{lettre}; Since you're excluding an email address, you should remove the last comma in the list of fields specified for \DTLforeach{<db>}{<list>}{..}, otherwise datatool expects something. And that something can't be blank. So this is what ...


1

\documentclass[a4paper]{article} \usepackage[margin=2cm]{geometry} % Just for this example \setlength{\tabcolsep}{0.5cm} \newcommand\myelement{\rule{1cm}{0.5cm}} \newcommand\xelement{\makebox[2cm]{\myelement}\hspace{0pt}} \begin{document} Suppose each element width is 1 cm. The whole page is 21 cm - 2*2 cm = 19 cm and therefore can contain (19 cm / (1 cm ...



Top 50 recent answers are included