3
votes
1answer
12 views

absolute value in numerator of fraction

I am having trouble writing a term of an equation which is fractional where only the numerator is inside the absolute value symbol. The syntax I used is: \frac{\abs{\lambda_f}}{8\pi^2} But I keep ...
0
votes
0answers
3 views

How can I use an algorithm2e function macro inside an algorithm2e caption?

Algorithm2e lets you define functions using \SetKwFunction{Fn}{Function} which you can then reference anywhere in the document (not just in an algorithm environment) using e.g. \Fn (which will output ...
0
votes
0answers
11 views

Spacing between custom command and subsequent text [duplicate]

I have defined a custom command for the name of my project; e.g. \newcommand{\projectname}{Gizmo}. When I used the command in my document, I've found that I need to place a ~ after the command in ...
0
votes
0answers
8 views

Alternative to a Minipage page breaks

I would like to have a replacement for my minipage design of this exercise environment. I recently learned that minipages are unbreakable across page boundaries. And as a novice to the TeX/LaTeX ...
0
votes
0answers
13 views

Section titles formatted as normal text

Can I get output like that of this \documentclass{article} \begin{document} \noindent Sections whose titles are set as normal text.---I would like some of those. \end{document} but such that the ...
1
vote
1answer
14 views

How does latexmk find package files?

I installed TexLive on Arch Linux together with texlive-latexextra in order to use the package todonotes, but latexmk does not find the todonotes.sty file. This is what it prints: $ latexmk -- pdf ...
1
vote
0answers
12 views

All of a sudden Biber stops compiling my .bib file.

I am running Winedt 9, Biblatex and Biber, and all of a sudden Biber will not compile my bibliography file. It's the strangest thing, everything was working perfectly and then all of a sudden I get 77 ...
4
votes
2answers
16 views

Fix brackets in blkarray

in the code given below, I wanted the brackets from the \blkarray matrix to match those of the original matrix given in Equ (1). The issue is, when I use the \blkarray, the brackets are too short ...
2
votes
1answer
12 views

Subfigures in subfigures in latex

I'm trying to put two separate images in one subfigure so that it can be combined with another one to complete a figure i.e. (img-a) (img-b) (img-c) (img-d) (a) (b) ...
1
vote
0answers
15 views

draw half line between two nodes tikz

I have the following graph: \documentclass[border=1mm]{standalone} \usepackage{siunitx} \usepackage{tikz} \begin{document} \begin{tikzpicture} ] \node (n1) at (0,0) ...
1
vote
0answers
18 views

Open two tex files

I used to open two separate tex files, it's very useful, e.g. to cut and paste, compare, etc... When upgrading to El Capitan (I use a MAC) I cannot do that any more. When I try to open a second tex ...
1
vote
0answers
12 views

Sort footnotes alphabetically or per-page glossary

I'd like to create a document where glossary entries are on each page in the footnotes and I've been able to do that (see MWE below), but I'd like the footnote glosses to be sorted alphabetically, but ...
6
votes
3answers
47 views

Creating a multi-line colored box in LaTeX

I am trying to create a colored box in LaTeX that has two lines. I would like the text to be centered. Ideally, I want to be able to change the text font and the size of the colored box. So, an ...
1
vote
0answers
17 views

mathbbol and Metric (TFM) file not found

Hello everybody I am a new Latex user I have a simple document % \documentclass[12pt,onecolumn]{report} \usepackage[ansinew]{inputenc} \usepackage{amsfonts} ...
3
votes
0answers
16 views

Included PDF pages mess up page numbering in PDF-reader

I have a report with a frontpage, abstract, preface and acknowledgement. These pages are not numbered. Then the remaining pages contain several chapters and all these pages are numbered. Today I added ...
3
votes
1answer
11 views

Print origdate with biblatex-chicago - for journal articles

I want to use this approach to include the original date of a publication. However the answer seems to work only with @book but not @article: \documentclass{article} ...
3
votes
2answers
47 views

Somewhat customized “align” environment?

