New answers tagged

1

I only have TeXlive. there are usually lots of fonts in your distribution. you can find the tfm folders. some files like pagdc8t.tfm are in there. then you can use it by saying \font\cs=pagdc8t. System fonts are also available in plain-tex, I recommend XeTeX, you can define using \font\t="[/System/Library/Fonts/Times.ttc]" at 11pt and there is a macro font-...


1

Answer is an expansion of a comment made by John Kormylo. To avoid getting the message "this does not look like a TDS; are you sure...", extract xcolor.zip into <dir>/tex/latex rather than just to <dir>/. cd to <dir>/tex/latex and pdflatex xcolor.ins to generate xcolor.sty. Using the MikTeX console to Settings->Directories, add the ...


2

A lot of the exe-files in the miktex bin folder are very small: they are simply wrappers. The "real" application code is in some dll (and/or some script), and the wrappers must find the "entry point". Sometimes after an update the entry point changed and the wrappers must be recreated. Normally miktex takes care of this, but it can fail for whatever reason. ...


1

TeX has it's idea that only letters can be part of longer (not one-character) command names. You can fool around redefining digits to be letters, or some such, but that will produce more problems than what it is worth. Just write out your numbers in e.g. Roman (XIX for 19 and so) or use some English abbreviation.


1

Based on @leandriis comment, this might be what you are looking for is Lable/Reference. For example: \documentclass[tikz]{standalone} \begin{document} This is some dummy Text, don't mind me. \begin{equation}\label{eq:1} 1+1 = 2 \end{equation} Please consider equation \ref{eq:1}. \begin{figure} \centering \includegraphics[...


2

I followed the explanation @Mensch gave me. However, there seems to be a problem with wildcards; asy must be run over jobname-*.asy and the wildcard causes trouble. For a final solution, I created a batch file in Asymptote's directory @ECHO OFF cd %1 "C:\Program Files (x86)\Asymptote\asy.exe" %2-*.asy echo. Then I set the post processing to C:\Program ...


1

Well, I do not know asymptote and you did not tell us which command is needed to run this software so I can only help you showing the right place where you have to add the needed command. There are two possibilities, depending on the need of when asymptote has to be run: before compiling the tex file or after compiling the tex file. Open TeXnicCenter, ...


1

Please always use package ctex when you are typesetting Chinese \documentclass[18pt, a4paper]{article} \usepackage{ctex} \usepackage{fontspec} % setmainfont 的依赖 \usepackage{geometry} \usepackage{color} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage[T1]{fontenc} \usepackage{setspace} \everymath{\...


1

I use TeXStudio with TeXLive and it works fine. Yesterday I was installing Julia, Atom, Juno, Anaconda and many other things and I also changed some paths in the environment variable of my computer. This caused my TeXStudio shows an exactly similar error as in the question here and also the question in the post in this link (click here). This is the error I ...


4

Try this: \documentclass{article} \newcommand{\test}{{abc}def} \begin{document} \uppercase\test \end{document} The output is Funny? A bit. The fact is that \uppercase is a TeX primitive that requires { after it. To this end, it expands tokens after it; any \relax token or space token is ignored and expansion is resumed. This expansion process ends as ...


7

latex provides \MakeUppercase because \uppercase will destroy lots of text, almost all text if you are using UTF-8 with non ascii letters. However the specific error here is \uppercase\chaptertitlename The braces are not optional, it has to be \uppercase{\chaptertitlename} hence the missing brace error that you show. But as noted above this will break ...


0

TeXstudio checks which packages are installed on startup. When you \usepackage one it didn't find, this is marked as "not found" (being underlined in green). When you install a package after starting TeXstudio, either using MiKTeX's install-on-the-fly feature or manually through the package manager, TeXstudio does not know about this. It will still mark the ...


1

I faced the same problem. What worked for me was: Remove the current installation from your computer location: C:\Program Files\MiKTeX 2.9 Right click on the MiKTeX installer file and "Run as administrator" Chose install for a single user instead of available for all.


0

for me it helped to simply restore the default settings in TeXstudio via "Options>Restore Default Settings". When choosing this option, TeXstudio then informs you that you have to manually restart TeXstudio after its settings have been restored to their default values and if you click okay, the program is closed. I opened TeXstudio again after this and ...


0

I was looking for an answer here: (related/duplicate question) Package babel Error: Unknown option `ngerman' For me on different Ubuntu derivates, this did the trick: sudo apt-get install texlive-lang-spanish %in my case -german (don't forget the "install" as in egreg's comment there, where I have this from) For Fedora/Debian please use sudo dnf ...


4

Taking the questions in order: It's up to you where you put the version number, but it's useful it both the .sty and .lua files contain some information on release number for debugging CTAN require some documentation, ideally a README and a PDF containing details; for TeX Live in particular you need to provide the source for the PDF too. MiKTeX and TeX Live ...


1

The developer outlined how to install the missing dll in the corresponding Github issue: Download the latest Visual C++ redistributable package from here. (Depending on your processor, that is the file vc_redist.x64.exe (64 bit processor), vc_redist.arm64.exe (64 bit ARM processor) or vc_redist.x86.exe (32 bit processor). Run initexmf --mklinks --verbose --...


1

I have the same problem, so I create folder: MiKTeX Download Files in C:\Users\yourusername\Desktop and follow the help on youtube: https://www.youtube.com/results?search_query=Tutorial-+Installing+LaTeX-MiKTeX+and+Texmaker+on+a+Windows+10+System+%28Version+2019 Thanks Dr. Manuel Kuehner (Germany)


0

I had the same problem on my installation and solved it running mpm --admin --update from a command prompt using Admin privileges. Once the update process completes, you should be able to run the console again.


Top 50 recent answers are included