Skip to main content

Questions tagged [opmac]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

Opmac Footnotes with no newline

I'm using OPMAC footnote macros in Plain TeX. I am trying to format multiple footnotes on one page so they are next to each and not positioned on a new line. At the moment it formats like But I need ...
maxwell79's user avatar
9 votes
2 answers
336 views

Typesetting text and commentaries, with reasonable page-breaking

In any system (I'm open to LaTeX, ConTeXt, plain TeX, OPmac, whatever works), I'd like to typeset four running streams of text—source text, commentary A, commentary B, commentary C—and break them into ...
ShreevatsaR's user avatar
  • 45.7k
0 votes
1 answer
96 views

Rotate text in Plain Tex table (Using OPMAC) across several rows

I'm trying reproduce this table (shown in the image) using Plain Tex and using the OPmac package for creating tables. I have no idea how to include the rotated text "have been" (with the ...
maxwell79's user avatar
4 votes
1 answer
145 views

Modify footnote properties in optex

How do I modify the behavior of the footnote line and text with optex? I'd like to change the width and height of the rule, and the footnotes to hang thus: ¹ Text text text text text text text ...
user574859's user avatar
0 votes
1 answer
75 views

Multiple column problem at page break using OPmac macros

I'm using the OPmac macros for mutiple columns in a tcolorbox as suggestested in: Multicolumns inside tcolorbox breakable box It worked really nice so far, but I came upon a problem. Whenever I want ...
GrueneSosse's user avatar
1 vote
0 answers
623 views

luaotfload | load : FATAL ERROR (output excerpt on the terminal after the lua run)

On a texlive2019 distribution, tex engine luatex, fonts used recognized by other engines (xetex, pdftex, csplain). Macros of OPmac - plaintex, no latex. Sourcefile: \input opmac ...
m___'s user avatar
  • 41
3 votes
2 answers
138 views

luatex, OPmac, texlive2019 not compiling

Thanks for both replies, the question was solved ...till today. Did a tlmgr update -all of texlive2019, rebuilt the database of fonts as described in the texlive documentation, the processes not ...
m___'s user avatar
  • 41
2 votes
3 answers
366 views

How can use \sec and \secc from inside another macro definition in Opmac

Can anyone point me in the right direction? I need to wrap up basically the entire content of an article in a macro definition(this is how user passes it into my template), which contains references \...
vlsh's user avatar
  • 125
2 votes
1 answer
190 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 ...
m___'s user avatar
  • 351
1 vote
0 answers
48 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 \...
tm958's user avatar
  • 11
4 votes
1 answer
99 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 ...
Jiří Navrátil's user avatar
0 votes
1 answer
86 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-...
A Feldman's user avatar
  • 3,930
9 votes
1 answer
335 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 ...
A Feldman's user avatar
  • 3,930
4 votes
2 answers
172 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 ...
awllower's user avatar
  • 337
4 votes
1 answer
213 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$...
acarlow's user avatar
  • 1,311
4 votes
1 answer
457 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 ...
A Feldman's user avatar
  • 3,930
4 votes
1 answer
553 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 ...
m___'s user avatar
  • 351
1 vote
1 answer
139 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 ...
jiroch's user avatar
  • 113
5 votes
0 answers
248 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). ...
oettam's user avatar
  • 51
5 votes
2 answers
189 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 ...
User's user avatar
  • 2,530
4 votes
1 answer
447 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="...
User's user avatar
  • 2,530
3 votes
2 answers
264 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 ...
Fran's user avatar
  • 82.2k
3 votes
2 answers
326 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 ...
Daniel Lyons's user avatar
  • 2,031
7 votes
1 answer
423 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 \...
Maurever's user avatar
  • 115
4 votes
2 answers
149 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 ...
Maurever's user avatar
  • 115
2 votes
2 answers
385 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 à è é ò ù ì) ...
User's user avatar
  • 2,530
1 vote
1 answer
131 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 ...
acarlow's user avatar
  • 1,311
14 votes
1 answer
691 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. ...
acarlow's user avatar
  • 1,311
1 vote
1 answer
502 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 ...
acarlow's user avatar
  • 1,311
3 votes
1 answer
251 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 ...
acarlow's user avatar
  • 1,311
2 votes
1 answer
72 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 ...
acarlow's user avatar
  • 1,311
5 votes
1 answer
351 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 ...
acarlow's user avatar
  • 1,311
6 votes
2 answers
196 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), ...
acarlow's user avatar
  • 1,311