Neither of the two "versions" below gives me what I would like. The first one is somewhat tolerable. However, I would like the two instances of \sum_{(A\,:\,|A|=k)} to be aligned with each other, ...
3
votes
0answers
20 views

Margin references in tufte-handout with pandoc

I'm trying to convert a Markdown file to PDF using pandoc and a tufte-handout template. I would like to have references in the margin, instead of in the end of the document, is this even possible in a ...
2
votes
0answers
38 views

I get an error when using \underline{x} in mathmode. Why?

I am trying to use $\underline{x}$ but I'm getting the following error in LyX: \inputencoding{latin1} $\underline{x} $\selectlanguage{hebrew}% I've inserted a begin-math/end-math symbol since ...
4
votes
1answer
40 views

Error when using tikz \node, \subnode

In the code below, building off solutions found here, I am trying to use the \node and \subnode options to draw the arrow, but I cannot get the file to compile. Can you help me to fix the code to get ...
3
votes
2answers
39 views

Bring enumerate back to numbering default

I'm using a nested list, where the outer items should be with numerals and the inner ones with numbers. I'm trying this with the package enumerate: \begin{enumerate}[I] \item numeral I. This is ...
2
votes
1answer
24 views

“Extra \fi” error when defining mutually exclusive package options with conditionals

I have been trying to create a package, which loads the babel package and sets the language with an option. I've been getting strange errors when trying to define mutually exclusive package options, ...
3
votes
0answers
27 views

How can I insert vertical text spanning multiple rows into a table?

I would like to add a column to my table that looks like the right most column in the included picture. As of now, I am using tabularx to create the table \begin{tabularx}{\textwidth}{|X|c|} ...
2
votes
3answers
38 views

How to use lettrine in Cyrillic?

There are many topics about Latin initial capitals but is it possible to make something similar to that picture in Cyrillic?
1
vote
0answers
27 views

Make the Header space a little shorter

