Questions tagged [opmac]

The tag has no usage guidance.

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

TeX and how to not output the footline/headline on specific page

The title page, any page, no head/footline using plain+etex+opmac, on a per page basis. Is there a manual coding solution to a page macro to relax the foot/headline for the page. Below the "idea" not ...
1
vote
0answers
30 views

Unable to use macros from tx-math.tex

I want to print some special symbols (eg. \dagger) from tx-math.tex, but I have a problem with its usage. This is my minimal document: \input opmac \chyph \input lmfonts \input tx-math.tex \...
4
votes
1answer
63 views

I want to include non plain TeX code via \input to plain Tex

I'm using plain TeX with OPmac and want to add directly source code to my TeX source. I have to extend firstly source code with \begtt and \endtt and only then I can use \input source_code to incude ...
0
votes
1answer
51 views

vtop box breaks line, is there any way to continue the line without line break?

I tried to make my own text superscript definition with a \vtop box but it breaks the line prematurely. \input opmac \input luafonts \font\tenrm="DejaVu Serif/R" \tenrm \def\superss#1{\vtop{\vskip-...
8
votes
1answer
315 views

How do I nullify or swap the % character out, so the comments are compiled as text?

I would like to nullify or swap the % character out, so the comments are compiled as text. I tried the following, which did not work: \input opmac \input cs-iwona \typosize[14/13] \margins/1 ...
4
votes
2answers
107 views

How to change the font in the table of contents generated by opmac?

I am trying to change the font used in the table of contents. The problem is: with the table of contents generated by opmac, the fonts are rm by default. I managed to change a few codes in the ...
4
votes
1answer
124 views

Vertical space between list items in OPmac

I want to add some space between items in a list: \input opmac \def\itemhook{\vskip 7pt\relax} \begmulti 2 \begitems * $y=3x^2=x=2$. * $y=3+8x-x^2-x^3$. * $y=7-18x-3x^2+4x^3$. * $y=6-15x+18x^2-4x^3$...
3
votes
1answer
203 views

How do I install and--or use opmac using texlive?

I wanted to give opmac a try. It is supposed to be part of csplain, which is supposed to be part of texlive. I am running TeX, Version 3.14159265 (TeX Live 2015) using debian from ubuntu 14.04. But ...
3
votes
1answer
362 views

Plain TeX plus OPmac macro: setting page (background) color

Synopsis: add macro to set page-background in TeX + OPmac Out of http://petr.olsak.net/opmac-tricks-e.html#coltext ...the OPmac tips and tricks additional macro listing to the core opmac.tex macro ...
1
vote
1answer
82 views

cross-referencing a list item in OPmac

I need to give a reference to a list item in plain TeX. I have a numbered list with a custom style. \begitems \sdef{item:F}{\bf FP\the\itemnum\kern.25em} \style F * List item 1 * List item 2 ...
5
votes
0answers
165 views

Real advantages of LaTeX over other formats [closed]

LaTeX has practically become the de facto standard in typesetting with TeX and has practically superseded all other formats (even to the point that some people consider TeX and LaTeX as synonims). ...
4
votes
2answers
123 views

Incompatibility between opmac and amstex with xetex

Consider this simple document: \input amstex \input opmac \hyperlinks \Blue \Green \maketoc \chap Chapter \bye If compiled with pdftex or luatex gives no problems; while with xetex gives ...
4
votes
1answer
303 views

Baskerville and MathTime Pro in opmac with xetex

I am using opmac with xetex, and I would like to have Monotype Baskerville as text font and MathTime Pro 2 as math font. I came up writing the following: \input opmac % roman \font\tenrm="...
3
votes
2answers
182 views

OPmac problems with xetex/luatex, OpenType fonts and Spanish hyphenation

This is a follow of Spanish hyphenation and UTF8 characters in plain TeX with pdfcsplain, xetex and luatex in my attempts of use OPmac with or whitout pdfcsplain for Spanish documents. In the cited ...
3
votes
2answers
207 views

Setting font in OPmac or other Plain macros

The OPmac manual explains how to set the font size and discusses the style variations \bf, \it, \em etc. but I do not see a way to set the actual font in use. I'm using XeTeX and would like to access ...
6
votes
1answer
264 views

How to design page layout in plain TeX using OPmac?

I'm trying to create a slideshow in TeX using Opmac. I need a page layout like that: And I try this code: \input opmac \chyph \margins/1 a5l (1,1,1,1.2)cm % page format \input ctimes \...
4
votes
2answers
107 views

How to generate table of content with OPmac macro \kuk without duplicities of pages?

I'm trying to create a slideshow in TeX using Opmac. But when I use macros \kuk and \maketoc, there are duplicities in table of content. Is any possibility to generate the line in the toc only for a ...
1
vote
2answers
166 views

How can I properly set the Italian language in opmac?

I'm using the opmac macros. I need to use both Italian and English in my documents, so I need a way to set Italian language (hyphenation and the possibility of directly input the letters à è é ò ù ì) ...
1
vote
1answer
81 views

How to add an arbitrary item to the TOC in OPmac

While trying to customize my TOC for a book project, I wanted to add some vertical space between two items in the TOC. From reading the OPmac source, it seems that the TOC is generated from the .ref ...
12
votes
1answer
455 views

Thoughts on turning this DropCap/Lettrine code into a macro

I am aware there are some packages available for Dropped Capitals, esp. the lettrine.sty package for LaTeX. However, I'm learning TeX from fundamentals and decided to figure out how to do it myself. ...
1
vote
1answer
237 views

Creating a “Last Name, First Name” entry in the index for OPmac

I'm trying to create an index entry that looks like: Knuth, Donald E. 4 Where Donald is the first name of a person and Knuth is his last and E. his middle initial. From what I can tell, the comma ...
2
votes
1answer
133 views

Why does `\iid` macro in OPmac only support “,” or “.”

To create an index entry in OPmac one enters something like this: Oh, how I like \ii figs figs. Notice the repetition there? As a convenience OPmac provides \iid: Oh, how I like \iid figs . In ...
2
votes
1answer
64 views

“Top Level” category for indexes in OPmac

Is there a way to create a "top level" index entry in OPmac without a page number? I'd like it to look something like this: figs -- green 1 -- newtons 3 -- red 2 Notice, there is no page number ...
5
votes
1answer
233 views

OPmac use of \pageno instead of \folio in footline

I've noticed that OPmac is using the \pageno counter to output the \footline instead of Knuth's use of \folio (which itself uses \pageno) as in standard plainTeX. \folio of course conveniently ...
6
votes
2answers
132 views

OPmac mnote with hyperlink bug?

When typesetting the following (using pdfTeX or luaTeX) the rightmost bracket of the cross reference in the marginal note is colored as if part of the hyperlink (though not actually part of the link), ...