Newest Questions
269,058 questions
2
votes
0
answers
8
views
Recommended practices when creating CTAN archives for packages for inclusion in multiple TeX distributions?
How can I adapt the archives I upload to CTAN to avoid problems in MikTeX, while adhering to CTAN requirements and TeX Live recommendations?
Judging by the issues tracker on GitHub, I am not the only ...
2
votes
1
answer
12
views
pst-node, graphicx: how to fix scalebox messing up position of node connection labels
Using scalebox to scale a pspicture environment messes up the position of node connection labels. This is shown in the MWE below using naput, but some testing indicates that this seems to occur with ...
3
votes
1
answer
38
views
How can I adhere to the best practices when handling math for TikZ with Lua?
I use pgfmath for making 3D illustrations with TikZ, but want to convert it to Lua.
I was informed that many people do not adhere to the most "bureaucratic" approach when incorporating Lua ...
0
votes
0
answers
16
views
List of acronyms spacing
I am using the glossaries package to keep track of acronyms. I'd like a list of acronyms at the beginning of my document but the style in which it is displayed is not very nice. The line spacing is ...
0
votes
2
answers
45
views
LaTeX Slides font and Computer Modern Math font Sizing
I'm using LaTeX Slides as the main text font and want to keep it in math mode for regular letters, while everything else uses the default Computer Modern math font. Since Slides appears larger, I’ve ...
0
votes
1
answer
26
views
fixcmex with LuaLaTeX?
Is the fixcmex package needed when compiling with LuaLaTeX (or XeLaTeX)? I mean, LuaLaTeX uses TU encoding, and it seems that fixcmex is used for OT1 or T1 encoding.
0
votes
2
answers
37
views
How to make vertical/diagonal bars coming out of a word (similar to a trees)
How can I do this in latex so the spacing and format is nice?
{Some text}
/ | \
{text} {text} {text}
4
votes
1
answer
54
views
The color don't appear in math mode
Why doesn't the color appear?
page 107 : Typesetting Mathematics with ConTeXt
\starttext
\startformula
\root[n=3] {1 + x}
\quad \root[n=3,color=C:3] {1 + x}
\quad \root[n=3,symbolcolor=C:3]{1 + x}
\...
2
votes
0
answers
29
views
I want my tikzpicture to be exactly the same size as Beamer's type area, no larger and no smaller [duplicate]
I like to make TikZ animations by turning Beamer "flipbooks" into .gif files.
Normally I use a bounding box that is based on the \textwidth and \textheight.
However,
\useasboundingbox
(-\...
1
vote
1
answer
50
views
Different Computer Modern Style [duplicate]
In this paper, the font is slightly different than the usual compute modern:
The usual style looks like this
I think one can see the difference. Can anyone tell me how to achieve this ,,font"? ...
1
vote
0
answers
31
views
I need help aligning my numbers to the image, the big problem here is that I need to use a long table environment [duplicate]
\documentclass{article}
\usepackage{graphicx} % Required for inserting images
\usepackage{longtable}
\usepackage{multirow}
\usepackage{tabularray}
\usepackage[utf8]{inputenc}
\usepackage{siunitx}
\...
5
votes
1
answer
57
views
Package clash fontspec,mathastext,amssymb,amsfonts,plain,showframe
I'm using xeLaTeX, but display equations I need in plain TeX format, for this, trying with:
\documentclass{article}
\usepackage[no-math]{fontspec}%
\usepackage[italic]{mathastext}
\usepackage{amssymb,...
4
votes
1
answer
119
views
How to define a macro whos name contains greek characters?
LaTeX wizards.
I'like to be able to define macros whose names contain greek letters.
For example:
\newcommand{αλπηαAlpha} %...rest of definition not important
I tried to simply define the greek ...
4
votes
1
answer
72
views
\exp_args:Nff for a starred version of a command
I want to provide a command that helps the document author to define and use in a consistent way operators when their names are acronyms. For instance, for the operator “pgcd” (in French, acronym of « ...
0
votes
0
answers
54
views
Add texture using TikZ
I find this code on a previous question, related to adding texture on TikZ: How do I add some "texture" to a tikz fill?
\IfFileExists{luatex85.sty}{%
\RequirePackage{luatex85}%
}{}
\...
0
votes
1
answer
32
views
Messages with and without newlines using l3msg
How can I add line breaks in the additional arguments of a l3 message with arguments, i.g., inside #1 of \msg_term:nnn?
\documentclass{article}
\begin{document}
\ExplSyntaxOn
\msg_new:nnn { tono } { ...
2
votes
0
answers
17
views
Tikz nodes with minimum width vs padding [duplicate]
Can anyone explain why
\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}
\node[
minimum width=3cm,
minimum height=15mm,
anchor=south west,
draw,
align=flush left,
...
3
votes
1
answer
41
views
Newlines with \msg_term:nnn
How may I introduce newlines with messages passed to \msg_term:nnn? I do not want to include newines in \msg_new:nnn because the newlines would be introduced on all calls to \msg_term:nnn.
\...
1
vote
2
answers
57
views
Vertical shift of X relative to digits with Computer Modern Sans Serif/Latin Modern Sans Serif
While using beamer, biblatex and the iso-authoryear (ISO690) style, I noticed that when ISSNs are printed, X's are vertically shifted relative to digits. Here is an example:
\documentclass{beamer}
\...
5
votes
1
answer
76
views
Boolean Insertion-sort algorithm in expl3 for use in tikz
I want to build an insertion-sort algorithm for sorting segments in tikz.
In the following algorithm, I make a list of segments, along with their depth, then sort that list by depth, and then loop ...
0
votes
1
answer
34
views
Renaming of cutfile of comment package not working
According to the comment package documentation p.2 section 3.1 one should be able to rename the cutfile's file name.
Given the following MWE this does not seem to work:
\documentclass{article}
\...
2
votes
2
answers
86
views
How to resolve or suppress 'Missing character in font nullfont' warnings in tikz nodes within tcolorbox
I'm encountering persistent warnings of the form Missing character: There is no (U+....) in font nullfont! when placing graphical elements through overlay using tikz nodes containing text within ...
0
votes
1
answer
36
views
Alignment Issue (Node)
I got this idea from someone Named Drew (grab your pencil) on Teachers Pay Teachers. I love the use of Tikz to create his guided notes and I am trying to improve the code so I can use it. I can't ...
6
votes
1
answer
105
views
How can I refer to the final labelled subsection within a given section, whichever that subsection is (without giving the label explicitly)?
I have a section with subsections, (and possibly subsubsections), each of which has a label. I want to ref to whichever is the last subsection within that section. I can do that manually like this:
\...
5
votes
1
answer
303
views
How to obtain font in Wald's General Relativity?
What is the curly/script font that Wald uses here for the tensor space (the curly T) and the function space (the curly F)? I wasn't able to find these fonts in Table 348 here, nor from other posts.
1
vote
1
answer
39
views
Making a column Chart with two different y-axis labeling and scaling
iam trying to do a column chart for my report in latex. The column chart should have two different y-axis labeling and scaling. The one with kwh/m^2 and the other one with kg/m^2. Thats my Code:
\...
4
votes
1
answer
54
views
file name in header
I'm struggling with getting the desired information in the header of my document.
MNWE:
% This is main-file.tex
\documentclass[twoside]{scrartcl}
\usepackage{currfile}
\usepackage{blindtext, lipsum}
\...
0
votes
1
answer
80
views
Help me refine this model [closed]
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{arrows.meta, positioning}
\begin{document}
\begin{tikzpicture}[
node distance=3cm and 3.5cm,
every node/.style={rectangle, ...
1
vote
1
answer
75
views
Reproducing a triangular‐waveform diagram with grid, axes, ticks and labels in TikZ
I’m trying to recreate the following hand‐drawn diagram in LaTeX using TikZ:
The key features are:
Background grid with 1 cm spacing.
Bold x- and y-axes through the origin, with small tick‐marks at ...
2
votes
1
answer
42
views
Reledpar: Problem with sidenotes and numbered lines
I have got a problem with the reledpar package. When I enter a sidenote and it appears in a section that is numbered, the numbering and the note overlap. I can't explain why, as it is described ...