# Tag Info

2

Not a direct answer but rather a pointer to a possible route to a solution. Last year I developed a BibTeX style for a book catalogue bookdb.bst which involved extending one of the regular BibTeX files. Run texdoc bookdb to view the User Manual and possibly read bookdb.bst if you want the gory internal details. The User Manual doesn't describe the internal ...

0

The name of the fd-file is T1DejaVuSans-TLF.fd (see e.g. http://www.ctan.org/tex-archive/fonts/dejavu/tex). This means that the name of the family is DejaVuSans-TLF \documentclass{article} \usepackage[T1]{fontenc} \begin{document} \fontfamily{DejaVuSans-TLF} \selectfont Some text... \end{document}

0

The easiest way to deal with this is just to turn off Okular's automatic reloading, which can be done by going to Settings -> Configure Okular and unchecking Reload document on file change. With that setting unchecked, LaTeXTools will build your document and only update Okular once the compilation is complete.

1

I had this problem and none of the sites I visited helped. This is for linux. I was installing on a semi-incomplete backed-up image of a previous computer. My problem turned out to be the pre-existing config files in /etc/texmf/updmap.d This is what I did: Remove all tex packages: sudo apt-get remove texlive etc PURGE all tex packages: sudo apt-get ...

1

If you want to use csquotes you should make the quotes active, and input them (also the colon) without spaces as spaces can insert unwanted break points: \documentclass[12pt]{article} \usepackage[paperwidth=14cm,paperheight=20.5cm]{geometry} \usepackage{libertine}% use this font and geometry width to reproduce bad break \usepackage{ifxetex} \ifxetex ...

4

For babel, you have to use \frenchbsetup{og=«, fg=»}. For polyglossia, you have nothing to do, except the package inserts a breakable space (bug?), so in case the space does break, you have to insert an unbreakable thin space by hand (\,). % !TeX TXS-program:compile = txs:///xelatex/[--shell-escape] \documentclass[12pt]{article} ...

0

What do you think of this? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{enumitem} \begin{document} \begin{description} [font=\normalfont, labelwidth=2cm, leftmargin=\dimexpr\labelwidth + \labelsep, nosep]% \item[A] Hallo. Hallo. Hallo. Hallo. Hallo. Hallo. Hallo. Hallo. Hallo. Hallo. Hallo. Hallo. \item[AB] Hallo \item[ABC] Hallo ...

1

This creates a virtual page (text area) with \parbox and rotates it with \rotatebox from the graphicx package. This doesn't force a page break. The PDF rotation was stolen from UlrikeFischer and articmac. \documentclass{article} \usepackage{blindtext} \usepackage{graphicx} \usepackage{zref-abspage,zref-user} \makeatletter \newcommand{\setrotatepage}[1]% ...

2

Seems, that pdflatex doesn't accept files that have 2 adjacent spaces. To reproduce the problem create a file: a a.tex. Then: pdflatex ./a\ \ a.tex This is pdfTeX, Version 3.14159265-2.6-1.40.16 (MiKTeX 2.9) entering extended mode ! I can't find file "./a a.tex"'. For some reason it converted 2 spaces in the file name into 1 space. 1 Based on this answer to another question (suggested by @UlrikeFischer), I hit upon the atbegshi package, which lets you run things when a page is being typeset (in this case, adding the /Rotate 90 command to the PDF page). I originally tried to make do like this (simplified some things that seemed unnecessary from the original answer, as well as changing it ... 1 If I compile the example with TeX Live 2013, I get slanted type; with TeX Live 2014 (freezed after 2015-02-01) there's no slanted type any more. The reason is that the NewTX distribution underwent a major change on February 1, 2015. Here's the relevant part of the README file. Changes in version 1.4 1. All text fonts are now based on TeXGyre Termes, ... 1 To appear/disappear together with the image, the \checkmark must be placed on the same layer as the image. For this purpose, the example defines \layerCheckBox{<layer name>}{<layer internal name>}{on | off} For convenience, a command for creating radio buttons is also provided. From layers belonging to the same radio button group, only one ... 1 Considered suggestions in above comments I draw using TikZ (for exercise) the following graph: \documentclass[tikz,border=3mm]{standalone} \usetikzlibrary{arrows.meta,positioning,quotes} \begin{document} \begin{tikzpicture}[auto, node distance = 22mm and 66mm, MN/.style = {draw, text width=22mm, minimum height=16mm, align=flush ... 1 As others have already answered, I like to use hyperref. However, as my documents often have \author and \title commands I do not want to repeat myself in the package parameters. Luckily, hyperref also has a parameter for that. If you want it to read the information from your \author and similar tags, simply include it like this: ... 1 The problem is that you've hard-coded absolute positions for the nodes. This isn't a good way to go about drawing this kind of diagram. However, if you just want a quick fix, you can pass scale=<factor> to the picture. For example: \documentclass[border=10pt,tikz,multi]{standalone} \usetikzlibrary{arrows.meta} \begin{document} \begin{tikzpicture} ... 2 \clearpage starts a new page and causes all floats (tables, figures, &c.) so far appeared to be placed. Then \if@twoside (tests if you're in a two-sided document; if yes, it proceeds)\ifodd\c@page(tests if current page is odd; if yes, does nothing) \else% \hbox{}% (if no, puts an empty box on the even page) \thispagestyle{empty} % Empty header ... 0 \invisible is your new friend \documentclass{beamer} \setbeamercovered{transparent} \begin{document} \begin{frame}{Programming Basics} \texttt{Comments are followed by \underline{\hspace{2cm}}} \begin{enumerate} \item<1> ! \item<1> @ \item<1> :: \item<1-2> ; \invisible<1>{\item ... 0 This answer was lifted, almost verbatim, from Wynter Snow's excellent book TeX for the Beginner: \documentclass{article} \def\startline{\par\noindent} {\obeylines\obeyspaces\gdef\beginPoem{% \begingroup% \obeylines\obeyspaces% \let^^M=\startline}% \gdef\endPoem{\endgroup} \begin{document} \beginPoem \#6 \\ you \\ ... 2 So, as you discovered, you need a TeX distribution and you've installed that, which is great. A couple of other points. LaTeXTools and LaTeXing don't play well together. Among other things, their keybindings overlap. Choose between the two of them and uninstall the one that you do not want to use. It's possible that you haven't installed latexmk if you ... 2 Replacing \heightof with something defined and loading the required TikZ libraries, the code compiles just fine. \documentclass[border=10pt,tikz,multi]{standalone} \usetikzlibrary{arrows.meta,shapes.arrows,chains,decorations.pathreplacing} \begin{document} \newlength\myht \settoheight{\myht}{n-2$} \tikzset{% MyStyle/.style={draw, text width=25pt, text ... 9 The problem is that the section command sets a header. The problem is that the the CJK environments ends before the header is typeset and so the chinese chars are no longer set up. Using \clearpage makes the CJK-environment span two pages so that is is active when the header is typeset, but is clearly only a work-around. The second problem is that the book ... 11 It happens when latex tries to typeset the page heading. This happens at page shipout time; if the CJK* environment has ended before the last page ships out, the necessary definitions for doing the typesetting are gone, and you get this error. You see this clearly if you add \errorcontextlines=99 to your document (outside the CJK* environment please). Also, ... 3 You can either add the image within the node or add the image in its own node after the tree is drawn either directly or using tikz. Either way, you can do this either for specific nodes within the tree or for all nodes assigned a certain style. The image can be specified as part of the style or it can be determined when the style is used. The following ... 3 Forest is especially good at drawing compact trees and at automatically arranging the tree so that nodes and edges do not (in the vast majority of cases) collide. Of course, it will not magically make large things fit into small boxes, but it will make sure that large things begin in sufficiently large boxes. For example: ... 5 Be warned, this isn't an experts answer. It is an answer from an users perspective. The whole ecosystem of LaTeX has improved a lot: texlive comes with a package manager that really works (but I don't know exactly since which year). It is able to get specific packages from different repositories. Inverse search and forward search work under Linux and ... 0 First thank you for your consistent helps : Bolker, Bernard, cfr, Kormylo, Andrew Thank you for your comments. My old miktex is version 2.3 so that I may not be given from updating place, since it does not provide service. So fortunately I equip version 2.9 from web It works well with acrobat reader DC The following is my example. ... 1 Pandoc can use a number file formats (.bib, .ris, etc.) to generate your bibliography. Have a look at the documentation here. You need to put a header like: # References # into your .md document and your references need to look like: [^ref1]: See @Author1, p. 20. As noted in the comments, you also need to include --filter pandoc-citeproc to generate ... 6 Tools like Pandoc. Pandoc is able to convert Markdown to LaTeX. I like LaTeX's output, but I'm not really fond of writing LaTeX files. I guess more than 95% of the time Pandoc's Markdown is enough for me (esp. because it supports LaTeX math). In the end, the plain text input is much more readable than my former plain text LaTeX files. 0 Quick hack: add the following redefinitions to your file (all to the same value of whatever colour you want in the headlines, e.g. to get all light blue) \definecolor{green}{HTML}{6CE0F1} \definecolor{orange}{HTML}{6CE0F1} \definecolor{purple}{HTML}{6CE0F1} \definecolor{red}{HTML}{6CE0F1} \definecolor{blue}{HTML}{6CE0F1} \definecolor{brown}{HTML}{6CE0F1} ... 4 The outer$ are mostly irrelevant, because \texttt starts text mode, so you get exactly the same with \texttt{\lambda}: a standard math mode lambda in LuaLaTeX (provided math fonts have been initialized, which happens in your example exactly because math mode had started) and an error in legacy TeX engines and XeLaTeX. The \lambda macro is a \mathchardef ...

1

After lot's of searching I managed to get full support with a twitter based emoji set from here: https://github.com/alecjacobson/coloremoji.sty

7

I can get most of them e.g. with DejaVu Sans (but some are missing): %compiled with lualatex \documentclass{report} \usepackage{fontspec} \setmainfont{DejaVu Sans} \begin{document} How would I go about adding the large range of emotions (😀 😁 😂 😃 😄 😅 😆 😇 😈 😉 😊 😋 😌 😍 😎 😏 😐 😑 😒 😓 😔 😕 😖 😗 😘 😙 😚 😛 😜 😝 😞 😟 😠 😡 😢 😣 😤 😥 😦 😧 ...

0

Here is a working way to execute latex from PHP. The point is that functions as exec, shell_exec, passthru, etc. get no or a vary limited PATH variable. However, latex, pdflatex and others use the path variable to call other programs. We therefore need to set the path appropriately, for example as follows: passthru('PATH=/usr/bin:$PATH pdflatex file.tex'); ... 3 Not really a change to LaTeX itself but I see two major changes the new Online LaTeX editors like Overleaf is an important change in the way that we can create LaTeX documents. Services like Overleaf and Share LaTeX enable newcomers to get started without downloading and installing the software More and better instructional videos on services like YouTube ... 1 It is not very difficult to redraw lines. You only need enought suitable \tikzmark/\pgfmarks -- you can create them automatically with some counter. You can even use them in tikz commands before they are set to draw backgrounds. In a setup with automatic breaks you should put the \tikz-commands inside the cells to that they don't get separated from their ... 2 First of all, you should not base your font-specific configuration file on the global configuration file microtype.cfg, which is not supposed to be loaded twice (that's why you get all the warnings). Secondly, the name of the configuration file should be mt-phv.cfg (which is the name of the Helvetica font), not mt-helvet.cfg (which is just the package name). ... 2 you must not make a single factor decomposition (parfrac) but a factorization of the numerator and denominator then normalize all functions of the first order denominator are programmed with \ POamp {K} {tau} those of the denominator - \ POAmp {K} {tau} If root is specified \ POAMP {K} {-} tau and with bodegraph and the code ... 12 For me the biggest change is Lua(TeX): the ability to separate TeX's building blocks (processing the input / building the node lists / output). That way you can for example build a product that uses TeX's linebreaking and hyphenation algorithm and its superb output, but without its troublesome input language. With the minimal TeX file \catcode`\{=1 ... 0 You need some expandable macro. By the way the \protect in the MWE should not have been there. It had no effect and replaced by the correct \protected it would have had the effect of a non usable inside \qrcode \myget. \documentclass{article} \usepackage[ngerman]{babel} \usepackage[utf8]{inputenc} \usepackage{qrcode} \usepackage{xinttools} \xintForpair ... 2 I suggest using l3prop property lists for this cause. Access to their elements is fully expandable and thus usable in arguments. \documentclass{article} \usepackage{qrcode} \usepackage{xparse} \ExplSyntaxOn \prop_new:N \l_stefan_testmap_prop \prop_put:Nnn \l_stefan_testmap_prop {first} {blue} \prop_put:Nnn \l_stefan_testmap_prop {second} {red} ... 2 As moewe kindly pointed out, the installations of my packages (and just MiKTeX in general) was older than the observable universe. As such, I have just completely reinstalled MiKTeX -- which I am sure is overkill, but I digress -- and now my package versions are 3.9n for babel (2016/01/08) and v3.3 for biblatex (2016/03/03). That has (almost unsurprisingly) ... 5 One additional step, but might be of interest anyway: Add \pagestyle{empty} to the preamble, so you have pdflatex '\documentclass{article}\pagestyle{empty}\begin{document}\input{tab1}\end{document}' and then run pdfcrop article.pdf where article.pdf is the file made by pdflatex. This produces a file article-crop.pdf. pdfcrop is a command line tool ... 6 try this \documentclass[varwidth]{standalone}[2011/12/21] 2 Sorry, but nobody would use LaTeX if it forced such a horrible input code. Never disregard error messages you get when processing your input. Math formulas should be segregated inside$...$, like in the code below: \documentclass{article} \begin{document}$(A,B,\pi)$having: \begin{itemize} \item$A=\{a_{ij}\}\$: the state transitions probability matrix ...

2

Your issue is caused by the space in the file name of the file you are calling. As explained in Spaces in files names in \input or \includegraphics, you should use the double quote symbol " around the path. \documentclass{article} \usepackage{graphicx} \graphicspath{ {c:/Users/../Graphs/} } \begin{document} \includegraphics[scale=0.25]{"leeftijd ...

3

See, if the package copyrightbox can solve your problem. It is designed add image source to image: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage{caption} \captionsetup{justification = centering} \usepackage{copyrightbox}% <--- \begin{document} \begin{figure*}[!h] \centering ...

1

The following seems to work (no errors for 1 full day): All of the files pertaining to this question are in my Google Drive folder. While compiling, Google Drive sees that a new version of a file has appeared and starts synchronizing. This seems to lock the file, making it impossible to remove or change it in the mean time. PDFTeXify does multiple runs and ...

1

It seems you have an problem with your TeX distribution installation on your computer or you tried to install two different moderncv versions (1.5.1 and 2.0.0) on your computer. Please check this. Best would be to update your TeX distribution and afterwards check, that all packages (moderncv too) are up to date. How to do that depends on your operating ...

Top 50 recent answers are included