Questions tagged [grammar]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
16 views

glossaries-extra \glsaddkey footnote is not working

I'm writing my master thesis in german language using glossaries-extra for handling all the acronyms and stuff. Due to the german grammar, I need for some acronyms additional entries for the first ...
0
votes
1answer
39 views

how to edit in one place and auto refer to other place

this question's title may not clearly. my english expression is not good. take an example to convey my problem: \someorder{a}{\paragraph{1999}ABCD} \someorder{a} I expect after compile this ...
0
votes
0answers
30 views

lyx grammar checking for windows

There is a tool named LyX-GC for grammar checking here in LyX. It is for Linux but I have windows. I do not have any information about linux. According to the maintainer, it should work if I'm using ...
3
votes
2answers
103 views

How to put a frame around the grammar syntax in LaTeX

How I can put a frame around the grammar syntax in LaTeX like in listings that we use frame = single? For example, for this grammar: \documentclass{article} \usepackage{syntax} \begin{document} \...
0
votes
1answer
1k views

Apply Grammarly in TexShop (Latex) on a Macbook

Is there some way to apply the Grammarly in the TexShop (latex software for Mac), say on a MacBook Pro? A related post is here: How Integrate Grammarly on online latex editors? I know that we can ...
6
votes
1answer
113 views

Reproduce Lambek calculus notation in LaTeX

