# All Questions

39 views

### Optimize TeX produced PDF for Search [duplicate]

What are some tips for LaTeX that produce search-engine friendly PDF files? For instance, if one does nothing, the default header title of the PDF file is "My Title" when uploaded to the web, which ...
34 views

### Double widetilde

Is there a standard/good way to obtain a "double widetilde" in LaTeX? Using $\widetilde{\widetilde{A}}$ the tildes are too separate to my taste. I'd like them to look like a single (double) accent, ...
65 views

### How to make a beamer form like this

Do any one know how to make a beamer presentation like the following : where the sections on a side and the subsections on the other sides .. While the first page appears as
44 views

### Format cells if they contain a specific symbol with siunitx

In my previous question, David Carlisle gave a great solution for coloring all text in a cell when the cell contains an \*. I played a little bit with this code, but couldn't include it, if the ...
11 views

### How to make a cite without () with apalike?

For my thesis, I'm trying to make my citations author,(year) but I can only make them like (author,year) I'm using the \usepackage{apalike}, but only works with \cite{blabla}. I tried to ...
30 views

### Spacing problem with aligned nested in an align environement

This minimal example \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} A &\leq \begin{aligned}[t] &\int \text{first part of a long expression} \...
74 views

### Draw permutahedron of order 3 with tikz but without sagetex

How do I draw a Permutahedron of order 3 in tikz in 3 dimensions? I'd like to get a readable code which draws a planar projection of a 3D object rather than unreadable (hence unmaintainbale) ...
15 views

### Conditionnally output a long table depending on output type?

I have a document to be outputed both in PDF (using lualatex) and in HTML (using make4ht). The document contains a long table, so I use the tabu package in PDF. Unfortunately, the package seems to ...
19 views

### Fill flowframe horizontally first

I just discovered the flowfram package and I'm trying to discover some of its features. I have a flowfram of four columns with a static frame on the top left corner of my page. (I did this so the ...
27 views

### Underline text, change underline colors in consecutive sentences

I want to underline consecutive sentences each with a different color within an italic text. So far, I have tried the soul package and can change the underline properties. However, I am having ...
26 views

### Format cells if they contain a specfic symbol / conditional cell color

