/media/bill/PROJECTS/System_maintenance/Tex/0_tex notes.txt www.BillHowell.ca 08Aug2018 initial This is for [work, searches] related to tex usage and installs For ways to [change, edit] pdf files, see : "/media/bill/PROJECTS/System_maintenance/pdf edits/0_pdf edits notes.txt" "/media/bill/SWAPPER/bin/pdf edits/0_pdf edits notes.txt" MAIN REFERENCES : TexStudio Menu -> Help -> Latex Manual https://www.sharelatex.com/learn/Main_Page https://www.tug.org/twg/mactex/tutorials/ltxprimer-1.0.pdf India group https://www.latex-project.org/help/documentation/usrguide.pdf Formatting summary, see : "/media/bill/PROJECTS/System_maintenance/Tex/0_tex formatting summary.txt" see also "/media/bill/PROJECTS/System_maintenance/Linux/pdftk notes.txt" To download packages : LMDE2 Software Manager, type in package name and see what pops up (eg Texlive-latex-extra & makecell) pdftex, pdflatex - are part of TeXstudio LibreOffice Write to LaTeX conversions : writer2latex, pandoc Microsoft Word to LaTeX conversions : go Word -> LibreWrite -> writer2latex -> LaTeX . or Word -> pandoc -> [HTML, LaTeX. ODT, etc etc] [foreground, background] colors, images : https://tex.stackexchange.com/questions/24140/installing-background-and-foreground-page-layers-with-tikz neat flow chart setup : https://www.overleaf.com/learn/latex/LaTeX_Graphics_using_TikZ:_A_Tutorial_for_Beginners_(Part_3)%E2%80%94Creating_Flowcharts neat diagram : https://tex.stackexchange.com/questions/327107/tikz-put-text-under-rectangle ********************************************************* ******************** 190621 Muhammad Ilyas mailChimp emails http://www.BillHowell.ca/Neural%20nets/Conference%20guides/Author%20guide%20website/Attendee%20downloads%20of%20conference%20papers.html Asim Iqbal Thunderbird : port 995 POP mail server http://www.BillHowell.ca/bash%20scripts/pdf%20edits/pdf%20insert%20[ISBN,%20copyright]%20by%20author,%20single%20paper.sh http://www.BillHowell.ca/Lies,%20Damned%20Lies,%20and%20Scientists/Comparison%20of%20basic%20physics%20concepts/ template generic 190704 all pages - cpyRgt, publnTitle, paperAuthor, [paper, page]Num, permissions.tex \node [xshift=4cm, yshift=-1cm] at (footerName.center center) {insert [ISBN,copyright]}; \node [xshift=0.0in, yshift=-1cm] at (footerName.center center) {insert permissions}; \node [xshift=0.0cm, yshift=0.4cm] at (footerName.south center) {insert copyright URL}; location .height width % +-----+ \begin{document} \thispagestyle{empty} \begin{tikzpicture}[remember picture,overlay] \node (headerName) [shape=rectangle, fill=red, minimum height=2cm, minimum width=\paperwidth, anchor=north west] at (current page.north west) {}; \node (leftMarginName) [shape=rectangle, fill=red, minimum height=\paperheight, minimum width=1cm, anchor=north west] at (current page.north west) {}; \node (rghtMarginName) [shape=rectangle, fill=red, minimum height=\paperheight, minimum width=1cm, anchor=north east] at (current page.north east) {}; \node (footerName) [shape=rectangle, fill=red, minimum height=2cm, minimum width=\paperwidth, anchor=south west] at (current page.south west) {}; \node [xshift=-11cm, yshift=0cm] at (headerName.center south) {insert publication title}; \node [xshift=4cm, yshift=-0.35cm] at (footerName.north west) {insert [ISBN,copyright]}; \node [xshift=-3cm, yshift=-0.35cm] at (footerName.north east) {insert paper no}; \node [xshift=-11cm, yshift=0.2cm] at (footerName.south center) {insert permissions}; \node [xshift=-11cm, yshift=-0.2cm] at (footerName.south center) {insert copyright URL}; \end{tikzpicture} ~ \newpage >> I removed ALL "remember picture," >> Screwed up overlays!! everything shoved off top of page +-----+ search "LaTeX tikzpicture and why is my first page overlay ignored?" https://tex.stackexchange.com/questions/95273/tikz-overlay-png-or-pdf-image-over-another-pdf-figure?noredirect=1 Somehow I need to clear the "memory" of tikz - I have to delete the existing output file BEFORE running script? This doesn't make sense?!! ************ 20May2019 OK - current LaTeX template (still need to adjust indent of [ISBN,copyright] : % /media/bill/SWAPPER/bin/pdf edits/test - draw [fore, back]ground color bands Howell draw rectangle.tex \documentclass[letterpaper,10pt]{article} \usepackage{nopageno} % +-----+ % from : https://tex.stackexchange.com/questions/24140/installing-background-and-foreground-page-layers-with-tikz % It's important to mention that \usepackage{tikz} must stay before \usepackage{geometry}! – yegor256 Jun 28 '16 at 1:13 \usepackage{atbegshi} \usepackage{tikz} \usetikzlibrary{backgrounds} % +-----+ \usepackage[left=0.75in,top=1in,right=0.75in,bottom=0.75in,verbose,nohead,nofoot]{geometry} \usepackage{etoolbox} \usepackage{textcomp} % +-----+ % must be in preamble - not in the body! \setlength{\parindent}{0pt} %\chead{} %\lhead{} %\rhead{} %\renewcommand{\headrulewidth}{0pt} %\renewcommand{\footrulewidth}{0pt} \usepackage[norule,symbol,perpage,bottom]{footmisc} \usepackage[pscoord]{eso-pic}% The zero point of the coordinate systemis the lower left corner of the page (the default). \newcommand{\placetextbox}[3]{% \placetextbox{}{}{} \setbox0=\hbox{#3}% Put in a box \AddToShipoutPictureFG*{% Add to current page foreground \put(\LenToUnit{#1\paperwidth},\LenToUnit{#2\paperheight}){\vtop{{\null}\makebox[0pt][c]{#3}}}% }% }% % +-----+ \begin{document} \thispagestyle{empty} \begin{tikzpicture}[remember picture,overlay] \node (back names) [shape=rectangle, fill=red, minimum height=19mm, minimum width=\paperwidth, anchor=south west] at (current page.south west) {}; \node [xshift=2in, yshift=0.6in] at (back names.south west) {978-1-7281-1985-4/19/\textdollar 31.00 \copyright 2019 IEEE}; \end{tikzpicture} % ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage \end{document} ************ 20May2019 search "LaTeX tikz node and how do I indent text?" +-----+ https://tex.stackexchange.com/questions/58878/tikz-set-node-label-position-more-precisely Good to know all the other ways to do this, but I have always used xshift=, and yshift= to move a node or label. The blue is the default, and the red is with the option [xshift=1.0cm, yshift=0.3cm], and the green (as suggested by percusse) is using an alternate syntax to specify the x and y shift as a vector [shift={(1.0,0.3)}]. enter image description here Code: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}[blue] \node [label={Label}] {Node}; \end{tikzpicture} \begin{tikzpicture}[red] \node [label={[xshift=1.0cm, yshift=0.3cm]Label}] {Node}; \end{tikzpicture} \begin{tikzpicture}[green] \node [label={[shift={(1.0,0.3)}]Label}] {Node}; \end{tikzpicture} \end{document} shareimprove this answer edited Jun 7 '12 at 20:10 answered Jun 7 '12 at 20:03 Peter Grill +-----+ https://tex.stackexchange.com/questions/22656/how-to-indent-a-paragraph-inside-a-tikz-node#22657 The easiest way is to put a minipage environment within the node, and to set \parindent to whatever indent width you want: \begin{tikzpicture} \node[draw,text width=9cm] { \begin{minipage}{9cm} \parindent=3em indent in paragraph long text long text long text... indent in paragraph long text long text long text ... \end{minipage} }; \end{tikzpicture} If you leave out the minipage, then your first paragraph will not be indented. You could force the indent by saying \indent before the first line: \node[draw,text width=9cm] { \parindent=3em \indent indent in paragraph long text long text long text... }; which would also work. The second way is probably more efficient for TeX (one fewer minipage to compute), but the first may be somewhat more robust. shareimprove this answer answered Jul 9 '11 at 3:25 Ben Lerner Or a more latex-y way: \setlength{\parindent}{3em}. In the second solution, only the first paragraph needs the \indent command. – Alan Munn Jul 9 '11 at 3:31 +-----+ search "LaTeX tikz node and how do I vfill text?" https://tex.stackexchange.com/questions/333282/how-to-put-text-above-a-node-point-in-tikz#333286 First, you can define styles for only specific nodes by \begin{tikzpicture}[scale=.7, mycirc/.style={circle,fill=blue!20, minimum size=0.5cm} ] and apply this style to a node by create it with \node[mycirc] at (0,0) {}; Then, you can create labels for a node with \node[mycirc, label={$x-1$}] at (0,0) {}; and you can define where this label is printed with \node[mycirc, label=right:{$x-1$}] at (0,0) {}; \node[mycirc, label=left:{$x-1$}] at (0,0) {}; \node[mycirc, label=above:{$x-1$}] at (0,0) {}; \node[mycirc, label=below:{$x-1$}] at (0,0) {}; or even in any arbitrary angle with \node[mycirc, label=165:{$x-1$}] at (0,0) {}; where 165 is the angle in degrees. 0 corresponds to right, 90 to above and so on. So, with these changes, a minimal working example (MWE) of your graph looks like this: \documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture}[scale=.7, mycirc/.style={circle,fill=blue!20, minimum size=0.5cm} ] \node[mycirc,label=left:{$x$}] (n1) at (0,0) {}; \node[mycirc,label=311:{$x-1$}] (n2) at (3,0) {}; \node[mycirc,label=above:{$x-2$}] (n3) at (1.5,3) {}; \draw (n1) -- (n2) -- (n3) -- (n1); \end{tikzpicture} \end{document} answered Oct 8 '16 at 22:56 hbaderts That is beautiful. Thank you: precisely what I was looking for. In the future I'll post with MWE. BTW, I didn't see how it's rendered in the markup help. Do folks just post a screen capture of their tex? – Andrew Falanga Oct 9 '16 at 16:44 Yes, the website can not render LaTeX code. I just compiled it in my LaTeX editor, and uploaded a print-screen of the result as an image. If you post an MWE, we can just copy-paste your code to our editor and start working, without having to think what packages are needed and so on. – hbaderts Oct 9 '16 at 17:36 +---+ https://tex.stackexchange.com/questions/117444/tikz-node-filling-with-text \begin{tikzpicture} [remember picture,overlay] \node[](name)[align = left, inner sep = 0] {\fontsize{42pt}{0pt}\selectfont{My Name} \\ \fontsize{20}{5pt}\selectfont{My function}}; \draw (name.north west) -- +(20cm, 0); \draw (name.south west) -- +(20cm, 0); \node[](about)[draw=black, thin, align=left,inner sep=0, right=5.0cm of name.north east, anchor=north west, text width=4cm, minimum width=4cm, text justified]{% \fontsize{12pt}{12pt}\selectfont{mymail@mail.com} \fontsize{12pt}{12pt}\selectfont{+45 555 555} \fontsize{12pt}{12pt}\selectfont{my adress} \fontsize{12pt}{12pt}\selectfont{zipcode City} }; \end{tikzpicture} edited Jun 16 '17 at 14:56 David Carlisle 505k4211521903 asked Jun 3 '13 at 15:09 FenryrMKIII ************ 19May2019 search "LaTeX and how do I specify the paper size?" https://www.overleaf.com/learn/latex/Page_size_and_margins Suppose you have to create a document in a4paper and the text shouldn't exceed 6 in width and 8 in height. To create it with geometry is easy, include this one line in the preamble: \usepackage[a4paper, total={6in, 8in}]{geometry} The parameters passed to the command determine the layout. In this case a4paper establishes the paper size and the total parameter determines the size of the text area. Note that ShareLaTeX uses a European LaTeX distribution, which produces documents in A4 size by default. search "LaTeX tikz and \begin{tabular}{r l}" ************ 19May2019 search "LaTeX and how do I turn off page numbering?" https://tex.stackexchange.com/questions/7355/how-to-suppress-page-number#7357 >> not much help http://kb.mit.edu/confluence/pages/viewpage.action?pageId=3907018 How can I get rid of page numbers in LaTeX? You can easily eliminate page numbers either throughout your entire document, or only on selected pages. Entire document In order to prevent page numbers from appearing on the pages of your LaTeX document, you should include the line \usepackage{nopageno} after your \documentclass line. This will prevent page numbers from being printed on all of the pages. selected pages If you wish to just prevent page numbers from printing on one page, you should put the line \thispagestyle{empty} in the text of the page you want to be printed without a page number. ************ 19May2019 test tikz - foreground & background colors +-----+ https://tex.stackexchange.com/questions/24140/installing-background-and-foreground-page-layers-with-tikz >> shows code edited Apr 13 '17 at 12:35, Community asked Jul 26 '11 at 15:17 Martin Scharrer Just do a document with given stuff /media/bill/SWAPPER/bin/pdf edits/test - draw [fore, back]ground color bands.tex Add material from /media/bill/SWAPPER/2019 IJCNN Budapest/Sponsorships/z_Old/Sponsors prospectus TexStudio 180809.tex WHAT!?!? search "LaTeX and Undefined control sequence. \end{document}" Tests in "/media/bill/SWAPPER/bin/pdf edits/" : Partial, gave errors test - draw [fore, back]ground color bands.tex OK, red lband too thin? test - draw [fore, back]ground color bands - original.tex AWESOME!!!! Works great to blot out area. Put into "/media/bill/SWAPPER/bin/pdf edits/template z placetextbox.tex" Now, test on N-19148.pdf run "/media/bill/SWAPPER/bin/pdf edits/pdf [copy file, erase cpyrght].sh" +-----+ https://www.latex-tutorial.com/tutorials/tikz/ \documentclass{article} \usepackage{tikz} \begin{document} \begin{figure}[h!] \begin{center} \begin{tikzpicture} \draw [red,dashed] (-2.5,2.5) rectangle (-1.5,1.5) node [black,below] {Start}; % Draws a rectangle \draw [thick] (-2,2) % Draws a line to [out=10,in=190] (2,2) to [out=10,in=90] (6,0) to [out=-90,in=30] (-2,-2); \draw [fill] (5,0.1) rectangle (7,-0.1) node [black,right] {Obstacle}; % Draws another rectangle \draw [red,fill] (-2,-2) circle [radius=0.2] node [black,below=4] {Point of interest}; % Draws a circle \end{tikzpicture} \caption{Example graphic made with tikz.} \end{center} \end{figure} \end{document} >> I just need a red rectangle at the bottom margin!! \begin{figure}[h!] \begin{center} \begin{tikzpicture}[line width=1cm,remember picture]% \draw [red,fill] (5,0.1) rectangle (7,-0.1) node [black,right] {Obstacle}; % Draws another rectangle \end{tikzpicture} \caption{Example graphic made with tikz.} \end{center} \end{figure} +-----+ search "LaTeX tikz and how do I specify a page position?" https://tex.stackexchange.com/questions/390618/how-do-i-specify-the-position-of-a-tikzpicture-on-a-page#390624 >> cool alignment of figures!! https://tex.stackexchange.com/questions/269844/tikz-full-page-with-absolute-node-positioning +-----+ Even BETTER!!! https://tex.stackexchange.com/questions/269844/tikz-full-page-with-absolute-node-positioning Note that nesting tikzpictures should be avoided if at all possible as it is known to cause problems. There is no need to change the geometry here: we can just use absolute coordinates relative to the page itself e.g. (current page.center) for positioning: \documentclass[a4paper,12pt]{article} \usepackage{tikz} \usepackage[left=5.2cm,top=2cm,right=1.5cm,bottom=2cm,verbose,nohead,nofoot]{geometry} \usepackage{etoolbox} \begin{document} \thispagestyle{empty} \begin{tikzpicture}[remember picture,overlay] \node (back names) [shape=rectangle, fill=blue, minimum height=40mm, minimum width=\paperwidth, anchor=south west] at (current page.south west) {}; \node at (back names.center) { \begin{tabular}{r l} A & B \end{tabular} }; \node (names) [shape=rectangle, fill=red, minimum width=\paperwidth, anchor=west] at ([yshift=8cm]current page.south west) { \begin{tabular}{r l} one & two \end{tabular} }; \end{tikzpicture} \end{document} The tabular is most easily centred by drawing it after the blue rectangle with a center anchor. Note that there is not much point in naming two nodes names. If you need to refer to the nodes, they need unique names. If not, they don't need names at all. shareimprove this answer answered Sep 27 '15 at 23:03 cfr ************ 19May2019 tikz - foreground & background colors https://tex.stackexchange.com/questions/269844/tikz-full-page-with-absolute-node-positioning It's important to mention that \usepackage{tikz} must stay before \usepackage{geometry}! – yegor256 Jun 28 '16 at 1:13 https://tex.stackexchange.com/questions/24140/installing-background-and-foreground-page-layers-with-tikz >> shows code edited Apr 13 '17 at 12:35, Community asked Jul 26 '11 at 15:17 Martin Scharrer \documentclass{article} \usepackage{atbegshi} \usepackage{tikz} \usetikzlibrary{backgrounds} \usepackage{lipsum} % Proof-of-concept % Later these would be numbered to allow multiple per page \def\mybgstart{% \tikz[overlay,remember picture] { \draw [yellow] circle (1pt); \coordinate (bgstart); }% \gdef\drawinbackground{\draw [yellow,line width=5mm] (bgstart) -- (bgend);}% } \def\mybgend{\tikz[overlay,remember picture] { \draw [blue] circle (1pt); \coordinate (bgend); }} \def\myfgstart{% \tikz[overlay,remember picture] { \draw [yellow] circle (1pt); \coordinate (fgstart); }% \gdef\drawinforeground{\draw [purple,line width=5mm] (fgstart) -- (fgend);}% } \def\myfgend{\tikz[overlay,remember picture] { \draw [blue] circle (1pt); \coordinate (fgend); }} \begin{document} \lipsum[1-3] % for comparison \clearpage \makeatletter \AtBeginShipout{% \setbox\AtBeginShipoutBox\hbox{% \color@setgroup \begin{tikzpicture}[line width=1cm,remember picture]% \path [use as bounding box] node [inner sep=0pt,outer sep=0pt] (A) {\box\AtBeginShipoutBox}; \begin{pgfonlayer}{background} \draw [green,line width=1cm] (A.north east) -- (A.south west); \drawinbackground \global\let\drawinbackground\empty \end{pgfonlayer} \draw [red] (A.north west) -- (A.south east); \drawinforeground \global\let\drawinforeground\empty \end{tikzpicture}% \color@endgroup }} \makeatother \lipsum[1] \mybgstart\lipsum*[2]\unskip\mybgend \lipsum[3] \myfgstart\lipsum*[4]\unskip\myfgend \lipsum[5-10] \end{document} +-----+ My approach for a similar effect. Declare the backgrounds globally for TikZ: \pgfdeclarelayer{background} \pgfdeclarelayer{foreground} \pgfsetlayers{background,main,foreground} Then a command to place "markers" within normal text: % place an inline node that is remembered for tikz % \tikzremember{} % note: you have to compile twice \newcommand{\tikzremember}[1]{{ \tikz[remember picture,overlay]{\node (#1) at (0,11pt) { };} }} and in the document use it: \tikzremember{bgstart}\lipsum*[2]\unskip\tikzremember{bgend} Now, i have TikZ nodes with the page and can just draw with them like i want and any layer i want. For example, one your big green line: \begin{tikzpicture}[remember picture,overlay] \begin{pgfonlayer}{background} \draw [green,line width=1cm] (bgstart.north east) -- (bgend.south west); \end{pgfonlayer}{background} \begin{pgfonlayer}{foreground} \draw [green,line width=1cm] (bgstart.north east) -- (bgend.south west); \end{pgfonlayer}{foreground} \end{tikzpicture} This technique is stolen from http://www.texample.net/tikz/examples/oxidation-and-reduction/ answered Aug 4 '11 at 14:03 beza1e1 Yes, that's the normal way to do it. The posts I linked in my answers also use code like this. The issue here is that the background and foreground layers are local to the picture and because the normal text is not part of that the background layer isn't placed behind the text. – Martin Scharre Aug 4 '11 at 14:11 ************ 09May2019 texlive, texstudio installs via LMDE3 Software Manager texlive - had crashed computer yesterday, today it went well texstudio - OK These symbols now work! \$ \copyright test with [USgv, CRWN] >> new copyrights don't appear for sed - replace 's/.../.../g' with 's#...#...#g' >> still not working Re-installed texlive LaTeX provides proper [$, copyright] symbols. I fixed up : "/media/bill/SWAPPER/bin/pdf edits/pdf insert [ISBN, copyright].sh" "/media/bill/SWAPPER/bin/pdf edits/pdf header.sh" including an upgraded testing setup. ************ 03May2019 texliveinstallation always fails!? I neglected to capture the error window WHAT A MESS - try Ubuntu install! https://tex.stackexchange.com/questions/216290/how-to-install-the-newest-texlive-version-on-linux-mint-17#234017 This answer also replies your last question about TeXLive 2014/2015 (that is cooking yet). In Mint usually you have not installed TeXlive base (as Ubuntu) so you don't need to uninstall anything before. You can download from the CTAN an iso file with the TeXLive 2014 compilation from here http://mirror.ctan.org/systems/texlive/Images/texlive2014.iso or if you prefer it, there is a script that you can use for install it too. In the case of the iso image, be sure you have installed the perl-tk library before because otherwise you won't be able to run the GUI of the installer. For TeXlive 2015 (available next summer) you can use a very similar path, now you can use TeXlive 2014 if you need the ultimate release of the packages. shareimprove this answer answered Mar 19 '15 at 14:38 Aradnix +-----+ https://community.linuxmint.com/software/view/texlive-full >> first download attempt failed >> 2nd download : fail texlive-fonts-extra fail texlive-pstricks-doc fail texlive-publishers-doc Winbdow : An error occurred The following details are provided W: Failed to fetch ftp://ftp.ca.debian.org/debian/pool/main/t/texlive-extra/texlive-fonts-extra_2014.20141024-1_all.deb Connection timeout [IP: 207.210.46.249 21] W: Failed to fetch ftp://ftp.ca.debian.org/debian/pool/main/t/texlive-extra/texlive-pstricks-doc_2014.20141024-1_all.deb Connection timeout [IP: 207.210.46.249 21] W: Failed to fetch ftp://ftp.ca.debian.org/debian/pool/main/t/texlive-extra/texlive-publishers-doc_2014.20141024-1_all.deb Connection timeout [IP: 207.210.46.249 21] W: Failed to fetch ftp://ftp.ca.debian.org/debian/pool/main/t/texlive-extra/texlive-latex-extra-doc_2014.20141024-1_all.deb My internet connection is too slow? >> have to do a build from tarball? +-----+ FireFTP to download : General : Host : tug.org; Port : empty; Protocol : FTP; Encryption : use plain FTP; Logon type : Anonymous; Advanced : Server type : default (autodetect); bypass proxy : empty default local dir : /media/bill/HOWELL_BASE/SysMaint_other/texlive; default remot dir : /tug.org/texlive/historic use sync browsing: empty Transfer settings : only Default selected Charset : only Autodetect selected Command: PASS ************** Response: 530 Sorry, max 10 users -- try again later Error: Critical error: Could not connect to server +-----+ https://www.tug.org/texlive/build.html TeX Live build procedure Building the executable programs included in TeX Live involves usual steps of downloading the TL sources, configuring, compiling, and installing. But there are some peculiarities, described here. TeX Live, unlike many other projects, ships precompiled binaries to TeX users. This web page is especially for the volunteers who contribute those binaries, but anyone who wants to build TeX Live from source may find it useful. The tlbuild manual has full details about the source organization (overview), how to build, etc. We have a mailing list specifically for discussion of build issues: tlbuild@tug.org. Feel free to join or peruse the archives if you are interested. On this page: downloading - building - deployment/testing - xz & wget - xindy - biber - asymptote - volunteers. +-----+ from tug : mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz to : /media/bill/HOWELL_BASE/SysMaint_other/texlive/2019 ************ 15Apr2019 Re-Install Tex live? http://tug.org/texlive/acquire-netinstall.html Installing TeX Live over the Internet TeX Live 2018 was released on April 28. For typical needs, we recommend starting the TeX Live installation by downloading install-tl-windows.exe for Windows (15mb), or install-tl-unx.tar.gz (3mb) for everything else. There is also a zip archive install-tl.zip (19mb) which is the same as the .exe. Although the .zip archive works fine on all platforms, the .tar.gz is much smaller, since it omits installation support programs needed only on Windows. The archives are otherwise identical. The above links use the generic mirror.ctan.org url which autoredirects to a CTAN mirror that should be reasonably nearby and reasonably up to date. However, perfect synchronization is not possible; if you have troubles following the links, your best bet is to choose explicitly from the list of CTAN mirrors (you'll need to append systems/texlive/tlnet to the top-level mirror urls given there to get to the TL area). After unpacking the archive, change to the resulting install-tl-* subdirectory. Then follow the quick installation instructions or read the documentation. If you need to download through proxies, use a ~/.wgetrc file or environment variables with the proxy settings for wget. TeX Live always uses GNU wget to download. With this network-based installation method, what gets installed is the currently available versions of packages and programs. This is in contrast with the other installation methods, which are kept stable between public releases. Sources: the live network installation does not include the hundreds of megabytes of sources for the compiled programs. The sources for the current release are on CTAN, and historical releases are also available, and of course current development sources are in the repository. ************* 15Apr2019 texlive-full installation via LMDE2 Software Manager - more tries Error message : The package 'texlive-full' could not be installed Traceback (most recent call last): File "/usr/lib/linuxmint/mintinstall/AptClient/AptClient.py", line 74, in _run cache.commit(acquire_progress_monitor, install_progress_monitor) File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 501, in commit res = self._fetch_archives(fetcher, pm) File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 330, in _fetch_archives return self._run_fetcher(fetcher) File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 309, in _run_fetcher raise FetchFailedException(err_msg) FetchFailedException: Failed to fetch ftp://ftp.ca.debian.org/debian/pool/main/t/texlive-extra/texlive-fonts-extra_2014.20141024-1_all.deb Hash Sum mismatch Failed to fetch ftp://ftp.ca.debian.org/debian/pool/main/t/texlive-extra/texlive-pstricks-doc_2014.20141024-1_all.deb Hash Sum mismatch Failed to fetch ftp://ftp.ca.debian.org/debian/pool/main/t/texlive-extra/texlive-publishers-doc_2014.20141024-1_all.deb Hash Sum mismatch Failed to fetch ftp://ftp.ca.debian.org/debian/pool/main/t/texlive-extra/texlive-latex-extra-doc_2014.20141024-1_all.deb Hash Sum mismatch 10:27 Same error : The package 'texlive-full' could not be installed Traceback (most recent call last): File "/usr/lib/linuxmint/mintinstall/AptClient/AptClient.py", line 74, in _run cache.commit(acquire_progress_monitor, install_progress_monitor) File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 501, in commit res = self._fetch_archives(fetcher, pm) File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 330, in _fetch_archives return self._run_fetcher(fetcher) File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 309, in _run_fetcher raise FetchFailedException(err_msg) FetchFailedException: Failed to fetch ftp://ftp.ca.debian.org/debian/pool/main/t/texlive-extra/texlive-fonts-extra_2014.20141024-1_all.deb Connection timeout [IP: 207.210.46.249 21] Failed to fetch ftp://ftp.ca.debian.org/debian/pool/main/t/texlive-extra/texlive-pstricks-doc_2014.20141024-1_all.deb Connection timeout [IP: 207.210.46.249 21] Failed to fetch ftp://ftp.ca.debian.org/debian/pool/main/t/texlive-extra/texlive-publishers-doc_2014.20141024-1_all.deb Connection timeout [IP: 207.210.46.249 21] Failed to fetch ftp://ftp.ca.debian.org/debian/pool/main/t/texlive-extra/texlive-latex-extra-doc_2014.20141024-1_all.deb Connection timeout [IP: 207.210.46.249 21] >> Is this [out of date, superceded]? texlive-pstricks-doc_2014.20141024-1 Failed to fetch ftp://ftp.ca.debian.org/debian/pool/main/t/texlive-extra/texlive-pstricks-doc_2014.20141024-1_all.deb Hash Sum mismatch ~10:50 Tried again 11% -> 11:14 17% << 11:21 error message (same as second above) +-----+ texlive-full installation via LMDE2 Software Manager - LMDE2 description Details: Version: 2014.20141024-2+deb8u1 Size: 700MB to download, 3GB of disk space required Impact on packages: The following packages would be installed: fonts-ebgaramond, fonts-lobster, pmx, ttf-adf-gillius, dvipng, texlive-lang-czechslovak, fonts-comfortaa, texlive-humanities-doc, texlive-lang-french, texlive-lang-polish, fonts-gfs-solomos, texlive-science-doc, latex-cjk-all, fonts-gfs-olga, texlive-lang-japanese, latex-cjk-korean, texlive-science, prerex, latex-cjk-common, latexdiff, fonts-cabin, fonts-lato, texlive-pictures-doc, texlive-lang-cjk, fonts-crosextra-caladea, prosper, fonts-gfs-porson, fonts-gfs-neohellenic, fonts-crosextra-carlito, texlive-generic-recommended, latex-cjk-japanese-wadalab, fonts-junicode, texlive-formats-extra, pfb2t1c2pfb, fonts-lobstertwo, texlive-lang-korean, texlive-fonts-extra, ttf-adf-accanthis, fonts-linuxlibertine, fonts-gfs-complutum, texlive-metapost, context, latex-cjk-chinese-arphic-bsmi00lp, fragmaster, texlive-latex-base-doc, pstoedit, fonts-stix, fonts-lmodern, texlive-lang-german, fonts-ebgaramond-extra, fonts-inconsolata, lmodern, latexmk, texlive-fonts-recommended, texlive-lang-english, texlive-lang-greek, texlive-pstricks-doc, feynmf, texlive-latex-extra-doc, ttf-adf-universalis, texlive-lang-arabic, cm-super-minimal, psutils, texlive-music, texlive-lang-spanish, texlive-omega, texlive-lang-indic, tex4ht-common, dvidvi, fonts-hosny-amiri, m-tx, chktex, cm-super, fonts-freefont-otf, latex-cjk-thai, fonts-ipaexfont-gothic, fonts-ipafont-gothic, texlive-humanities, fonts-gfs-baskerville, tex4ht, latex-cjk-chinese-arphic-bkai00mp, texlive-luatex, latex-cjk-chinese-arphic-gkai00mp, libfile-which-perl, fonts-oflb-asana-math, texlive-lang-cyrillic, texlive-math-extra, texlive-lang-chinese, fonts-ipaexfont-mincho, texlive-fonts-extra-doc, texlive-font-utils, fonts-ipafont-mincho, tex-gyre, texlive-fonts-recommended-doc, texlive-generic-extra, tipa, lacheck, latex-cjk-chinese-arphic-gbsn00lp, texlive-lang-african, texlive-lang-european, texlive-latex-recommended-doc, libmagick++-6.q16-5, latex-cjk-japanese, purifyeps, texlive-metapost-doc, fonts-font-awesome, latex-cjk-chinese, texlive-publishers, libplot2c2, texlive-lang-portuguese, texlive-publishers-doc, fonts-gfs-didot, libpstoedit0c2a, lcdf-typetools, texlive-lang-italian, texlive-pstricks, texlive-plain-extra, texinfo, texlive-extra-utils, texlive-games, musixtex, texlive-lang-other, fonts-gfs-artemisia, texlive-xetex, texlive-bibtex-extra ************* 15Apr2019 LaTeX packages https://forums.linuxmint.com/viewtopic.php?f=42&t=170852 How to: Get LaTeX running on Linux Mint Post by Mint_BackupRestore » Thu Jun 19, 2014 12:35 pm When I was still using Windows some years back, I was always applying "MikTex" to work on my LaTeX documents. After moving to Linux, I found that it is actually a bit more complex then running LaTex under Windows, which surprised me a lot. However, with new distributions like Mint 16,17 or Ubuntu 13,14, installing a running LaTeX system is actually a snap. Here is how I got LaTeX running on Mint 16 and 17: 1.) First of all you need to open your package manager: Menu --> Package Manager 2a.) Install TexLive Packages. Depending on your needs there are packages that include a lot of LaTex packages or some that only include the most important ones. For me the following Linux (TexLive) packages were sufficient to get most of my LaTeX documents complied: texlive texlive-binaries texlive-fonts-recommended texlive-generic-recommended texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-pictures Of courese you can try leaving out "texlive-latex-extra", for example, if you never use the LaTeX packages included in the "texlive-latex-extra" Linux package. 2b.) I also installed "texlive-lang-german" since I speak German. Of course if you speak another native language, then please select the language pack you need. 3.) Then of course you need a good LaTeX editor. I found "Kile" to work great under Linux Mint. So please also install the Linux package "Kile" with your package manager. Alternatively, you can try out this newer editor: "Texmaker". Since Kile hasn't been further developed since 2012 it might be better. But I don't have any experience with Texmaker. On the other hand, Kile I know works flawlessly with Mint. 4.) If you want that Kile checks your spelling while you type, please also add the corresponding aspell packages to your installation. In my case this is "aspell-de", so Kile will support German language checking. Congratulations! You can now use LaTeX using Linux Mint. Just open the LaTeX editor "Kile" and start texing. For example, click on the "PDFLaTeX" icon at the top to output pdf documents. Some further advice: - You can activate “Automatic Spell Checking” in Kile by selecting: Tools → Spelling → Automatic Spell Checking -You can also install single missing LaTex Packages or even Classes like this (Texlive always includes many packages): a.) Go to CTAN's webpage b.) download the missing package or class you need (usually you find *.tar.gz archives for each package) c.) Unzip the package into a directory you want (I would recommend the directory “/home/user/texmf/tex/latex/foo” but please replace "user" with your username and "foo" with the package name) d.) open a terminal in the same folder e.) type $ latex foo.ins (here “foo” stands for the name of your package, a *.ins file should have been in the archive you downloaded from CTAN) f.) This will generate a file called “foo.sty” (sometimes the foo.sty file is already in the archive you download from CTAN) d.) now please open the terminal again or use the same terminal and type: $ texhash ~\texmf e.) You can now use the package in Kile using the \usepackage{foo} entry at the beginning of your LaTeX document. Best regards, MBR Top ************* 14Apr2019 https://latex.org/forum/viewtopic.php?t=5833 BHorn » Wed Jan 08, 2014 9:28 am The following ten characters have special meanings in (La)TeX: & % $ # _ { } ~ ^ \ Outside \verb, the first seven of them can be typeset by prepending a backslash; for the other three, you can use the macros \textasciitilde, \textasciicircum and \textbackslash. Code: [Select all] [Expand/Collapse] [Download] (untitled.tex) Open in Overleaf \documentclass{article} \begin{document} \& \% \$ \# \_ \{ \} \textasciitilde \textasciicircum \textbackslash \end{document} Last edited by cgnieder on Wed Jan 08, 2014 9:39 am, edited 1 time in total. https://tex.stackexchange.com/questions/7032/good-way-to-make-textcircled-numbers#7045 \documentclass{article} \usepackage{tikz} \newcommand*\circled[1]{\tikz[baseline=(char.base)]{ \node[shape=circle,draw,inner sep=2pt] (char) {#1};}} \begin{document} Numbers aligned with the text: \circled{1} \circled{2} \circled{3} end. \end{document} alt text It's just a node. TikZ options are used to align the base line, to adjust the size and to get the circle shape. You're free to choose further options regarding size or circle thickness (option thick). There's more: for example you could even name the nodes by another argument to connect them by arrows later. edited Dec 13 '10 at 13:38 answered Dec 13 '10 at 13:22 Stefan Kottwitz ******************* 05Apr2019 search "LibreOffice Write to LateX conversions" Brilliant! For easy stuff, start in LibreWrite, then convert to latex https://askubuntu.com/questions/781557/how-to-convert-odt-to-latex How to convert .odt to latex? writer2latex works with Ubuntu 16.04! Installation: sudo apt-get install writer2latex writer2latex-manual How to use it: go to the target file directory and: w2l file.odt writer2latex full documentation edited Oct 26 '18 at 14:29, Sabacon answered Jun 4 '16 at 1:20, Vitor Abella >> I installed using LMDE2 Software Mgr ****************** 05Apr2019 search "Microsoft Word to LateX conversions" +-----+ https://tex.stackexchange.com/questions/27731/how-can-i-convert-from-microsoft-word-to-a-latex-document these are probably Windows software? >> NYET!! I downloaded via LMDE2 Software manager! +---+ I am somewhat late to the party, as the question's author has, hopefully, graduated. But, for the sake of completeness of answers, I'd like to mention a universal (and now very popular) format converter pandoc (http://johnmacfarlane.net/pandoc), which is open source and supports an extremely wide variety of document formats, including presentation slides and e-books. answered Jul 28 '14 at 13:10, Aleksandr Blekh +---+ This will be a follow-on to Aleksandr Blekh’s extremely helpful recommendation of pandoc (http://johnmacfarlane.net/pandoc) above, collecting the comments I’ve been adding on the tweaking necessary after running it, which seem to be outgrowing the limitations of a comment. Wrap your title in \title{}, and add \maketitle. Likewise \author{}, \date{}, \begin{abstract}.   Nuke the parskip.sty block from orbit.   I needed one \nopagebreak. Replace (http[:\w\/\~\-\.]+[\w\/]+) with \\url\{\1\} Search for genuine straight single quotes and replace them. \textquotesingle didn’t work for me; I ended up using \textsf{`} instead. A couple of scary bits, because of TeX’s default behavior of hiding information when confused or potentially ugly: Manually convert Unicode, e.g., ∴ => \therefore. (I normally use Stix with ucharclasses but didn’t try it for this.)   Check tables carefully for missing cells. I ended up using makecell and manual line breaks. (I learned about p{24 pt} too late.) raggedright was essential for my bibliography, which had some long URLs which TeX decided to keep on the same line even at the cost of cutting off bits. edited Apr 13 '17 at 12:35, Community♦ answered Jun 29 '16 at 21:26, Flash Sheridan +---+ Pandoc is a Haskell library for converting from one markup format to another, and a command-line tool that uses this library. It can read markdown and (subsets of) HTML, reStructuredText, LaTeX, DocBook, MediaWiki markup, Haddock markup, OPML, Emacs Org-mode, and Textile, and it can write markdown, reStructuredText, HTML, LaTeX (including rendering as plain PDF or beamer slide shows), ConTeXt, DocBook, OPML, OpenDocument, ODT, Word docx, RTF, MediaWiki, Textile, groff man pages, GNU Texinfo, plain text, Emacs Org-Mode, AsciiDoc, InDesign ICML, EPUB (v2 or v3), FictionBook2, and several kinds of HTML/javascript slide shows (S5, Slidy, Slideous, DZSlides, reveal.js). Pandoc extends standard markdown syntax with footnotes, embedded LaTeX, definition lists, tables, and other features. A compatibility mode is provided for those who need a drop-in replacement for Markdown.pl. In contrast to existing tools for converting markdown to HTML, which use regex substitutions, pandoc has a modular design: it consists of a set of readers, which parse text in a given format and produce a native representation of the document, and a set of writers, which convert this native represe ****************** 04Apr2019 https://www.tecmint.com/linux-pdf-viewers-and-readers-tools/ 8 Best PDF Document Viewers for Linux Systems by Aaron Kili | Published: March 29, 2016 | Last Updated: March 11, 2017 >> trivial stuff, not file editing. *************************** 28Dec2018 Trouble with table for Holverstott review Error "Extra alignment has been changed to \cr. ..." **************************** 05Sep2018 mailto: [body, cc,bcc] https://blog.escapecreative.com/customizing-mailto-links/ Dec 15, 2012 Dave Warfel mailto: link CC & BCC fields Adding CC & BCC fields is as simple as adding a subject. For multiple emails, separate each email with a comma. onecooldude@gmail.com >> I used : {mailto:Bill Howell. Sponsors \& Exhibits Chair. IJCNN2019 Budapest. Alberta. Canada ?subject=IJCNN2019%20Budapest%20-%20Signed%20Sponsor%20Application%20Form&cc=AAites@association-resources.com;body=Please%20attached%20a%20scanned%20copy%20of%20your%20signed%20Sponsorship%20Application%20Form.%20%20We%20greatly%20appreciate%20your%20support%20for%20the%20IJCNN2019%20Budapest%20conference.%20%20If%20you%20have%20any%20questions%20or%20comments,%20please%20add%20them%20below.&cc=Angela%20Aites.%20Accounting%20and%20cash%20receipts.%20Association%20Resources.%20Washington.%20DC.%20USA%20 } >> didn't work search "Latex and email package" **************************** 05Sep2018 vertical centering within a table see "/media/bill/PROJECTS/System_maintenance/tex/zspecial - table setup.txt" **************************** 05Sep2018 Downloading Latex packages To download packages : LMDE2 Software Manager type in package name and see what pops up example : Texlive-latex-extra Tex live: latex additional packages I used this to get makecell **************************** 10Aug2018 email links https://tex.stackexchange.com/questions/185262/adding-an-email-to-latex-file edited Jun 17 '14 at 10:19, answered Jun 17 '14 at 10:10, Ian Thompson \href{mailto:me@somewhere.com}{me@somewhere.com} https://codeyarns.com/2010/01/19/how-to-add-clickable-hyperlinks-and-email-addresses-in-latex/ **************************** 10Aug2018 setspacing - of lines & loadding of new packages % https://texfaq.org/FAQ-linespace % (Note: do not be tempted by doublespace — its performance under current LaTeX is at best problematical.) https://ctan.org/pkg/setspace I downloaded http://mirrors.ctan.org/macros/latex/contrib/setspace.zip where to put the .sty file? Other .sty files seem to be in : Current subdirectories - examples : /usr/share/texlive/texmf-dist/tex/generic/babel/austrian.sty /usr/share/texlive/texmf-dist/tex/generic/dvips/blackdvi.sty /usr/share/texlive/texmf-dist/tex/generic/bibtex/apalike.sty /usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdfrender.sty /usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty /usr/share/texlive/texmf-dist/tex/latex/psnfss/pifont.sty /usr/share/texlive/texmf-dist/tex/latex/psnfss/mathptmx.sty /usr/share/texlive/texmf-dist/tex/latex/psnfss/helvet.sty /usr/share/texlive/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty /usr/share/texlive/texmf-dist/tex/latex/mfnfss/pandora.sty /usr/share/texlive/texmf-dist/tex/latex/amsmath/amstex.sty /usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty /usr/share/texlive/texmf-dist/tex/latex/tools/multicol.sty /usr/share/texlive/texmf-dist/tex/latex/colortbl/colortbl.sty /usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty /usr/share/texlive/texmf-dist/tex/latex/ae/aecompl.sty /usr/share/texlive/texmf-dist/tex/latex/mflogo/mflogo.sty /usr/share/texlive/texmf-dist/tex/latex/url/url.sty /usr/share/texlive/texmf-dist/tex/latex/babelbib/babelbib.sty that's only 1/4 to 1/3 of them! ... README file doesn't help. https://tex.stackexchange.com/questions/1137/where-do-i-place-my-own-sty-or-cls-files-to-make-them-available-to-all-my-te @troyaner: If you want portability of your documents, you could ship your own packages with the file - *.tex will find them if they're in the same folder as the document. If you want to be able to actually install to a custom directory, you can just run mktexslr and point to a directory, e.g. sudo mktexlsr /path/to/your/texmf. - Tomas Lycken Mar 2 '14 at 17:17 (I couldn't copy-paste - had to type this) Try : $ sudo mktexlsr "/media/bill/PROJECTS/System_maintenance/Tex/Howell downloads/" >> didn't work https://tex.stackexchange.com/questions/1137/where-do-i-place-my-own-sty-or-cls-files-to-make-them-available-to-all-my-te Your suggestions were not working until I changed my class name from somethig-else.cls to somethingelse.cls Apparently the hyphen was causing a problem. No such problem with my style file with or without a hyphen... Having fixed the name, uour suggestions work. PatrickT May 22'17 at 15:47. I'll rename my directory texmf $ sudo mktexlsr "/media/bill/PROJECTS/System_maintenance/Tex/texmf" [sudo] password for bill: mktexlsr: Updating /media/bill/PROJECTS/System_maintenance/Tex/texmf/ls-R... mktexlsr: Done. Quit texStudio and restart >> Nope, I STILL get error"File 'setspace.sty' not found. ^^M" (I was able to copy-paste this!! Why not the others? - looks like the "pencil icon" caused a problem? ) https://tex.stackexchange.com/questions/1137/where-do-i-place-my-own-sty-or-cls-files-to-make-them-available-to-all-my-te On Linux, you can pick any directory you like, and then add a line like export TEXINPUTS=".:~/latex:" to your .bashrc file (you can add multiple directories, separated by colons. I think you do need the '.' in the beginning). There may be something similar in Windows. I find this easier, since it separates "my" stuff from the texmf tree. Probably not great if you're writing a big package, but handy for some small things you just want to share between all your projects. shareimprove this answer answered Aug 5 '10 at 14:10 Neil Olver @Philipp: On my Mac OS X system, the user-specific TEXMF tree is inside ~/Library, which contains random applications' preferences, and other stuff that I haven't put there. It doesn't feel like "my" directory, and I won't remember to look there when I'm (say) copying my preferences to another computer. I really do prefer having my own .sty files in a directory I remember and regularly backup, and using TEXINPUTS. So I will repeat my opinion from the comment I hastily deleted: this is the best solution as far as I can see. – ShreevatsaR Aug 5 '10 at 20:36 >> I agree 100% !!!! For my system, the path doesn't exist!? : $ echo $TEXINPUTS >> try anyways? $ export TEXINPUTS=".:/media/bill/PROJECTS/System_maintenance/Tex/texmf:" ~ $ echo "$TEXINPUTS" .:/media/bill/PROJECTS/System_maintenance/Tex/texmf: Quit texStudio and restart >> Nope, I STILL get error"File 'setspace.sty' not found. ^^M" Redo : $ sudo mktexlsr "/media/bill/PROJECTS/System_maintenance/Tex/texmf" [sudo] password for bill: mktexlsr: Updating /media/bill/PROJECTS/System_maintenance/Tex/texmf/ls-R... mktexlsr: Done. Does TexStudio have a differnt filepath variable name? /home/bill/.config/texstudio/texstudio.ini >> can't see a directory spec for .sty websearch "TexStudio and how do I add a .sty file?" >> nothing obvious Give up for now on my own directory - just copy "setspace.sty" to new sub-dir howell: $ sudo mkdir "/usr/share/texlive/texmf-dist/tex/latex/howell" $ sudo cp "/media/bill/PROJECTS/System_maintenance/Tex/setspace/setspace.sty" "/usr/share/texlive/texmf-dist/tex/latex/howell/" Quit texStudio and restart >> Nope, I STILL get error"File 'setspace.sty' not found. ^^M" TexStudio Menu -> Help -> User Manual >> Nothing... TexStudio Menu -> Help -> Check LaTex installation +-----+ ... Setting file: /home/bill/.config/texstudio/texstudio.ini ... +-----+ >> no help https://tex.stackexchange.com/questions/1137/where-do-i-place-my-own-sty-or-cls-files-to-make-them-available-to-all-my-te The other answers provided to this question all suggest to put your .sty files in the folder /texmf/ in your user profile folder (although there doesn't seem to be any agreement on what exactly you need to do after that). This will, however, not work if you (like me) are using a portable LaTeX program, because then there won't be any such /texmf/ folder on your computer. An alternative solution is therefore to put your .sty files (e.g. foo.sty) in any folder you'd like (e.g. C:/foo/), and then simply specify the path where you keep your .sty file when you load it in the preamble: \usepackage{C:/foo/foo} To avoid errors or warning messages, be sure to give the path also in your .sty file: \ProvidesPackage{C:/foo/foo} To maintain full portability of your LaTeX program, you can put your .sty files in a LaTeX subfolder, e.g. C:/texlive/foo/. This way you can keep all your .sty files in one single place on your computer, and include the same path with \usepackage in all your .tex documents. edited May 5 '13 at 11:27 answered Apr 30 '13 at 20:21 Sverre Try : \usepackage{/media/bill/PROJECTS/System_maintenance/tex/styFiles/setspace} >> This worked!!! even if I didn't put "\ProvidesPackage{C:/foo/foo}" into setspace.sty **************************** 09Aug2018 +-----+ https://www.latex-tutorial.com/tutorials/figures/ Insert an image in LaTeX - Adding a figure or picture \documentclass{article} \usepackage{graphicx} \begin{document} \begin{figure} \includegraphics[width=\linewidth]{boat.jpg} \caption{A boat.} \label{fig:boat1} \end{figure} Figure \ref{fig:boat1} shows a boat. \end{document} \caption, which is the text shown below the image \label which is invisible, but useful if we want to refer to our figure in our document. You can use the \ref command to refer to the figure (marked by label) in your text and it will then be replaced by the correct number. \begin{figure}[h!] Setting the float by adding [h!] behind the figure environment \begin tag will force the figure to be shown at the location in the document. Possible values are: h (here) - same location t (top) - top of page b (bottom) - bottom of page p (page) - on an extra page ! (override) - will force the specified location However, I have only used the [h!] option so far. The float package (\usepackage{float}) allows to set the option to [H], which is even stricter than [h!]. \documentclass{article} \usepackage{graphicx} \usepackage{subcaption} \begin{document} %... \end{document} Next, you need to add multiple subfigure environments within a figure environment. %... \begin{figure}[h!] \centering \begin{subfigure}[b]{0.4\linewidth} \includegraphics[width=\linewidth]{coffee.jpg} \caption{Coffee.} \end{subfigure} \begin{subfigure}[b]{0.4\linewidth} \includegraphics[width=\linewidth]{coffee.jpg} \caption{More coffee.} \end{subfigure} \caption{The same cup of coffee. Two times.} \label{fig:coffee} \end{figure} +-----+ https://www.sharelatex.com/learn/Inserting_Images The command \graphicspath{ {./images/} } tells LaTeX that the images are kept in a folder named images under the directory of the main document. \graphicspath{ {./images/} } \begin{wrapfigure}{r}{0.25\textwidth} %this figure will be at the right \centering \includegraphics[width=0.25\textwidth]{mesh} \end{wrapfigure} https://tex.stackexchange.com/questions/21795/how-to-remove-figure-label Since you are using the caption package, you could also set the option \usepackage[labelformat=empty]{caption} or to change the options at a specific point use \captionsetup{labelformat=empty}. Taken from Caption manual answered Jan 5 '12 at 20:41, seeker +-----+ https://www.sharelatex.com/learn/Sections_and_chapters Numbered and unnumbered sections To get an unnumbered chapter, section, sub-section, etc. add an asterisk before the opening curly brace. These will not go into the table of contents. +-----+ https://latex.org/forum/viewtopic.php?t=1178 +-----+ 09Aug2018 Error : "File 'caption.sty' not found ^^M" https://stackoverflow.com/questions/29268906/how-do-i-install-missing-dependencies-adjustbox-sty-to-convert-an-ipython-note I'd like to point out that for this problem and many similar ones, a quick solution is to use apt-file, e.g. $apt-file search adjustbox.sty The output indicates packages that contain this file, and then you can install them using apt-get. answered Mar 29 '16 at 18:36, Ash https://danielbaggio.blogspot.com/2007/10/latex-error-sty-not-found.html Monday, October 22, 2007 latex error .sty not found Hi guys, if you've come into this error: "latex error your-new-file.sty not found" while building your .tex files, and you are sure you've just put them in some sort of directory like: /usr/share/texmf/tex/latex/your-new-directory you should run the command $ texhash and then, latex should be ready to find your style files >> I ran texhash, still get error : File 'caption.sty' not found ^^M http://libguides.uakron.edu/latex/packages Installing Packages with an ins file The best place to find packages for LaTeX is the Comprehensive TeX Archive (CTAN). Sometimes, package files from CTAN consist of an .ins and .dtx file only. When I first encountered these files, I said, "Huh"? Essentially, the ins file contains all the package files you need and the dtx file contains package documentation. To get the files that you need to put in the latex and bst directories, the pdflatex or latex command must be run. Be sure the .ins and .dtx files are in the same directory. If you are using TeXstudio, you will need to change the configuration. First, go to Options, then Configure TeXstudio from the menu. Select Commands. For pdflatex and latex, Change %.tex to ?me Now you are ready to copy the package files. Be sure to know which files go in the latex directory, such as cls, clo, sty, etc. Don't copy bst, tex, pdf, dvi. The bst file will go in the /bibtex/bst directory. https://askubuntu.com/questions/296638/texlive-cant-find-wrapfig-sty-while-package-is-installed I run texhash a second time and rebooted and somehow it is working now. Unfortunately I am not sure what solved that issue but I guess it was texash... answered May 17 '13 at 11:36, MeiSign +-----+ 09Aug2018 < and > https://en.wikibooks.org/wiki/LaTeX/Special_Characters Less than < and greater than > The two symbols '<' and '>' are actually ASCII characters, but you may have noticed that they will print '¡' and '¿' respectively. This is a font encoding issue. If you want them to print their real symbol, you will have to use another font encoding such as T1, loaded with the fontenc package. See Fonts for more details on font encoding. Alternatively, they can be printed with dedicated commands: \textless \textgreater **************************** 08Aug2018 Great references : https://www.sharelatex.com/learn https://www.sharelatex.com/learn/Page_size_and_margins https://www.sharelatex.com/learn/Paragraph_formatting https://tex.stackexchange.com/questions/79046/baselinestretch-vs-setspace https://tex.stackexchange.com/questions/12373/how-to-change-the-space-between-the-itemize-items-in-latex https://tex.stackexchange.com/questions/12703/how-to-create-fixed-width-table-columns-with-text-raggedright-centered-raggedlef https://tex.stackexchange.com/questions/132783/how-to-write-checkmark-in-latex#132785 https://www.tug.org/twg/mactex/tutorials/ltxprimer-1.0.pdf LATEX Tutorials, A PRIMER, Indian TEX Users Group, Trivandrum, India, 2003 September ttps://www.tug.org/twg/mactex/tutorials/ltxprimer-1.0.pdf - I downloaded this LATEX Tutorials, A PRIMER, Indian TEX Users Group, Trivandrum, India, 2003 September The symbols \ and % are just two of the ten charcaters TEX reserves for its internal use. The complete list is ̃ # $ % ˆ & _ \ { } Math & Other symbols - great list pp103-108 \= (set tab) \+ \- \> \pushtab \pulltab There are some more useful commands available in the tabbing environment. The \+ command given at the end of a line makes every subsequent line start at the first tab; with \+\+ at the end of a line, all subsequent lines start at the second tab and so on. The effect of each \+ can be neutralized by one \- command at the end of a line. The command \< at the beginning of a line neutralizes the effect of one \+ command for that particular line. The command \‘ (left quote) puts the text following flush right against the right margin. Naturally we cannot use a \= or \> after this in a line. Another interesting command is \’ (right quote). Within the tabbing environment an input of the form left text\’right text puts the right text at the current tab and the left text just before this tab with a bit of spacing (preassigned by the parameter \tabbingsep ). https://tex.stackexchange.com/questions/12703/how-to-create-fixed-width-table-columns-with-text-raggedright-centered-raggedlef edited Jun 6 '17 at 20:32, David Carlisle answered Mar 5 '11 at 12:09, lockstep \usepackage{array} \newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} \newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} \newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} \begin{document} \begin{tabular}{| c | L{3cm} | C{3cm} | R{3cm} |} ***************************** 08Aug2018 Overall formatting - set in preamble : \usepackage[legalpaper, landscape, margin=2in]{geometry} - doesn't work for TexStudio \usepackage{geometry} \geometry{legalpaper, landscape, margin=2in} \setlength{\parindent}{4em} \setlength{\parskip}{1em} \renewcommand{\baselinestretch}{1.5} - space between lines in a paragraph Structure-specific formatting : \setlength\itemsep{1em} - has to be provided for EACH {itemize}{enumerate} I want : \documentclass{article} \usepackage{geometry} \geometry{letterpaper,margin=0.75in} \setlength{\parindent}{0pt} \setlength{\parskip}{1em} \setlength\itemsep{0pt} \usepackage{array} \newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} \newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} \newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} \begin{document} Cool checkmark! https://tex.stackexchange.com/questions/132783/how-to-write-checkmark-in-latex \usepackage{tikz} \def\checkmark{\tikz\fill[scale=0.4](0,.35) -- (.25,0) -- (1,.7) -- (.25,.15) -- cycle;} +-----+ Don't work : % 08Aug2018 Can't get utf8 to work (suggested by https://en.wikibooks.org/wiki/LaTeX/Special_Characters) %\usepackage{inputenc} %\inputencoding{utf8} # enddoc