I'm trying to reproduce the following in my document: But I can't find a way of doing it. The closer that I got was with this code: \documentclass[a4paper, oneside, 10pt]{extarticle} \usepackage[...
0
votes
0answers
234 views

Single-letter words at the end of line [duplicate]

I am a beginner and I write article in slovak language. There is a rule to not leave single-letter words or preposition at the end of line (for example a, i, na, pre etc.) but to move them to the next ...
0
votes
1answer
240 views

(TeXstudio) Ignore specific words in grammar check

I am new to the community and I have a question about the grammar check in TeXstudio. As we know, some words are not recognized by the grammar checker, e.g., binarization. I am not very comfortable ...
3
votes
2answers
95 views

Using angular brackets in a grammar environment

How can I use angular <> brackets in a grammar environment? I want to describe that my programming language supports the following constructs: List<int> myList = new List<int>(); ...
2
votes
1answer
456 views

Changing underline color of LanguageTool in TeXstudio

I've recently installed LanguageTool to check grammar and spelling mistakes in TeXstudio. However, I often miss the errors because the gray-bluish underlining makes them hard to spot. Is there a way ...
14
votes
0answers
5k views

Grammarly for texstudio

The Grammar Check of texstudio is Languagetool which is really not a grammar checker (although best in the opensource environment). I was wondering if anyone knows a way to connect one of the good ...
12
votes
2answers
522 views

How to get correct grammar in the bibliography of a German document when the editor is an association?

I’m writing a German document with the biblatex-chicago package. One of my sources is a journal article where one editor is an association (a Verband). When I compile the code, the grammar in the ...
5
votes
0answers
417 views

Comfortably typesetting Extended Backus-Naur-Form

On this site I've found some solutions how to typeset Backus-Naur-Forms, e.g.: How to type a Backus-Naur form in LaTeX Which package can be used to write BNF grammars? Unfortunately both solution ...
1
vote
1answer
688 views

How to use two dictionaries (.dic & .aff files) at the same time in texmaker?

I'm often writing documents in different languages and I like to use the autocorrection in texmaker. But its very annoying, if you always have to switch the dictionary file. So I tried the following: ...
3
votes
1answer
2k views

Problems Installing Language Tool in TexStudio

I'm trying to install LanguageTool in TexStudio, as described in Installing Language Tool in TexStudio, but I cannot succeed. LanguageTool server is working as can be seen from this test: When I out ...
3
votes
1answer
605 views

LanguageTool with N-Grams in TeXstudio in Windows

LanguageTool can be used as an addon for TeXstudio to check grammar (that happens rule-based). You can also use n-grams as an addition. The description on how to use the n-grams can be found here: ...
2
votes
1answer
77 views

How to reproduce this keyword overview?

I need to describe keywords in a TeX document. It should look similar like the keyword section of the C# specification: I need some advice on how I can achieve this. Is this a transparent table? Can ...
5
votes
1answer
19k views

Language and spell check

How can I declare a language on Latex and have a grammar/spell check on the text? I would like to have highlighted the words that are not recognized by the system for the given language (English). ...
1
vote
1answer
111 views

First use of glossaries' acronym using custom key (for other grammatical construct)

I'm using glosseries to manage my acronyms and added/defined the genitive form of a word using \glsaddkey*{gen}%key {\glsentrytext{\glslabel}XXXGEN}% default {\glsentrygen}% command analogous to \...
0
votes
0answers
156 views

Is there a reference/list of standard LaTeX terminology?

I'm writing a program to manipulate LaTeX and I'd like to have access to some standard terminology. For example, is there a standard name for a string of the form \abcd, or \textbf{...} vs {\bf ...} (...
0
votes
0answers
249 views

Context free LaTex

Apparently, Parsing TeX is Turing-complete. I however, do not write TeX but LaTeX. In that process, I profit from assistance by editor plugins like Auctex et.al. These plugins rely on a syntactic ...
44
votes
2answers
42k views

How Integrate Grammarly on online latex editors?

Grammarly is not adopted with LaTex, but I believe it still can be helpful: I like to use Grammarly Chrome extension with an online latex editor. I tried sharelatex, overleaf , authorea and verbosus ...
4
votes
1answer
1k views

Grammar check in TexWork

Is there any good grammar check plugin/program in TexWorks? Or is there any at all? I am looking for English language checker. Or maybe you have any solutions or offer for other options, how to check ...
2
votes
1answer
10k views

Automatic grammar checker for LaTeX documents? [duplicate]

I'm currently writing a thesis. I'm using the Texmaker editor with the built-in dictionary for grammar correction (British English). Unfortunately, I'm short of time, so I don't have time to read ...
4
votes
2answers
274 views

Combinatory Categorial Grammar style

i was looking arround here for this style of Categorial Grammar (see picture). However, i just find another types of notation, like the Prawtiz's style derivation. I want this style (some people call ...
3
votes
2answers
834 views

Is LaTeX capable of detecting grammatical errors in compiled document? [duplicate]

Although spelling mistakes can be easily corrected within compiler itself, I'm wondering if LaTeX is capable of detecting wrong use of grammar. Like if we write "Solution are" in MS word then both ...
1
vote
1answer
429 views

Is there any grammar correcting software in TeXmaker?

I am interested in a grammar correcting software in TeXmaker if there is one around like in Microsoft word: it's possible to correct grammar : commas placing, redundant expression, non-formulated ...
2
votes
1answer
538 views

French spell check for texMaker is not working?

i'm trying to correct my report using texmaker i have downloaded and added the french language to texmaker But when i click on the spell check button a window appears but no suggestions or ...
1
vote
1answer
73 views

lhs2TeX and Syntax conflicting on <> characters

I'd like to use Syntax and lhs2TeX together, but Syntax's usage of <> in production rule names seems to conflict with lhs2TeX: \documentclass{article} \usepackage[nounderscore]{syntax} %...
1
vote
0answers
47 views

Another \dots or \ldots Problem [duplicate]

MWE \documentclass[a4paper,11pt]{article} \begin{document} Victims!\dots\ Aren't we all? Victims?\dots\ Aren't we all? \end{document} That I want Like \dots or \ldots, but not 3 dots only 2 dots....
1
vote
0answers
173 views

Problems with the standalone class when using certain environments and certain math symbols [duplicate]

I use TeX Live 2015. Update. I just found out that using the preview option to the class solves the problem, yet only crops the content vertically, not horizontally. I want to use a grammar ...
7
votes
2answers
863 views

How do I include the EBNF square brackets on a new line and set the font to typewriter throughout my grammar in the syntax package?

I want to add an EBNF grammar to my document and following the answers here and here, it seems that the most popular package for this is syntax. However, in the documentation it is not clear how to ...
3
votes
1answer
539 views

Typesetting a calculus' grammar

I am trying to typeset the grammars needed to describe the applied pi calculus. The outcome should look somewhat similar to the following attached example, especially concerning the alignment of the ...
0
votes
1answer
82 views

Check spelling taking forever

I think it gets applied only for the current page. Anyway, the document has 2 pages. It get's stuck at 11%, why? What can I do to use this nice tool, called "Check spelling"?
5
votes
2answers
832 views

Is there a formal grammar for *Equations* in TeX/LaTeX?

I've looked at this and this and understand there is no grammar of TeX as a whole. I am wondering if there is a grammar just for equations. They are relatively easy to identify in an amsmath file ...
13
votes
0answers
239 views

What type of Chomsky hierarchy is TeX? [duplicate]

There are four types of chomsky hierarchy (specified for formal languages): Type-0 Recursively enumerable Type-1 Context-sensitive Type-2 Context-free Type-3 Regular I consider that, it should ...
0
votes
0answers
124 views

To create links to filenames in Pandoc Tables

I am working for better note taking and note using. I asked Textmate if there is a possibility to have links for filenames in LaTeX editing. They proposed the following approach Nothing like this ...
2
votes
0answers
1k views

How to check misspelled words using Texmaker?

I am trying to use the "Check spelling and grammar" feature provided by Texmaker. When I run it instead of getting the misspelled words I get a ton of weird symbols that look something like this: I ...
2
votes
1answer
378 views

How to right-align text in a grammar environment?

Using the grammar environment of the syntax package, I cannot find a way to right-align text in my syntax definition: \documentclass{article} \usepackage{syntax} \begin{document} \begin{grammar} &...
1
vote
2answers
2k views

Starting LanguageTool from TeXstudio

I am trying to start LanguageTool grammar checker from TexStudio on OS X 10.10.2. This is done defining in Preferences/Grammar the path to Java. I have installed the recent JRE8 but I don't know how ...
1
vote
1answer
329 views

Is there a BNF-grammar for simple constructs of the TeX language?

(Previously) Is there a TeX grammar that parses simple constructs like document, enumerate, section, subsection, etc.? I'm not interested in parsing complicated constructs requiring a more complex ...
0
votes
0answers
806 views

Grammar checker at Lyx on Windows 7

I know that there are some tools which can check for grammar mistakes if you run lyx under linux, so I wonder if there is any similar tool compatible with windows
10
votes
1answer
5k views

How do you code Mr./Dr./Mrs. in LaTeX? [duplicate]

Bit of a newbie question. I have read somewhere (can't seem to find it now) that if you wish to write Mr. John Doe or Dr. Jane Doe that LaTeX with treat the . as a full stop and add an extra space. ...
2
votes
0answers
94 views

Algorithmic noun plural

I'm looking for an (implementation of) a command (here \plural) that computes the plural of a noun. The algorithm should work as follows: for most cases, simply add s at the end (example: bag -> ...
20
votes
3answers
2k views

Remove all math for spelling and grammar checking

I'm compiling a LaTeX file to pdf and then I use a pdf to text converter to convert the file to plain text. I then use LanguageTool to do grammar checking on that plain text file. The LaTeX source has ...
2
votes
0answers
1k views

Using another program for grammar and spell checking latex documents

Admittedly, I am spoiled by having my nice red and green squiggles in word, and I write my LaTeX documents in an editor that supports some of these features (TeXStudio if it matters). However, I have ...
9
votes
1answer
3k views

How to use glossaries for different grammatical acronym forms?

I'm writing a paper in German and am struggling with how to make glossaries work for me. In German, there are 4 different cases, and depending on which combination a gender, case, singular/plural and ...
1
vote
1answer
132 views

What packages would I use, (or are there examples) of typesetting system networks in LaTeX?

I'm looking to be able to typeset charts like the one below for a paper, and I'm wondering whether there are any examples of it anyone's come across; a quick search didn't turn anything usable up. ...
2
votes
1answer
128 views

(semi)-Automatic pluralization around a citation

In my document, I will write something like this (using natbib, but that shouldn't matter too much): \citet{reference} show that ..... which would render as Jones et al (1990) show that.... (\...
24
votes
4answers
33k views

Installing Language Tool in TexStudio

I am attempting to install language tool on my texstudio distribution in order to check my grammar. Currently, I am following this guide to install Language tool. http://wiki.languagetool.org/checking-...