Hot answers tagged

6

You can't have an unescaped hash sign in non-verbatim fields in your .bib file even if you hide it in a \url command, where normally it does not cause harm. URLs should best be given in the dedicated url field (which you seem to have done anyway), which can handle evil characters such as # and friends, because it uses a special verbatim mode. You can then ...


3

Let's create a bunch of random text: \documentclass{article} \usepackage[margin=15mm,paper=a6paper]{geometry} \usepackage{lipsum} \begin{document} \sloppy\lipsum[1-50] \end{document} We'll call this work-of-art lipsum50.pdf. It consist of 25 pages of pure awesomeness, all of which is laid out on A6 paper with a 15mm margin. This should replicate your ...


3

(pdf)tex knows nothing about Unicode so you get whatever symbol is in position 32 in the current font, none of the classic tex fonts is Unicode encoded (they only have 127 characters per font) Even if you use xetex or luatex, which do use Unicode fonts you should not use \char32, tex does not use a character for space, it uses space of adjustable size. The ...


3

Run on the command line initexmf --edit-config-file pdflatex This will open a local pdflatex.ini in which you can put your save-size setting


3

I don't think that cmd.exe was ever directly allowed (in restricted mode). You need to run your document with --shell-escape. When I try your document I get a prompt in the window where pdflatex compiled the document. If you want a new cmd.exe windows you should probably use \immediate\write18{start cmd.exe} (again --shell-escape is needed).


3

Solution 1 As GoogleDrive does not support (yet) exclude patterns, but does support exclude folders, one option is to dump all output files to a separate folder (in the case of MikTeX you can alternatively specify this for all the output files except the PDF) and make sure that GoogleDrive doesn't sync that folder specifically. (And temporary and ...


2

I think this is what you want: \documentclass{article} \usepackage{xparse} \usepackage{hyperref} \DeclareExpandableDocumentCommand{\foo}{smm}{% \texorpdfstring {\IfBooleanTF{#1}{\textsf}{\textit}{#2}--#3} {#2-#3}% } \begin{document} \section{This is \foo{A}{B}} \section{This is \foo*{A}{B}} \end{document}


2

Hyperlinks should work just fine in a PDF/A document, using pdfx --- but please send me any example that you find where this is not the case. However active actions are forbidden in a PDF/X, which standard is intended only for accurate high-quality printing. One of the new features in pdfx (v.1.5.8) is to enforce this in PDF/X documents, by patching ...


2

Because space is a special entity used in TeX at level of "typesetting material" (it does not correspond to any character code in the font but it has its base dimension plus stretchability minus schrinkability) then Knuth decided that the slot declared for space in typical text fonts is "free" and he put special character here: the cross dash for polish l. ...


2

Although not a direct answer to your question because your layout will be recalculated, next time you may want to have a look at the bcor option of the Koma-script classes (e.g. scrbook). This option was specifically designed to add a binding correction like you seem to want.


2

It seems that exam has poor compatibility with hyperref. You just need to add a definition for \theHchoice, so hyperref will pick up this instead of \thechoice. Using \arabic{question}.\arabic{choice} will ensure a unique tag. \documentclass{exam} \usepackage{hyperref} %% keep hyperref happy \newcommand{\theHchoice}{\arabic{question}.\arabic{choice}} ...


1

You can experiment with different bars (this one is from the slashed L \L) \documentclass[12pt,a4paper,titlepage,oneside]{book} % il faudra ajouter [final] à la fin \usepackage[utf8]{inputenc} \usepackage[ibycus,frenchb]{babel} \usepackage[T1]{fontenc} \usepackage{lmodern} \makeatletter \DeclareTextCommandDefault{\KK} ...


1

If you (a) reduce the values of the length parameters \arraycolsep, \thickmuskip, and \medmuskip and (b) use the bmatrix environment of the amsmath package instead of array environments, the equation and the equation number fit on a single line. \documentclass[12pt]{report} \usepackage{amsmath} \usepackage[vmargin=25mm]{geometry} ...


1

I propose to use the medsize environment (about 80 % of \displaystyle), from nccmath. Also I simplified your code, using the bmatrix environment: \documentclass[12pt]{report} \usepackage{geometry} \usepackage{mathtools, nccmath} \geometry{ top=25mm, bottom=25mm, showframe } \newcommand{\sss}[2]{_{_{#1_{#2}}}} \begin{document} Some text some text some ...


1

With pdfx.sty (v1.5.8) the following order of packages works also, provided you change the \usepackage[..options..]{hyperref} into \hypersetup{..options..}. \documentclass[twoside,a4paper,DIV15,parskip=off,9pt]{scrbook} \usepackage[a-1b]{pdfx} % Fonts and typesetting settings \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} ...



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