I want to manually add words to the en_US.dic library. When I open the file in a text editor I can add words as needed, but I do not understand what some of the syntax or attributes are. I spent an hour looking for the answers but was unable to find what I was looking for.  Here is an example of what I am trying to understand.  logarithm/MS   logbook/MS   loge/SMNX   logged/U   loggerhead/SM   logger/SM   loggia/SM   logging/MS   logicality/MS   logicalness/M   logical/SPY   logician/SM   logic/SM   login/S     After each of the above words is an "/" followed by one or more capital letters, '/SM' or '/U' or '/SPY' etc. and I don't know what they mean and if I need to use them when I add words manually myself.
120846
What do these capital letters mean after the / character in the en-US.dic file found in the \Firefox\Dictionaries folder?  For example:  collectivism/M collectivist/MS collectivity collectivization/M collectivize/GDS collector/MS colleen/SM college/SM collegial   What does M or MS or GDS, etc. mean?  I'm sure there's documentation online somewhere, but I'm not having much luck finding it.
16207
Is there a 'biblatex in a nutshell' guide out there? I'd like if someone explained to me the essentials on how to use biblatex (what lines I have to write in my document, which files I have to have, how many times and what I have to compile), so then I can go to  to customise it further.
34881
I'm trying to add the word "Algorithm" before each entry in the List of Algorithms (because of unavoidable thesis guidelines).   I saw similar questions but the solutions listed there don't work for me. I'm not sure about reopening those questions, hence posting it separately. Apologize if that's not the right etiquette.     (I'm using "algorithm" package instead of "algorithm2e")   (not sure if solutions listed there require other packages as listed solutions don't work for me)  Current output:  List of Algorithms 1 Optimization . . . . . . . . 3   Desired output:  List of Algorithms Algorithm 1 Optimization . . . . . . . . 3   Here's a simplified code sample that illustrates the issue. Your help is much appreciated. Please let me know how to get desired behavior for this sample.  \documentclass[letter,10pt]{book}                                                                                                                                                                              \usepackage[utf8x]{inputenc}  \usepackage[breaklinks]{hyperref} \usepackage{algorithm} \usepackage{algorithmic}  \title{Sample book} \begin{document} \listofalgorithms  \chapter{Sample} % Outline \begin{algorithm}[!hbt]     \centering     \caption{Optimization}\label{alg:pso}     \begin{algorithmic}[1]         \STATE \textit{GenerateInitialPopulation}(pop)         \FOR {particle $ \leftarrow $ 1 \textit{to} numParticles}           \STATE \textit{Evaluate}(particle)         \ENDFOR     \end{algorithmic} \end{algorithm}  \end{document}
2897
Today, I was caught redhanded while attempting to code golf a password generator for Twitter.  import string as s,random;print ''.join(random.sample(s.letters+s.digits+s.punctuation,9))   90 chars. Since that is a lot of spare space, I decided to raise the bar and make it executable too.  echo -e "#!/usr/bin/python\nimport string as s,random;print ''.join(random.sample(s.letters+s.digits+s.punctuation,9))"&gt;pg;chmod +x pg;./pg   139 chars. Nice, except obviously bash chokes on the exclamation point.  badp@delta:~$ echo -e "#!/usr/bin/python\nimport string as s,random;print ''.join(random.sample(s.letters+s.digits+s.punctuation,9))"&gt;pg;chmod +x pg;./pg bash: !/usr/bin/python\nimport: event not found   Pesky exclamation point. "Let's escape it," I thought! I do have one spare character after all.  echo -e "#\!/usr/bin/python\nimport string as s,random;print ''.join(random.sample(s.letters+s.digits+s.punctuation,9))"&gt;pg;chmod +x pg;./pg   Obviously...  badp@delta:~$ echo -e "#\!/usr/bin/python\nimport string as s,random;print ''.join(random.sample(s.letters+s.digits+s.punctuation,9))"&gt;pg;chmod +x pg;./pg ./pg: line 2: syntax error near unexpected token `(' ./pg: line 2: `import string as s,random;print ''.join(random.sample(s.letters+s.digits+s.punctuation,9))' badp@delta:~$ cat pg #\!/usr/bin/python import string as s,random;print ''.join(random.sample(s.letters+s.digits+s.punctuation,9))   Leaving my asinine code golfing aside -- I can't explain this.  With \!, the exclamation point was escaped, except it really wasn't, because the \! was left as-is for echo to pick up.  One solution could have been using \x21 instead, but I'm not convinced that's the proper way of escaping an exclamation point in a bash command.  tl;dr: How do you properly escape an exclamation point in a bash command?
109120
I'm a relatively new user of Latex. I'm using TeXStudio on a Windows 8.1 system writing a long document (document class book). I'm trying to make glossaries package work properly and after ~2-3h of googling it kinda work. The same TeXStudio on a MacBook, with exact same *.tex files work flawlessly.  On windows, when I compile the glossary (F9), i get the following:  Unescaped left brace in regex is illegal here in regex; marked by &lt;-- HERE in m/\\\@input{ &lt;-- HERE (.+)\.aux/ at C:\Program Files\MiKTeX 2.9\scripts\glossaries\makeglossaries line 634.   I'm not familiar with Perl syntax, but the 634 line is the following:  634 if (m/\\\@input{(.+)\.aux/}) 635    { 636       &amp;scan_aux($1);  .  .      # v2.04 added  .      # (Fix provided by Daniel Grund)   .      next; 641    }   Compiling on the Mac is working properly.  I want to make it work on the windows system, as it's the professional computer that I use more often (I don't carry my Mac at work or my Win at home).  \documentclass[12pt]{book} ... \usepackage[acronym, toc]{glossaries} \input{./Tex_files/glossary.tex} \makeglossaries   The glossary.tex is the following:  \newacronym{EBL}{EBL}{Electron Blocking Layer} \newacronym{TFB}{TFB}{name)}   And i cite in the text as follows in two occasions, in chapters 1 and 2.  \acrfull{EBL} \acrfull{TFB}   The main.tex file i use after the \begin{document} is as follows:  \begin{document} .... \printglossary[type=\acronymtype, title= List of Abbreviations] \mainmatter \include{./TeX_files/chapter01} % Chapter 1 \include{./TeX_files/chapter02} % Chapter 2   I installed the Strawberry Perl version 5.26 64bit from perl.org as before installing it I got the message : "Perl interpreter not found".   My google searching didn't show any relative answers and therefore the post.. Sorry if it's a duplicate!  Many thanks in advance...  Alex  PS. Edited the document to add preamble and the rest of the code.
31199
I'm working on overleaf v2. I wrote : \documentclass{article} \usepackage[utf8]{inputenc}  \usepackage[utf8]{inputenc}  % Accents codés dans la fonte \usepackage[frenchb]{babel}  % Les traductions françaises \usepackage{amsmath}  \usepackage{graphicx} \graphicspath{ {./images/} }  \usepackage{amsfonts}  \usepackage{biblatex} \begin{document} .... \begin{figure} \centering \includegraphics{comp_W_log.jpg} \caption{\textit{On compare la fonction de Lambert à $\log(x)-1$ dans un certain interval}} \label{fig:my_label} \end{figure}  .... \end{document}  But I just get, after compiling :  Can you help me plz ? Edit: png didn't work either
65674
I would like to make a list of symbols and abbreviations without using any special packages like nomencl and alike. What I would like is just left-aligned two columns once for the symbols and one for the abbreviations.   Should I start with the following?  \begin{flalign*} Symbol_1 &amp;: Meaning of Symbol_1 \\ Symbol_2 &amp;: Meaning of Symbol_2 : : \end{flalign*}   Would be very grateful for any help!
94282
I would like to add my language skills to my CV in the following manner:    I could of course create an image in Inkscape for every language, and put it in in a most straightforward way, maybe as described in:   But from that thread it looks like it could be automated, so that one maybe could write \loadingbar{4.5,5} and get 4.5 filled circles out of five. Maybe also with some optional parameters for size or colors.  I know it reads a little bit like "solve this problem for me", but especially the part with colors I have no idea how to even approach, and also how to do loops in Latex properly. So if anyone wants to take it on as a challenge I would be more than happy :)
25104
I tried googling this elsewhere but I'm new to LaTeX and extremely confused about certain things. Basically I downloaded MikteX and I'm using the latest version of Lyx with it. Now all I basically know how to do is make pretty looking mathematics and add contents pages/titles/references/etc.  I'm looking to make a dissertation and my unviersity provides a template,  (available for download at that link).  So, what exactly do I need to do (and please be super specific as I am totally clueless to all the jargon I read).   Basically, I need to download ociamthesis.cls in the first line of that webpage. Does it matter where I save it? What exactly do I do next?
35860
\documentclass{article} \usepackage{expl3} \ExplSyntaxOn \begin{document} \tl_to_str:n { testing _ things }  \par  \tl_set:Nn \l_tmpa_tl { testing _ things } \tl_to_str:N \l_tmpa_tl \end{document}   gives a strange result (testing ̇things).  How can I get testing_things?  I basically want verbatim content (with line breaking).
46707
I need to define a token list of the form  \tl_new:N  \g_silly_tl \tl_set:Nn \g_silly_tl { Text ~ and ~ a ~ tie:?? }   How do I do this?    More generally, is there a reference where one can see how to input characters 'normally' under expl3 syntax?
30785
I'm trying to build a command line tool to look up definitions of words, it's only a dummy app for me to practise my C++ skills.  I know there is a list of words stored at /usr/share/dict - but what I'm really looking for is the path to the New Oxford American Dictionary data, it comes bundled with the system, but I couldn't find it yet.
74006
The code it's not working on Overleaf when it comes to minted environment (or mint command) used in a file placed in a subdirectory. Note that the very same code works if placed in main directory. Tested on Chrome with LaTex,PdfLaTex,XeLaTex and LuaLaTex  You can test the example on  but for your convenience I can add a MWE:  \documentclass{article} \usepackage{minted}  \begin{document} test \begin{minted}{python} import numpy as np  def incmatrix(genl1,genl2):     m = len(genl1)  \end{minted}  \mint{html}|&lt;h2&gt;Something &lt;b&gt;here&lt;/b&gt;&lt;/h2&gt;|  \end{document}   This will produce only the line "test".  Please note that \inputminted works as a charm; I adopted this as a workaround but there are cases in which it is really a nuisance.  Obviously with non trivial projects it is almost impossible for me to keep every file in the same (overleaf) folder.  The log says:(twice, another almost identical is for \mint)  Package minted Error: Missing Pygments output; \inputminted was  probably given a file that does not exist--otherwise, you may need  the outputdir package option, or may be using an incompatible build tool, or may be using frozencache with a missing file.  See the minted package documentation for explanation. Type  H &lt;return&gt;  for immediate help.  ...                                                l.12 \end{minted}  This could be caused by using -output-directory or -aux-directory  without setting minted's outputdir, or by using a build tool that  changes paths in ways minted cannot detect,  or using frozencache with a missing file.
118960
In Mountain Lion the OS X internal dictionary that you can fire up by right clicking a word, or by using the dashboard widget, seems to have gained at least one new language: German. Since German is my main language, but I also read a lot of English texts and website, I'd like to switch the dictionary languages on the fly. How can I do this?
23288
I have a question about a Verbatim, I want to write a word inside of the subsubsection title. I got an error. How can I fix it?: \subsubsection{The \verb+@interface+ Section}
87062
I have a custom module I've built which essentially acts as a repository of custom CTools keywords that users can arbitrarily define. The issue I'm facing is I need to be able to translate these user-defined strings, so I think I need to implement string translation using the i18n_string module.  I have never worked with translation or localization before, so I'm a bit lost with regards to going about how to implement this. I think I'm on the right path with i18n_string though. Can someone experienced with i18n provide examples that I can look at so I can learn the proper way to implement this?
83510
I have been using LaTeX for a long time now, and I find myself often going to this website to solve my problems. This often includes copy pasting codes which include \newcommand, \newenvironment and \def. I think it is time I start to learn how to use them so I can solve my problems myself! It is always better if you actually know what is going on inside your code.  I am wondering if there is any turtorial or book out there that handles how to use those commands. Or is the best way to learn to just mess with a random file?   Thanks in advance!  (Also this is my first time I post here after using this website for so long, I really appreciate everyone who posts and tries to help other people here!)