Re: [sage-devel] Italicizing inside a literal block

2024-06-25 Thread John H Palmieri
It doesn't sound like you want a literal block, but rather a block quote or similar: a block of text that is parsed but highlighted somehow. Maybe (but this is untested) .. rubric: Theorem include text here Look at https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#di

Re: [sage-devel] Italicizing inside a literal block

2024-06-25 Thread Janmenjaya Panda
Hi, I wanted to put a theorem (in the description of the following method), related to the algorithm of the method that is implemented, in the literal block: def is_matching_covered(self, matching=None, algorithm='Edmonds', coNP_certificate=False, solver=None, verbose=0, *, integrality_toleran

Re: [sage-devel] Italicizing inside a literal block

2024-06-25 Thread Janmenjaya Panda
Hi, Consider the following description. def is_matching_covered(self, matching=None, algorithm='Edmonds', coNP_certificate=False, solver=None, verbose=0, *, integrality_tolerance=0.001): r""" Check if the graph is matching covered. A connected nontrivial graph wherein each edge participates in

Re: [sage-devel] Italicizing inside a literal block

2024-06-24 Thread David Roe
Could you explain more why you want to italicize something inside a literal block? David On Sat, Jun 22, 2024 at 10:39 PM Janmenjaya Panda < janmenjaya.panda...@gmail.com> wrote: > Could someone please mention, how to italicize a particular term inside a > literal block? > Use of `term` results a

[sage-devel] Italicizing inside a literal block

2024-06-22 Thread Janmenjaya Panda
Could someone please mention, how to italicize a particular term inside a literal block? Use of `term` results as it is in the HTML document instead of italicizing it. Thanks and warm regards, Janmenjaya -- You received this message because you are subscribed to the Google Groups "sage-devel