0

I am currently a new user of TeX studio, so i really don't know how to install packages ,particularly TikZ package, to TeX studio on my Computer. Also I am very open to suggestions about how can I start learning LaTex.

Thanks.

1

If you are on Windows, you can download & install LaTeX packages using either MikTeX or TeXLive.

If you are on Linux, you can download & install LaTeX packages using TeXLive. Another way is open terminal (Ctrl+Alt+T) and run command sudo apt install texlive.

Installing LaTeX packages require good internet speed and disk space (more than 2 GB).

To learn LaTeX, I would suggest you to look into Overleaf.

| improve this answer | |
  • Is TeX Maker suitable for installing these packages ? I installed TeX Maker shortly before ? – İlker May 28 at 14:19
  • TeXMaker, like TeXStudio are LaTeX editors. You can compile documents using them, once the TeX packages are installed. – Tanvir May 28 at 14:23
  • Tanvir, thank you so much ! – İlker May 28 at 14:44
  • Using texlive from the system is probably a bad idea because it installs fonts that end up exposed to the system. In the latest Ubuntu version, installing full TeXLive installs a version of the Roboto font htat messes with font rendering in Chrome. – Max Xiong May 28 at 19:17
0

If you are on Windows, you can install MikTeX. In the Texworks interface, you can simply write your document with \usepackage{tikz}; MikTeX will ask whether to install the package for you, and you will only have to accept it. You might need to look into you settings to fix this; I am no longer on Windows and cannot check it for you.

If you are on Ubuntu (I don't know about other Linux systems), and you want to install a package (say, tikz), open your terminal and type

sudo apt search tikz

It will provide you with a list of relevant packages and their names. In this particular case, the result is quite the list. I don't know any other way of working through this than find the package that seems most relevant, and if in doubt, google it (packages.debian.org usually provides the required info, in my experience). In this case, tikz seems to be in texlive-pictures. I believe this specific package is automatically installed with texlive, but if it were not, you could use the command

sudo apt-get install texlive-pictures

That'd do the trick.

| improve this answer | |
0

In TeXstudio on Windows with MikTeX installed, it is generally sufficient to write \usepackage{<package_name>} e.g. \usepackage{tikz} in the preamble (after documentclass{article} and before begin{document}). You do not need to directly interface with MikTeX.

For learning LaTeX, Overleaf is excellent. Other useful resources include Detexify, the TeXstudio user manual and CTAN (for comprehensive package documentation, where Overleaf is insufficient). Seeing as you're using Tikz, you may also find Tikzit useful.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.