Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [keywords]

The tag has no usage guidance.

2
votes
2answers
40 views

How to get a column with keywords?

How do I get and use a column with keywords in latex? Or is there another term for this column? Example (screenshot from todonotes doc):
1
vote
1answer
69 views

Biblatex/Biber subbibliography sorting by keywords

I want to make multiple subbibliographies using biblatex package and biber as backend. I know that the option sorting= of biblatex takes care of the sorting but it only knows name, year, volume and ...
3
votes
4answers
87 views

Remove indent of first item without producing empty line

I would like to add keywords to my article. I used \renewcommand{\abstractname}{Keywords} to create the environment in style of the abstract. If I now add keywords using \itemize, the first item will ...
0
votes
1answer
217 views

How to print bibliography using biblatex just as enuemeration using keywords?

I am using biblatex to print some of my papers in a section called Publications where this section produced by the following command should not be considered as section. \printbibliography[title=...
4
votes
3answers
86 views

What markup indicates a newly introduced word?

Suppose I am writing a book where I want to mark newly introduced words. What is the LaTeX markup in say, the following passage from The Lorax (Dr. Suess)? And with great skillful skill and with ...
1
vote
0answers
44 views

How to don't colorize keywords in middle word?

I want to colorize "if" in code of program and I did in that way: \documentclass[a4paper,12pt,titlepage,headsepline,footsepline,hidelinks]{scrartcl} \usepackage[margin=2.5cm]{geometry} \...
0
votes
1answer
140 views

How do I create a numbered list of words? [duplicate]

I would like to list the keywords for my thesis on the format: First Keyword, 2. Second Keyword, 3. Third Keyword, ... But not had to type the numeration manually, so the command would be like: \...
2
votes
1answer
121 views

How to replace semicolon with comma for pdfkeywords in hyperref

From an external file I get a list with keywords separated by ;. Since hyperref only works with keywords separated by , I need to replace the semicola. Following MWE works for text but not for ...
1
vote
1answer
631 views

IEEEtrans does not show the keywords

I downloaded this IEEEtrans template: https://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/?lang=en I want to add keywords to my document. I followed the package's documentation and ...
2
votes
1answer
172 views

Sorting items according to tags

what I basically want is writing a single list, e.g. itemize, tagging each item with one or more tags and then generating an output that creates multiple lists based on the tags, i.e. each tag should ...
0
votes
0answers
46 views

Removing the number in front of key words like while, for etc. in latex algorithmic package

Is there a way to remove the number (index) that appears in front of the keywords such as while, repeat, until, etc. keywords, in the latex algorithmic package?
3
votes
1answer
534 views

Use multiple keywords (OR) in \ printbibliography to filter the bibliography

Similarly, but slightly different from Use multiple keywords in \ printbibliography to filter the bibliography I wonder: Is there a way to filter \printbibliography using multiple keywords that are ...
0
votes
0answers
21 views

Listings package: is it possible to exclude keywords from a specific language? [duplicate]

I'm using the package listings to import R scripts from file (as they are quite long and already nicely typeset). I have defined the colors (blue for keywords) and style, and added a few keywords. ...
1
vote
1answer
483 views

Moving the “keywords” section in achemso package

I am working on a re-submission for an ACS journal using the achemso package, and one of the requests from the editorial board was to move the "keywords" section to the first page (i.e. above the "...
3
votes
1answer
92 views

Split a string based on keyword and delimiters

Problem: I have two words that I would like to split into two variables. For instance: Word 1 [Word 2] Minimal Working Example: I have not been able to generate a minimal working example as I have ...
1
vote
0answers
39 views

Formatting section and subsection but not keywords

Problem: I got a section and subsection in a document. These could either be in upper- or lowercase. The subsequent keyword should always be in lowercase. Minimal Working Example (MWE): \...
4
votes
0answers
91 views

listings keywords highlighting with underscore [duplicate]

I have a function named log_prior(...) and I don't want the 'log_' highlighted, here's what I tried \documentclass{article} \usepackage{listings} \usepackage{color} \definecolor{dkgreen}{rgb}{0,0.6,...
2
votes
1answer
506 views

keywords in other language

It's the first time I write in Latex and I have faced the following issue: I have written an abstract in greek and in english, but when I use \begin{keywords}...\end{keywords} in the greek version ...
9
votes
2answers
2k views

Springer's middot character

In the "Springer Guidelines for Authors of Proceedings", I found that: Keywords: Please list your keywords here. They should be separated by middots, if possible. ... So I assume that the LaTeX ...
5
votes
3answers
2k views

Bib file convertion to csv or Excel

I have a large .bib file and need to analyze which keywords are used in which bibliography entry. Therefore I am looking for a "tool" to convert the .bib file to CSV or XLS format. I need a CSV which ...
1
vote
1answer
109 views

With package lstlistings the word “columns” appears before every code

\documentclass{article} \usepackage{lstlistings} \lstset {language=C++, basicstyle=\small columns=flexible, stepnumber=0.8, numbersep=8pt, tabsize=4, showspaces=false, ...
1
vote
0answers
1k views

Keywords and PACS classification in Latex article class [closed]

I'm writing an article in the article class and I need to put \keywords{} and \pacs{} classification inside the \maketitle enviroment. Are there any package that would help me to do that?
5
votes
1answer
256 views

How to make #include <stuff> to be highlighted as keywords?

I have the following snippet of code: \documentclass{beamer} % Solarized colors \definecolor{sbase03}{HTML}{002B36} \definecolor{sbase02}{HTML}{073642} \definecolor{sbase01}{HTML}{586E75} \...
3
votes
1answer
420 views

Biblatex / biber reverse numbering w/ keyword filtering

I'm struggling with the (popular) biblatex change where the 2016 upgrade stopped reverse labeling from working. Someone has provided a solution for filtering by type here and here. This solution ...
6
votes
1answer
3k views

Colorize symbols with lstdefinelanguage in latex

I want to put some symbols in green color with lstdefinelanguage in latex, but it seems that symbols are not recognized. The symbols I need to be colored are =, > and <. Is it possible? How can I ...
2
votes
1answer
170 views

\lstdefinelanguage cannot handle keywords #if, #endif,

I need to insert C-code snippets in my LaTeX document. Therefore I define a C-code language syntax highlighting: \usepackage[utf8]{inputenc} \usepackage{listings} \usepackage{color} \definecolor{...
3
votes
2answers
223 views

Single character keywords/operators with no spaces with listings package

I want to add a very simple macro language to listings. It uses single-letter keywords/operators, with no whitespace between. I can't see how to make keywords that don't require some kind of separator ...
1
vote
1answer
243 views

Latex \keywords{} repeating keywords bug [closed]

I'm using an IEE conference latex model, and when I try to add keywords by using \keywords{ADAS, Smartphones, Data recording device, Road segmentation, Intelligent vehicles.} After my \end{abstract}...
2
votes
1answer
374 views

How to make Latex recognize individual keywords in lstlisting without delimiter?

I want to add a few lines of G-Code (used for 3D-printing) to my latex file using the listing package. Unfortunately, g-code is not supported as a language and therefore has no highlighted commands. I ...
1
vote
1answer
499 views

Define listings language with multiple keyword groups

I wanted to used syntax highlighting for a language unsupported by the listings package. Right now I have it almost working, but not completely. This is the MWE: \documentclass{article} \usepackage{...
7
votes
1answer
238 views

Show all colored words at the end of document

Is there any way to show all colored words at the end of a document? Say I'm marking definitions as red and theorems as blue. Is it possible to make a list of "keywords" where all red words is ...
1
vote
1answer
107 views

Set Keywords in two specific colors inside of a codeblock

Is it possible to set two Colors to Keywords inside of a Codeblock? I have the current settings for my Codeblock \lstset{language=[Sharp]C, captionpos=b, %numbers=left, %Nummerierung %numberstyle=\...
1
vote
1answer
47 views

How to get Key authors list from my references? [closed]

Currently I'm managing my thesis bibliography with JabRef and I want to know how to obtain key authors list and relations between them from all these references. I know that this can be accomplished ...
6
votes
3answers
420 views

Automatically format words in a PDFLaTeX document which are in a keyword list

When writing technical documents, I often want to format 'technical phrases' (such as the name of some technology) in a particular way, which becomes annoying when I type the phrases frequently. I'm ...
0
votes
0answers
384 views

Adding keywords to an algorithm in LYX

I am using the method explained in this post to add algorithms in LYX. I wonder if it is possible to add new keywords like (Input, Output, ...) so they appear in bold. I use Algorithm-Style Package ...
1
vote
1answer
324 views

keyword printing with achemso template

I am using 'achemso' package template on MixTex 2.9 and trying to print my keywords, but could not succeed. I have read that there is a bug fix report on the 'change history' section of the achemso ...
2
votes
1answer
13k views

How to make Keywords section for IEEEtrans conf. document class TeX file

I need to make below code as the Keywords of my paper in IEEEtran conference document class: \par \textbf{\textit{Keywords$—$}} Please help me with this. Thanks
3
votes
3answers
561 views

how to add a key word beside a paragraph?

I would like to add a key word beside a paragraph for the sake of clarity as follows \documentclass[12pt]{article} \usepackage{blindtext} \begin{document} \blindtext \end{document} How can I ...
7
votes
2answers
32k views

How do I put keywords into abstract in elsarticle?

I am really new to LaTeX. I am preparing a journal article in Tex Studio. I downloaded TexLive as well and am using it. Problem is \begin{keywords) returns unrecognized command. \end{abstract} \begin{...
2
votes
0answers
184 views

Listings - Getting the colors right for custom language

I have lots of bookkeeping transactions that I would like to typeset in a color coded format. I am using the listings package to accomplish what I want. I tried the following code. \documentclass[...
28
votes
6answers
2k views

Highlight every occurrence of a list of words?

In order to revise a draft, and identify related sections, I would like to identify similar words (by color of text, highlight, underline, or otherwise) according to topic. For example, I would like ...
2
votes
2answers
652 views

Fast way to underline words and characters

I’m making a summary of definitions for Linear Algebra. I need to underline all vectors. This takes me a lot of time because \underline{u} is a long command to type. Is there a way to set an alias for ...
2
votes
1answer
709 views

Adding keywords to multiple languages in `listings` package

I have a pdflatex project where I need both Python and SQL listings. The listings package works great, I was able to add and reformat the extra keywords for Python with the following code: \lstset{ ...
3
votes
1answer
930 views

How to remove # keyword from a listing style?

I have a snippet of code I'm putting into a paper written in LaTeX. I don't want it to highlight any of the keywords that start with a # sign, such as #define, or #pragma. Here is a MWE of what I ...
4
votes
1answer
477 views

Why aren't my keywords recognized when immediately followed by a comma?

I am using listings to display custom keywords in bold. In my listings, those keywords are sometimes followed by a comma. However, in the example below, any comma following a keyword will prevent the ...
6
votes
2answers
4k views

Adding Keywords to Existing Language for Listings Package

I would like to add more keywords to an existing language definition so that when I use \begin{lstlisting} ... \end{lstlisting}, the new keywords are highlighted along with the predefined ones. This ...
1
vote
0answers
36 views

Custom color in keywordstyle for listings under LyX [duplicate]

There are several Questions and Answers regarding the use of listings under LyX. And they mention, or explain, how to enable syntax highlighting. While this is easy to achieve, my attempt to use a ...
2
votes
1answer
2k views

Keywords not showing up using journal template

So I am submitting a journal article to Elsevier, and using their template. However, I am unable to get keywords to work. I am replacing the dummy words with mine, but none of it is showing up. Can ...
7
votes
1answer
1k views

Keywords with spaces in Listings

I want spaced keywords in listings (that is, keyword, with spaces in between). Now, there are some questions in this site already answered, like this one, where the official answer is that “it is not ...
9
votes
1answer
4k views

Use multiple keywords in \ printbibliography to filter the bibliography

Is there a way to filter \printbibliography using multiple keywords that are present in the .bib file entries ? For exemple, I'd like the command \printbibliography[keyword={key_1,key_2,key_3}] to ...