# All Questions

31 views

### Lyx to Word Export issue

I need to produce a RTF/DOC/ODT document from LyX for my supervisors to comment and edit. The Lyx document contains ERT, master/children docs, hyperrefs, cross-references, svg/png figures, and basic ...
31 views

### minipage with page break

I'm using LaTeX for writing math tests. Every task I wrap into an environment, which I defined like this: \NewEnviron{beispiel}[1]{\begin{minipage}[t]{0.76\textwidth} \BODY \end{minipage} ...
112 views

### How can I make underbrace texts be in normal-text size?

Situation I am using \underbrace with \substack for multi-line underbracing. The problem is that the text under the brace is small relative to the normal text. I want to make the size of texts under ...
28 views

### Weird plot from discontinuous data

Tex gurus; I'm trying to plot some data against time, for which I have some missing values. Most of the time, this works well, but for one plot in particular I am getting some very strange results. ...
63 views

### How to draw a line between two circles?

I want to create a graph using Asymptote and this graph consists of quite some circles with lines between them. Let me give a small example using two circles. pair a1=(4.5,2); pair a2=(0,0); real ...
25 views

### How to create boxes within columns (Beamer)?

I need to have three columns and the text within each should be enclosed in a box. below is my code, but it is not working: \documentclass{beamer} \usepackage{tikz} \usetikzlibrary{calc} ...
10 views

### subfigure errors “missing number, illegal unit of measure…”

I've been googling around on how to use subfigure to put two figures side by side. By the examples I've seen, this should work: \usepackage{subcaption} \usepackage{caption} \usepackage{graphicx} ...
13 views

### How do you avoid the lacheck warning when specifying half open intervals?

I'm using lacheck. I have Alice's and Bob's integers are in the range $[0, q)$ My LaTeX gave me the following warning: ']' expected, found ')'. Is there something I can do to avoid this warning? ...
40 views

### How to make the flow chart in LaTeX?

How to make the flow chart in LaTeX?
44 views

### How to remove extra space above the figure

This is tex file Thus, speculatively, higher-order antibunching might play a role superior to usual antibunching. Note that such a prominence of higher-order antibunching was discovered for the first ...
57 views

### How do I load expl3 without LaTeX (or any other format)?

\input expl3-generic % hello, world \bye gives me \inf errors about undefined control sequences when processed with tex. When processed with initex, I'm greeted with an even more puzzling error ...
68 views

### Create page border using tikz

I want to create the page border like the image in the attachment but I don't know how to do that? Please help me and thank you.
54 views

### Forcing a common z-scale in a surface groupplot

I've come across some similar questions, but not this exact one. And nothing I've tried has been able to achieve precisely what I'm looking for. I have a groupplot that contains two overhead views ...
45 views

### How to make metrics of LM-fonts the same as of CM-fonts?

In the article about LM-fonts it's written: Finally, they can be used with the CM metrics (e.g., via psfonts.map), so as to preserve typesetting of existing documents. IMHO, font metrics are ...
20 views

### Change position of postnote in verbose-inote citation

I'm trying to put together a custom biblatex style that complies with the third edition of the Australian Guide to Legal Citation, building on top of verbose-inote.cbx and authortitle.bbx. The AGLC3 ...
30 views

### Mysterious error message when using iftex package

I am using iftex package to detect which TeX engine I am using. In the following example (MWE) I am using pdfTeX engine: \documentclass[norsk]{beamer} \usepackage{iftex} %\RequireLuaTeX \ifXeTeX ...
31 views

### Use filecontents everywhere in the document (including after “\end{document}”)

According to filecontents' manual (version number v1.3, last revised 2011/10/08, p.1) : (The comment about filecontents being valid only before \documentclass is, in fact, untrue. filecontents ...
26 views

### Refering to colors using numbers

I want to create a command allowing me to colour arbitrary text with a color designed by a number (e.g. 1 = Green, 2 = Blue, etc). To that purpose, I create a first command, giving the name of the ...
86 views

### How to put several images in one row in LaTex?

I want to know how to put 3 images in one row in Latex, so that it looks like the following format: Anyone can help me! Thank you so much! Note: The figures need to span two columns inside a ...
34 views
+100

### How to replace certain Greek letters in mtpro2 with their counterparts from newtxmath

I use mtpro2 package in my article for writing math and times for text. The question is how to use certain Greek letters (like \gamma which I see better in newtxmath) from newtxmath instead of those ...
11 views

### Justify text in beamer poster [duplicate]

I am using the beamer Poster Template from this page: LaTeX Beamer Poster Theme and Template and I am trying to justify the text but I cannot find any option. There is a similar question concerning ...
22 views

### Help to make table of content

I have been struggling to make a table of content to my thesis, can anyone help me with this? I was looking for a complete code where I could just put the names on the chapters and sections, but didnt ...
15 views

### Repeated “Label(s) may have changed” when using \catcode`_=12 underscore hack with hyperref

This MWE produces repeated Label(s) may have changed warnings despite the output files not changing. The same problem has been discussed in How to diagnose a permanent "Label(s) may have ...
140 views

### How can I check whether two control sequences have the same name?

I'd like to test whether two custom control sequences have the same name, regardless of what they expand to or whether they're actually defined. For instance, \ifsamecsname\Foo\Foo should be ...
29 views

### Styling enumerate environment from the enumitem package

