I install Tex-studio. Then I install basic-miktex-2.9.5872-x64 but it does not support some package and does not install dictionary. Therefore I install Tex-Live from internet Tex-live. For Installing i followed the instruction of link. But still have problem texstudio does not install packages. It give error message while compiling it. Also the dictionary not install in it.

File ragged2e.sty' not found. Filelmodern.sty' not found. \usepackage

I am depressed with these kind of error messages but i cannot remove it. Please help me to resolve my issue. How can i Install all packages.

my latex code is:


\usepackage{mathtools, nccmath}
\newcommand{\C}{\mathbb C}
\newcommand{\Q}{\mathbb Q}
\newcommand{\Z}{\mathbb Z}
\newcommand{\R}{\mathbb R}
\newcommand{\F}{\mathbb F}
\newcommand{\G}{\mathbb G}



\parindent = 0pt
%\usepackage{nomencl} % For a nomenclature (optional; available from ctan.org)
\usepackage{amsmath,amssymb,amstext,amsfonts} % Lots of math symbols and environments
{\thmname{#1}\thmnumber{ #2}\thmnote{ (#3)}}%

{\thmname{#1}\thmnumber{ #2}\thmnote{ (#3)}}%
{\thmname{#1}\thmnumber{ #2}\thmnote{ (#3)}}%
\usepackage[pdftex]{graphicx} % For including graphics N.B. pdftex graphics driver

\linespread{1.05}         % Palatino needs more leading (space between lines)
% Hyperlinks make it very easy to navigate an electronic document.
\usepackage[square, numbers, comma, sort&compress]{natbib}


\newcommand*\Let[2]{\State #1 $\gets$ #2}



\renewcommand{\baselinestretch}{1} % this is the default line space setting




% Change page numbering back to Arabic numerals






\input{appendices/appendices}   % UN-COMMENT IF YOU NEED TO ADD APPENDICES


% B I B L I O G R A P H Y
% -----------------------

% The following statement selects the style to use for references.  It controls the sort order of the entries in the bibliography and also the formatting for the in-text labels.

% This specifies the location of the file containing the bibliographic information.
\cleardoublepage % This is needed if the book class is used, to place the anchor in the correct page,
                 % because the bibliography will start on its own page.
                 % Use \clearpage instead if the document class uses the "oneside" argument

\phantomsection  % With hyperref package, enables hyperlinking from the table of contents to bibliography
% The following statement causes the title "References" to be used for the bibliography section:

% Add the References to the Table of Contents


  • Texstudio is neither part of MiKTeX nor of TeX Live. See Dictionary for TeXstudio: “No dictionary Available” about installation of dictionaries. – Schweinebacke Aug 4 '17 at 9:37
  • You need to update your packages , solution for unix machine open terminal as root then type tlmgr update --all@sam – Biki Teron Aug 4 '17 at 9:37
  • ragged2e.sty and lmodern.sty are available as MiKTeX package and also as part of TeX Live. With MiKTeX use either the MiKTeX package manager to install them, or configure MiKTeX to install packages on the fly. With TeX Live they are part of the default (full) installation. If you've done a smaller installation use tlmgr to install them. – Schweinebacke Aug 4 '17 at 9:39
  • I install basic TeX Live. Is any way to install it complete? – sam Aug 4 '17 at 10:19
  • 1
    MWE(minimum working example) \documentclass{} to \end{document}@sam – Biki Teron Aug 4 '17 at 10:48

Your Answer

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

Browse other questions tagged or ask your own question.