I found a great piece of code by jfbu: \documentclass{article} \usepackage{color} \usepackage{etoolbox} \begingroup \lccode~- \lowercase{% \endgroup\pretocmd{\tabular}{\catcode`~\active\def~{\...
28 views

### Arabic figure numbering while chapters in roman

I want the numbering on my figures to appear as e.g. "1.1" and not "I.1". In my setup, I have made a subfiles configuration like so: MAIN.TEX: \documentclass[a4paper]{memoir} \usepackage{subfiles} \...
19 views

### font style, underline inside italic makes the text out of margin

I want to have a smaller part of an italic text, underlined. I tried the following: \documentclass{article} \usepackage[utf8]{inputenc} \begin{document} \textit{ Ham followed now ecstatic use ...
24 views

### XeLaTeX: Counters not working correctly with expex

I'm using expex for glossing translations of foreign languages. I want to label certain words in the gloss which I want to explain later with numbers in superscripts. Then I plan to use enumerate to ...
15 views

### Using KP Fonts with old style numbers except in tt

I use the kpfonts package with option oldstylenums but I would like to get by default so-called classic-style numbers when using the KP teletype font. AFAICT, the package options do not allow this. ...
28 views

### Add an new option to a package

I have made a package called byzantinemusic( see https://www.ctan.org/pkg/byzantinemusic) One could use this package to write music in modern byzantine notation using the command \usepackage{...
33 views

### Prefix for section headings, but not in captions

A journal, which I intend to submit to, asks that section headings are preceded with <heading number ...>. So I used this answer to create my custom prefix to the section headings: \...
12 views

### I'm sorry but the file 'test.lytex' doesn't exist

I'm following a wonderful walk-through here in tex.stackexchange, as well as having RTFM (it really is fine), but am missing something. Using OSX 10.10.5 - Yosemite. Latest version of TeXShop ...
103 views

### TikZ: Place different elements of a same path on various layers

I have different elements (say, a node and a filled circle) defined using a single path: \path (0,0) node [blue] {some text} [fill, red] circle [radius = 1]; Issue: I would like to put one ...
16 views

### How to bold and widen text inside mdframed

I am generating a report that spans multiple pages, and I'm using the mdframed package to display some data inside a box. I would like all the text inside the mdframed to appear in bold. Simply ...
63 views

### How can a Word writer write a manuscript with a LaTeX writer? [duplicate]

What software or tutorials are there that allow Word writers to write with LaTeX writers without Word writers having to learn LaTeX
17 views

### While compiling the tex file utility console windows printing [EOF] in BaKoMa

My Tex file input: \documentclass{article} %\begin{document} %\end{document} \def\clsname{c:/sample/sample} \def\mode{proof,crossmark-logo} \def\xmlfile{sample1.xml}% \input c:/sample/newart.tex ...
22 views

### How to put text templates into the color box theorem environment?

Problem Statement I have been received an error message of ! Argument of \begin has an extra }. regarding to line 28 (i.e. \begin{exref}) of the MWE. Which this is an optional environment to state ...
29 views

### Latex image at full page (removing any white border) and no page number

I would like to load an image so that it is full page, without any white border. Something like this. My code is like this (there may be some packages not required for this example) \documentclass[...
46 views

### $a$, $b$ in $M$ [on hold]

Mathematicians often use $a, b\in M$ to announce that a and b are elements of the set M. Sometimes, one wants to replace the "\in"-symbol by the English word "in" – for example when one tries to ...
29 views

### Tikz picture: Volume between two surfaces

I would like to draw such a picture in Tikz, especially to emphasize the volume between these two paraboloids. Since Tikz looks quite complicated to me I ask you for some help (not to present me the ...
20 views

### how to give subsubsection text same size as subsection?

how to make the text size of \subsubsection heading same as that of \subsection? I find \subsubsection text size too small and want the headings to be of the same size. Only \section heading can be ...
33 views

### How to make the symbols used in a pdf output searchable?

Is there is a way to enrich the generated pdf output from any tex source so that it contains the names of (some of) the symbols used? For example, let's us suppose that we have the following minimal ...
18 views

### Adding symbol using its unicode \symbol{unicode} not working

I want to add a symbol using its unicode value. I made a simple example to illustrate the issue. \documentclass{article} \usepackage{arabtex} \usepackage{utf8} \begin{document} \setcode{utf8} \< ...
48 views

### parcolumns package with display math

I need to typeset two parallel columns of text running over several pages, with occasional synchronization. (Synchronization meaning that both columns "restart" from the same vertical position.) I ...
27 views

### Abbreviation not shown correctly by long-short style (acronyms & glossary)

If i have a acronym that it self has a glossary entry AND the acronymstyle set to long-short then the abbreviation is not shown. MWE \documentclass{scrreprt} \usepackage[acronyms,nogroupskip,...
19 views

### Why does parcolumns indent the first paragraph differently?

I need to typeset two columns of text running in parallel. I found the parcolumns package for this purpose. However, this package seems to indent the first paragraph with a noticeably larger indent ...
35 views

### “elsarticle” toc and babel conflict?

How to correct the missplaced Appendix in the toc of elsarticle-documentclass? The title of the appendices is printed over the description Appendix in \documentclass[preprint]{elsarticle} \begin{...
34 views

### Legend next to each slice - pie graph

I already made a similar question but didn't explain my self well - Align 3 graph pies I want to have something like this: And here is the code how I constructed each pie: \def\stackalignment{r} ...
21 views

### Define a colour depending on a variable

I'm trying to set a colour depending on the content of a variable. Please have a look at the MWE below. In case of \junk{A} the text should be red on a green background. In case the content of \junk ...
16 views

### Customizing citations depending on the author with BibLaTeX style “authoryear” or “authoryear-comp”

Say I use BibLaTeX with standard style authoryear or authoryear-comp. Then given a citation command such as \parencite{A, B, C} (or any other standard Biblatex citation command), I'd like the ...
48 views

### Draw a tangent of a circle in the form of ray

Reference: How to draw tangent to two touching circles and marking the points With reference to above link I am trying to make the below figure. But I am not able to make the parts added in the ...
21 views

### Text direction in table Arabic babel [duplicate]

I want to write arabic in table \documentclass[14pt]{article} \usepackage[utf8]{inputenc} \usepackage[LAE]{fontenc} \usepackage[german,arabic]{babel} \begin{document} محمد - أحمد \begin{...
20 views

I'm trying to fiddle TeX Gyre Heros' Small caps into Helvetica using fontspec and xelatex; here's an MWE of my code: \documentclass{standalone} \usepackage{fontspec} %v2.5a %\setmainfont{...
21 views

### Citation does not work (Texmaker/MikTex)

i coded the following \documentclass[german,12pt,oneside, a4paper]{article} \usepackage{graphicx} % need for figures \usepackage{verbatim} % useful for program listings \usepackage{color} % ...
64 views

### How to shade the intersection portion? using tikz?

How to shade the intersection portion? \documentclass[border=2pt]{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[xmax=9,ymax=9, samples=50] \addplot[blue, ...
70 views

### How to draw a polygon with different line color and rounded corners?

I want to draw a polygon with different line color and rounded corners, but the corners of polygon are not rounded! \documentclass[12pt]{report} \usepackage{tikz} \begin{document} \begin{tikzpicture}[...
16 views

### How to avoid page break after section titles in parallel columns

I am using parcolumns to write some parallel columns documents. Everything works fine but some section titles show at the end of the page. I want them to be in the next page or at least some content ...
20 views

### Vertical Line in Table not straight

The code below for a table does not show a straight line all the way down after the second column. Any advice to straighten the line beyond the first row would be appreciated. Thx! \begin{table*}[t]...
31 views

### single spacing in table cell in TeX

I am looking for a solution 1. single space 2. justfy line Can anyone please help me? here is the code. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{table}[h!] %\centering \begin{...
44 views

### Enhancing Booktab Tables containing Tikz picture

I have created a table containing text, equations and a tikz picture [created using Geogebra and scaled using \resizebox]. As a beginner, I found it difficult to center my content and to remove the ...
30 views

### skip line in between \bigg\lbrace \bigg\rbrace does not work

I want to write something like this: I tried using this: \bigg\lbrace {#1} \bigg\rbrace My problem is: If I add some skip-lines ( using \ \ ) nothing happens in the document. If someone knows ...
41 views

### How to sort references by year if they have the same author

I want to chronologically sort the citations where the author is printed only once (same author, 2 or more papers from different years). I am trying with the option "citestyle=authoryear-comp." ...
60 views

### Why some citations work while others don't?

It is hard for me to understand why some citations would work and the other wouldn't? \documentclass[12pt]{article} \usepackage[margin=1in]{geometry} \usepackage{amsmath,amsthm,amssymb} ...
41 views

### How to produce a 3D-like commutative diagram using xymatrix?

Could somebody give an idea how to create the following 3D commutative diagram?

15 30 50 per page