# All Questions

170,152 questions
1answer
128 views

### LaTeX Exam package: Align choices with oneparchoices

I'm a fairly new LaTeX user, so please excuse me if this is a simple newbie question. I am using the exam package to create, well, an exam. I use both the \choices and \oneparchoices environments and ...
1answer
36 views

### How to write this Subscript for Lagrangian Minimization Equation in Beamer

So I want an \alpha below the word 'minimise' as in this paper in equation 5 and 6.
0answers
22 views

### Vertical Alignment of Matrices with spalign Package

I am using the spalign package (http://ctan.math.washington.edu/tex-archive/macros/latex/contrib/spalign/spalign.pdf) to typeset matrices and systems of equations. Basically it just lets you use ...
1answer
17 views

### Aligning multiple subfigures in figure

I'm using the chemfig package for some structural diagrams I'm preparing for a lab report, and I need to align five structural diagrams (with their own name captions) in a 2x3 column-and-row format. ...
3answers
1k views

### Create big fat green arrow like in excel

For my masters thesis I'm using a specific questionnaire. The questionnaire provides an evaluation tool that provides some nice graphics in excel. I want to create the same look in Latex to keep ...
1answer
48 views

### How to show the origin $O$ in a tikzpicture graph

This could be a silly question, but how would you modify the codes below to show the origin $O$ without change the xmin and ymin values? The following is the resulting graph from the code. \...
0answers
27 views

### Winedt10.2 and MikTex 2.9 Wrong DVI mode driver option dvipdfm'

I am using Winedt10.2 and MikTeX2.9. I wanna run a thesis template which runs well on the older Winedt version. I am getting the error "LaTeX Error: File hypernat.sty' not found". How can I fix ...
0answers
33 views

### Why is the bottom margin of my PDF not the same throughout my document?

I'm not very versed in Latex, so I found LyX to be an easier option for me. Thus, I chose it to write my masters thesis. I'm currently facing an issue, mostly because I'm very perfectionistic. Thing ...
0answers
22 views

### How to create a nomenclature- or glossary-like section in LaTeX without downloading the packages?

I'd like to create something ideally like this: (glossaries package - How to format the positions of the columns and width of the glossary?) but without using the glossary package because I'm having ...
0answers
34 views

### Is it possible to use EPS figures exported from LibreOffice with pstool? [on hold]

I have a relatively complex diagram created in LibreOffice Draw (I use that tool, because it has a very nice implementation of connectors automatically adapting to moving objects). I need to use it ...
0answers
12 views

### How to layout left margin and bullets using parskip

There is a fairly typical layout style in technical manual in which headings are numbered and left justified. The text then is indented about 1cm so that it appears as if there is a larger left ...
2answers
38 views

### Header rule doesn't pass over the margins

I am trying to customize the header rule using fancyhdr and tikz packages. I wish the rule could overpass the margins. In order to do so I thought that drawing a line with tikz from (-1,0) to (18,0) ...
1answer
24 views

### \ganttvrule from pgfgantt not working in Overleaf?

I am trying to use the \ganttvrule macro from pgfgantt as suggested by Torbjørn T. in response to Vertical lines in pgfgantt, but with no success. This is his MWE: \documentclass[border=5mm]{...
1answer
29 views

### Why is the superscript math not bold? [duplicate]

I'm trying to get bold vectors in a superscript, but for some reason this won't happen when using the cmbright package (I like the font). Is there a way to get it to behave? Code: \documentclass[...
2answers
72 views

### how to emulate \message in LuaTeX

How do I emulate the \message primitive in Lua code in LuaTeX? I want something like texio.write('foobarbaz'), but without the line break within the word foobarbaz. Example with lualatex: \typeout{1}...
1answer
29 views

### How to include a labelled item only if referenced?

In the text, I have some \ref{a}... At the end, I have a list of \item first \label{a} ... \item last \label{z} I want to show only the first item. I tried defining a custom ref such that it also ...
1answer
39 views

### Creating bold and italic text not working with a custom font?

\textit{\textbf{Text here}} and \textit{Text here} is my code. I am using the font which can be downloaded for free from: https://sansforgetica.rmit/ However creating bold and italic text for ...
0answers
27 views

### Unknown error “! Missing = inserted for \ifnum. <to be read again> - l.283 }” when typeset [duplicate]

I have to typeset the following code for my CV. The problem is in one laptop Texworks produces the pdf file without errors but in another laptop, it produces the error expl3.sty 283 Missing = ...
3answers
76 views

### Can't read my table

Trying to print this table in one page or two maybe . please help. \documentclass{article} %\usepackage[margin=2in]{geometry} %use this later of you need tp specfy margin %\usepackage{microtype} % ...
2answers
84 views

### add straight lines to parity plot

I have the following figure in LaTeX: And I want to add the error lines (+5%, 0% and -5%) present in the following figure: Can anyone help me please? My MWE is: \documentclass[11pt,paper=a4,BCOR=...
0answers
24 views

### Fonts in Beamer. Cannot get both text and math symbols

I have installed MikTeX 2.9 and TexnicCenter 2.02 on my 64bit Win10 laptop. In article class everything works fine, but when I try to create beamer presentation with amsfonts package, the output pdf ...
1answer
31 views

### How to change \footnote notation locally in a few places?

I like to change the \footnote notation locally in a few places, see the following, we have "Asterisk footnote" "Spade footnote" "Diamond footnote" How do we effectively change \footnote ...
0answers
42 views

### Is pstool incompatible with hyperref?

I wanted to create a figure with clickable references do different chapters of my document. Therefore, I wanted to use pstool to replace placehoders in the figure with appropriate references. If I ...
0answers
22 views

### paragraph extending in just one line

My LAtex code looks like: \begin{alltt} \begin{flushleft} \large{\textbf{\textsf{Budget Justification}}} \\ \raggedright{\textsf{A LOT OF SOME TEXT FOR A PARAGRAPH}} \end{flushleft} \end{alltt} If ...
1answer
32 views

### Latex multiple equations

I want to make something like this but i don't know how, please help me.
0answers
39 views

### \usepackage{siunitx} gives strange compilation errors

I want to use siunitx package for writing the units in my document. However, just adding the line: \usepackage{siunitx} to the document (and without even using the siunitx commands) gives 84 errors ...
0answers
14 views

### Increasing the thickness of lines in a table in LyX

I'm trying to increase the thickness of lines in a table in LyX. I have tried to use one of the previous threads but it does not answer my question. I created a table as following: And I inserted \...
1answer
39 views

### How to concatenate different latex files

Suppose I wrote several latex files, resulting with several pdf files that I want to concatenate together. Now suppose that different latex files are written with different templates and packages ...
0answers
38 views

### The executed process did not succeed. info: fileName=“C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\initexmf.exe”, exitCode=“1”

when i was trying to install miktex appeared this 'The executed process did not succeed. info: fileName="C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\initexmf.exe", exitCode="1"' message and ...
1answer
21 views

### how to change bibbliography title from “References” to “DAFTAR PUSTAKA”?

I want to change "References" with "DAFTAR PUSTAKA" on bibliography. I used this code to change it but it doesn't work on my file. My fried tell me that it is work on her thesis. \bibliographystyle{...
1answer
21 views

### Enumerate: reference and hyperlink /hyperref the “numbering” of items

I aim to use \begin{enumerate} \item ... \end{enumerate} Goal: such that the numbering (1,2,3,...) of each item in the list can have a reference and hyperlink /hyperref, so I can refer to ...
0answers
62 views

### How to understand main packages of Asymptote without its document except for geometry.asy

I am a new user with Asymptote. I used TikZ before and because of personal reasons I start with Asymptote. However, when using Asymptote, I realized that there is no documentation for every package ...
1answer
16 views

### First line to always start at fixed location independent of anything that comes before it

I created my MWE with the help of this Q&A. Issue: I think it works great, the only issue is that the length down from the top of the page that the lipsum paragraph starts at in the first page ...
0answers
12 views

### LyX reporting “Unknown function” with user.bind file that remaps keyboard shortcuts to LyX functions (LFuns)

I'm using a customized user.bind file with LyX to remap keyboard shortcuts to LyX functions (LFuns), but when I try to use any of the keyboard shortcuts, LyX reports "Unknown function." Thanks for any ...
0answers
18 views

### Roman to Arabic Listing Caption Numbering [on hold]

I'm working on my thesis that uses many code listing in it. In each listing, I want to put caption with the chapter number followed by the position of that listing on that chapter. The problem is my ...
1answer
28 views

### Assigning a case marker to an align environment

How do you suggest assigning a case marker to an align environment that is on the right, and only on or near the first line? You can see that the marker I assign has too much spacing between it and ...
1answer
52 views

### Siunitx: Wrong parse in S-column tabular

Multiple uses of a text file containing numbers include a representation in a table. I read the file line by line and save those in a macro for a later use in a table. I use the S-column specifier of ...
1answer
21 views

### How to compress algorithm in a beamer presentation?

I have written one algorithm in a beamer class by using a package \usepackage[linesnumbered, ruled,vlined]{algorithm2e}. It is taking the whole slide, I have tried to fit it into a small minpage but ...
1answer
31 views

### Follow-up: Improving typesetting of striking out terms in equations

This is a follow-up question to my earlier question about Improving typesetting of striking out terms in equations. The solution proposed by @marmot works well, but I have to make more manual ...
0answers
19 views

### ! Extra alignment tab has been changed to \cr. <template> \endtemplate - cline [duplicate]

\documentclass{cta-author} \newtheorem{theorem}{Theorem}{} \newtheorem{corollary}{Corollary}{} \newtheorem{remark}{Remark}{} \usepackage{blindtext} \usepackage{enumitem} \usepackage{array} \...
1answer
38 views

### Context MKIV \cite stopped processing \righttext

Context MKIV worked with \cite[righttext={}][key] perfectly, then stopped. Where to look for problems? MWE \usebtxdataset[default][bib.bib] \usebtxdefinitions[aps] \setupbtxrendering[default][...
0answers
29 views

### Latex does not compile babel in chapter

Please help. The language is compiled only in some chapters. here my code \documentclass[12pt,spanish,letterpaper,oneside,onecolumn,openany]{book} \usepackage[left=4cm,top=3cm,right=2.5cm,bottom=3cm]...
2answers
26 views

### URL - linebreak

I'm using luatatex 1.0.4 and I already found some solutions for breaking urls. Nevertheless I have special cases for which I didn't find a solution. My sample code looks like: \documentclass[a4paper,...
0answers
29 views

### Using table of contents in without article.cls

I'm using the ametsoc.cls which is available from this website. This .cls does not call article.cls. I would like to display a table of contents. As far as I can tell, ametsoc.cls does not provide ...
1answer
19 views

### rescaling xymatrix diagram is not sufficient to resize

Hi I have the begining of the following diagram but it doesn't work \documentclass{article} \usepackage{amsmath} \usepackage{xcolor} \usepackage[all,cmtip,color]{xy} \begin{document} \[ \resizebox{\...
1answer
18 views

### Problems with verse environment from xelatex to docx via tex4ht

Note: To convert from XeLaTeX source to .odt/.docx, I am using the solution provided by Michal Hoftich. (See there for MWE and the solution by @michal.h21.) The present question is follows upon an ...
0answers
14 views

### href in latex or beamer [on hold]

So, this is my problem. I checked the path, it's ok. And I understand the message but I don't know how to fix the problem. I used: \href{run:/Prezentacija/animacija1.nb}{Promena grafika funkcije \$y=\...
1answer
6 views

### Automatic index entry for multiword terms

I'm a lazy person. The less I type the better, so I'm trying to make a macro to automatically arrange index entries for multi-word terms (composed nouns actually). Normally you'd have to type: ......
1answer
27 views

### Hide page number on a certain page of a report, but have it counted

In a report document class, I would like to hide the numbering on a certain page in the front matter, but still have that page counted in the document wide page numbering scheme. Specifically, my ...
1answer
12 views

### Keep theorem heading up when followed by centered content

(I am sure this question has already been asked. I just couldn't find it.) \documentclass{article} \usepackage{amsmath, amsthm, tikz} \newtheoremstyle{solutionstyle} {12pt}{8ex}{\normalfont}{}...

15 30 50 per page