I am trying to style the enumerate environment from the enumitem package... I want basically that the enumeration is not too to the left, for example I don't want something like this: I would like ...
11 views

### Using titleps with unnumbered sections

When I use unnumbered sections, my titleps headers seem to inherit the section name and numbering from the previous section: \documentclass[a4paper,11pt]{article} \usepackage[utf8]{inputenc} ...
30 views

### Issue with the numbering in table of content

I have this numbering : I. Introduction I.1.blabla I.2.blablabla I would like to have it like this : I. Introduction 1.blabla 2.blablabla
26 views

### Are table captions expected to be placed below the tables in the article class?

In the article class, is table caption supposed to go below the table? Common practice in academic writing is that table captions should go above the table; does the article class (I checked also ...
29 views

### landscape to portrait

I'm working on landscape and I want only one page in portrait. How can I do that? My workfile: \documentclass[17pt,landscape,a4]{extarticle} \usepackage[utf8]{inputenc} \usepackage{animate} ...
13 views

### How to make subfloat figures wider vertically

I am trying to make the subfloat figures wider but I couldn't, It looks very small and narrow as shown below .. any ideas?? My Code: \begin{figure*} \centering \subfloat[]{\includegraphics[width ...
36 views

### Issues switching from natbib to biblatex; %-symbol in howpublished field and style from .bst file

I would need to have two bibliographies in my work and it seems this is rather tricky to do with natbib. Thus I thought I would move over to biblatex as printing two different bibliographies with it ...
23 views

I have included the package amsmath as required to defined a new theorem/corollary (without number), but I keep having the following error: ! LaTeX Error: Command \* already defined. Now, ...
24 views

I'm using a LaTeX report style to construct a document. Each section has a title that begins with a date, like this: Sun Jan 11 2015 - A Sunny Day Wed Feb 4 2015 - A Rainy Day Thu Mar 5 2015 - A ...
79 views

### Help designing a package to use with personal notation

I am attempting to typeset a notation that I use for my own work, and I am struggling to create flexible commands. The notation involves placing mathematical symbols and expressions as if on the ...
36 views

### Fit a table without changing the font size

I have large tables and they tend to no fit within the page so i used {adjustbox}{width=1.0\textwidth} but this make the font extreemly small. Is there a way that i can fit the table without ...
26 views

### The table labels are working fully

I am assembling my thesis, and have the following two tables: \documentclass{article} \usepackage[margin=1in]{geometry} \usepackage{pdflscape} \usepackage{longtable} \begin{document} ...
15 views

### Appendix on multiple pages: add the title “(Continued)”

I have realized a Latex document that holds two appendices. They are both included as .tex files. The first appendix, APPENDIX A, is one page long (and it is fine). The second, APPENDIX B, is ...
32 views

I'm trying to add a symbol (like an arrow) behind a reference, editing the \ref command, something like that: \documentclass[a4paper,12pt]{report} \usepackage{graphicx} \usepackage{hyperref} ...
20 views

### Recommended practice for spacing between “and” and “\ref{}”?

It is widely known that one should insert a non-breaking space ~ between the name of a reference and the reference itself, e.g., As we can see from figure~\ref{fig:foo}, [...] This avoids the word ...
55 views

### Diagram in TikZ gives compiling error

Here's my code which is working on the landscape mode: \begin{tikzpicture} \node[rectangle, draw, thick,minimum width=5cm,minimum height=2.20cm] at (0,1){ \begin{tikzpicture} \node[input] ...
42 views

### Graphing y=x^2 and y=x

I want to draw the region bounded by y=x^2 and y=x. Any ideas? I was hoping this would be somewhat simple. I've tried used a similar, with \begin{axis}..\end{axis}, but it doesn't like that. Did I not ...
17 views

### pstricks with old latex-dvips-ps2pdf worked; fails with 2014 TeXLive xelatex

I have drawings using pstricks that worked just fine in an old (2008) version of LaTex. On a new machine I switched to texlive 2014 and using xelatex the drawings do not work. For example, the ...
25 views

### I am trying to get the image full screen and landscape

I have generated a picture of chromosomes that I wish to make landscape: \documentclass[12, twoside]{report} \usepackage{graphicx} \usepackage[a4paper,margin=1in]{geometry} \usepackage{lscape} ...
19 views

### How to get rid of the two lines for empty abstract and keyword sections?

How can I get rid of the two lines resulting from empty abstraction and keyword sections? Thanks. The code is \documentclass[preprint,12pt]{elsarticle} \usepackage[nodots]{numcompress} ...
36 views

### I-macron without space [duplicate]

I want to write the name Ibn-Sīnā with macrons over the i and the a. I found out that can I add macrons using \=a and that I need \=i\ to avoid the dot over the i. When I write Ibn-S\=i\n\=a I get ...
4 views

### Apalike bibliography style refer to numbers

I have been using Apalike bibliography style perfectly well. But suddenly it has started to refer to with numbers instead of author-year format. I found a post that report the same problem here, ...
9 views

### reference webpage apastyle

Im currently using Latex to write my thesis and I experience problems when adding webpage sources. I have tried with for example with @misc, but can't really figure out a good solution. I have ...
138 views

### How to match last substring

I am working on displaying source code for which I pass a path to a macro. Now I am wondering if it is possible using xstring or stringstrings to match from after the last delimiter, i.e. / to the end ...