Basically I am trying to ensure that text on page two of any chapter respects the header. I sort of resolved this by including \headsep = 45pt (it ensures that the not-first chapter-pages respect the ...
1
vote
0answers
18 views

Three and four images with captions in a Beamer framer

I have often used two columns and two images side by side in Beamer frame. But I could not get three one large and second column contains two small images or four images with captions in a single ...
2
votes
0answers
20 views

IPE: An error occurred during the Pdflatex run

I have the same problem as here: Ipe latex, error with pdflatex command but I don't understand the answer :( Problem: When I run IPE, I get this error: "An error occurred during the Pdflatex run ...
1
vote
0answers
25 views

How to make ClassicThesis work?

I'm trying to write a test document in classicthesis, but I think I have a problem with the package. I wrote this \documentclass[a4paper,11pt]{scrbook} \usepackage{lipsum} ...
2
votes
0answers
15 views
2
votes
0answers
18 views

Adding shell commands to hide LaTeX Aux files after compiling in TeXShop or TexStudio

I run LaTeX under OSX, and I would like to attempt to hide all of the LaTeX helper files from the finder after compiling. It strikes me that the simplest thing to do is not to move them or delete them ...
3
votes
0answers
34 views

Where do I send patches to epstopdf? I made a patch to force B&W PDFs

I made a small patch to epstopdf to force the PDF to B&W. I had a document with some color, and I needed to convert it to a B&W PDF to avoid triggering color separations. Is there a place to ...
1
vote
0answers
17 views

Put ';' after page number in index

I'm trying to have dictionary like index, where some terms with different variations in text are defined. it seems this is easier with indexing. I try to have subitems of one index item on same line ...
0
votes
1answer
41 views

Highlight matrix cell and have arrows pointing from cell with text [duplicate]

This code is building from the solutions posted here. I am trying the approach suggested from the duplicate solutions. I am having two issues: I am not sure how to get the arrow to point to the ...
3
votes
1answer
16 views

how to change font-size of a tikz tree

Is there a possibility to change the font size of the text right on the line of the following tree? I would like to reduce it, so that the tree does not appear such big. I hope someone may help me. ...
1
vote
0answers
16 views

colorbox highlighting: overfull hbox

For a current LaTeX-Document, I've done some highlighting using colorboxes around specific words or formulas. This works quite well, although, of course, the colorbox doesn't do line breaks when it is ...
1
vote
2answers
20 views

Arithmetic overflow error using bytefield package while attempting to constrain width

I'm attempting to draft a document that makes very heavy use of the bytefield package and running into the situation that it seems no good solution exists for fields that have to be 64 bits wide (even ...
2
votes
1answer
9 views

pgf-umlcd: underscore in class name failing

I have a simple class diagram drawn with pgf-umlcd, but using an underscore within the class name leads to an error message. \begin{tikzpicture} \begin{class}{foo\_bar}{0,0} % some stuff here ...
2
votes
1answer
20 views

Why do my lists of floats get collapsed?

I defined two types of new floats, but when I try to list each of them separately, they get collapsed into the same list. Here is an MWE: \documentclass{book} \usepackage{float} ...
2
votes
0answers
19 views

How put two glyphs to mp image and get kerning

Is possible to put two glyphs in any place in MetaPost and get kerning between it? for example using Lato-Regular.ttf 'ab' in 1.7cm,2cm and get information kerning 'a' and 'b' or put 'a' in ...
0
votes
0answers
5 views

Force natbib+apalike to display the first two authors for a specific item

I am using natbib with apalike bibliography style. Some of the entries in my bib file are papers characterized by first co-authorship. So far, when I \cite them, only the first author is reported ...
1
vote
0answers
24 views

Indentation issues with highlighting cell using tikzmarkin

I am trying to eliminate offset/indentation issues when using tikzmarkin to highlight regions of a table. \documentclass{beamer} \RequirePackage{booktabs,colortbl,caption,tabularx,chngcntr, tikz, ...
0
votes
0answers
18 views

Undefined citation

I'm doing my first bibliography and I'm getting errors for one hour now. The .tex file : \documentclass[francais,10pt,twosides,a4paper]{report} \usepackage[francais,polutonikogreek]{babel} ...
4
votes
3answers
140 views

Expandable macro with loops and advanced string functions?

This might be a very basic problem (as a follow-up to this question) but I cannot figure out how to do it: I need a macro \mycmd{sometext} that yields a string depending on the first character of its ...
0
votes
0answers
39 views

How do I create a template for thesis title page?

My university wants my thesis title page to be formatted in a certain way (see left image below) and I was able to do it in LaTeX (see right image below): I used the following LaTeX code to do the ...
3
votes
2answers
99 views

Straight Table Borders

I was just wondering whether there was a simple way to make the borders of a table straight? My code currently is: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{setspace} ...
0
votes
2answers
22 views

How to set column width in tabularx?

I have a table, how to set width of 6th row, so the widths of columns be 25%|25%|25%|25% ? right now my code of it looks like this: \documentclass{article} \usepackage[utf8]{inputenc} ...
0
votes
0answers
24 views

Table don't care about section

I'm trying to make a lab report and will begin my results with a table. The problem is that the table, even though it's written after, ends up BEFORE the section. Can anyone tell me what I'm doing ...
0
votes
0answers
13 views

How to move a header to the extreme top of the page?

I have a image as footer: \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand{\headrulewidth}{0pt} \fancyhf{} \usepackage{lipsum} \setlength\headheight{26pt} ...
3
votes
1answer
95 views

Making different styles in a latex document

In LaTeX there are such commands as \textit{}, \textbf{} to make a fragment of a text italic or bold. Can we make custom commands like this with different color, font, italic/bold/underline modifier? ...
0
votes
0answers
21 views

How to put tilda ~ on top of greek letter tau \tau [duplicate]

There is command to put tilde ~ on a letter \~{k}. Does any one know how I can put tilde ~ on top of Greek letter tau. When I use \~{\tau}, it does not produce any result. Some one please help me out. ...

15 30 50 per page