New answers tagged

0

Improving the accepted answer, if you want to be able to compile your murfitt-graphs.tex, write this instead: \documentclass{article} \usepackage{pgfplots} \usetikzlibrary{calc} %------------------------------------------------------------------------------- % Escape command \newcommand{\GRAPH}[0]{} \newcommand{\ENDGRAPH}[0]{} %-----------------------------...


0

I had a similar problem some time ago. As it turned out, the issue was not LateX but the editor. When editing from different platforms or editors, make sure that each user is saving their files in the same encoding. In my editors: TeXstudio and Texworks, it's at the bottom right of the editor: It has to indicate UTF-8.


2

One option is to disable the header using the nochapter package option, and write your own header manually with the desired size and style. \documentclass{scrartcl} \usepackage[nochapter]{vhistory} \begin{document} \noindent\textbf{Version History} \begin{versionhistory} \vhEntry{0}{\today}{XY}{First release.} \end{versionhistory} \end{...


0

For me (using TexStudio) the solution was to add german in the \documentclass options and delete the command \usepackage[german]{babel} It Works: \documentclass[a5paper,german]{article} \usepackage[utf8]{inputenc} \begin{document} It doesn't: \documentclass[a5paper,german]{article} \usepackage[utf8]{inputenc} \usepackage[german]{babel} \begin{document}


4

You can use a conditional: \ProvidesPackage{aachh} \newif\ifaachh@array \DeclareOption{array}{\aachh@arraytrue} \ProcessOptions\relax \ifaachh@array \RequirePackage{array} \fi \endinput or define a macro \ProvidesPackage{aachh} \DeclareOption{array}{\let\aachh@array\@empty} \ProcessOptions\relax \@ifundefined{aachh@array}{}{% \RequirePackage{...


3

If you do “Search by file” in the CTAN home page and type umranda in the box, you'll be directed to https://ctan.org/search?phrase=umranda This should suggest to install both niceframe and niceframe-type1 With tlmgr from the command line you can do tlmgr show umranda and you'll get tlmgr: cannot find package umranda, searching for other matches: Packages ...


6

At the top of scratch3.sty you'll see a block of code that (mainly) does \catcode`\_11 and restores it at the end. that makes _ a letter so that \scr_normalblock is seen as a command with name scr_normalblock You are using the code in a scope where _ is a math subscript so \scr_normalblock is \scr _{n} ormalblock looking for an undefined command \scr


0

Quick and Dirty Complete Install At home. Download the latest standalone setup from miktexsetup-*.zip and extract it on your flash drive, say D: drive. The download packages on your USB flash drive in D:\latexpacks with: D:\miktexsetup_standalone.exe --verbose --local-package-repository=D:\latexpacks --package-set=complete download At the office. Install ...


1

A list of the icons is in the documentation of the academicons and fontawesome5 packages; see their CTAN pages: academicons, fontawesome5. If, OTOH, you're after a list of fields that altacv supports, the best resource I've been able to find quickly is the document class file itself, on Github, which has \NewInfoField{email}{\faAt}[mailto:] \NewInfoField{...


0

Apart from the wonderful answers that has already been provided, I would like to point one thing more. graphicx usepackage are capable of producing some "example images". What I meant by that is as follows: The usual way to include (the one that I do 😀) a figure is either to put the figure in the same folder where my .tex file is there or put in ...


0

I was having the same issue and installing texlive-science package solved the issue: sudo apt-get update -y sudo apt-get install -y texlive-science


1

Are you familiar with PTXprint? https://software.sil.org/ptxprint/ It uses XeTeX to publish Bibles and it is open-source. It's also quite possible that it already does what you need off-the-shelf.


1

You may want to instead use the datetime2 package which has built-in support for Portuguese with support for babel. The documentation is at https://ctan.math.illinois.edu/macros/latex/contrib/datetime2/datetime2.pdf If, however, you really want to use texdate instead, you'll need to define a number of macros to override the existing language support since ...


3

With an xymatrix I recommend a second arrow from A to B, but with a negative shift: The code would be: \xymatrix{ A \ar@<1ex>[dr]^a\ar@<-1ex>[dr]_b \\ & B} Here are three ways to do this with tikz-cd. All produce the same image: \begin{tikzcd} % Two arrows from A to B A\arrow[dr, "a", shift left=1ex]\arrow[dr, "b"', ...


0

You can use the sty file from here: arXiv-safe. It replaces allrunes.dtx \swdefault has been renamed to \swdefaultpatch The simplest is to save it to your working directory.


3

You don't need a cwl file to achieve this. All you need to is place the sty of your package in the folder for local packages in your installation directory: After that you have to update the file name database: TeXLive: run a texhash on your system, or update via the tlmgr. MiKTeX: open the MiKTeX console and follow these instructions (taken from here): ...


0

Problem solved by moving file mymath.sty from /usr/share/doc/opencv-doc/html/mymath.sty to /usr/share/texlive/texmf-dist/tex/latex/mymath (after creating the subfolder mymath) and running sudo mktexlsr.


Top 50 recent answers are included