Questions tagged [styles]
The styles tag has no usage guidance.
47
questions
0
votes
0
answers
27
views
Can \theoremstyle be adapted so that one or two of its existing parameters can be set at the point of call?
%
\documentclass[english,11pt]{book}
%
\usepackage[fleqn]{amsmath} %
\usepackage{amsthm,amssymb} %
\usepackage{xcolor} %
\usepackage[paperwidth=170mm,paperheight=240mm,bindingoffset=12.5mm,left=12.5mm,...
0
votes
1
answer
42
views
Table of contents gets included into table of contents
Table of contents keeps being included into table of contents.
I use a template and it contains special styles. I'm guessing this behavior is caused by these lines.
\def\@part[#1]#2{%
\ifnum \...
2
votes
1
answer
111
views
How to indent the first line of body text in a theorem when its style is customly defined by the user?
I have defined a new theorem style using amsthm package and I have noticed that the \parindentI have included in the definition of the style in the line of code with comment indentation amount adds ...
0
votes
1
answer
36
views
Environment Instances in in Table of Contents
If we defined a custom environment, say \begin{example}...\end{example}, I wanted to ask for help with displaying the instances of example in the table of contents (ToC) as most appropriate ...
0
votes
0
answers
15
views
Citation Style: (vgl. author year, page; a y, p) [duplicate]
Most of my citations are only from one source so \parencite[vgl.][page]{x} gives me what I want. but there is a paragraph where I cited from two differents sources. I don't know how to get (vgl. ...
1
vote
1
answer
169
views
Two ornaments next to page numbers
I would like to place two mirrored ornaments next to each page number. I am using package pgfornaments.
Something like this...
1
vote
0
answers
122
views
set two different types of in text citation?
Is it possible to set two different types of citations in the same document?
specifically, i'd like to have a superscript number with page (if possible, the page in comment-style), and a full author+...
0
votes
0
answers
262
views
Fixing an error related to a .sty file
first, excuse me if I'm not using the right technical terms. I am not an expert in LaTeX.
I am using Overleaf to write some .tex files and I have a .sty file that contains environments (like the one ...
0
votes
1
answer
58
views
How to use the same style for the unnumbered chapters as the numbered chapters?
I'm using this style for the numbered chapters in my report but it doesn't use the same style for the unnumbered. How do I fix that?
\makeatletter
\def\thickhrulefill{\leavevmode \color{martec} \...
1
vote
1
answer
29
views
Change fontsize of table vs figure
I'm using a template provided by a conference, that doesn't follow its own style guide.
The table caption should be normalsize and the figure caption should be footnotesize.
Below I have tried to add ...
0
votes
0
answers
84
views
Missing symbol using newtxmath package
I use the following setting but some math symbols missed e.g. +, (),...
\usepackage{newtxtext} %different text font
\usepackage{newtxmath} %different math font
\let\openbox\undefined
\let\Bbbk\relax
\...
0
votes
0
answers
39
views
Compiling one tex file with two styles
I am working on a book project with Springer. I finished a draft with their style file and it complies well.
Now, I hope to put this on ArXiv after stripping out all the proprietary material including ...
0
votes
1
answer
174
views
tcolorbox: tcbposter change the annotation-style
Is there a way to change the style of the showframe-annotations?
I would like to rotate col1, col2, ... by 90° and set the font \tiny.
This could be helpfull at a huge amount of columns, say 30-50.
...
1
vote
1
answer
56
views
Is there a quick way to swap outline styles?
For the list i'm creating, I would like to use the following structure:
I.
A.
1.
With the template I am using, however, I have:
How can I alter this aspect of the list (outline, really)?
Here is my ...
0
votes
0
answers
30
views
Resolve conditionals in style file
I'm writing a style with latex mypackage.sty; in the myfile.tex:
\usepackage[option1]{mypackage}
where option may be: option2, option3,...
In mypackage.sty:
\DeclareOption{option1}{some code}
\...
2
votes
1
answer
33
views
theme with variable image
Please check this mwe.tex
\documentclass[10pt,xcolor=dvipsnames,xcolor=table,handout]{beamer}
\definecolor{dcol}{HTML}{034da1}
\usetheme{Mwe}
\title{mwe}
\author{mwe}
\institute{mwe}
\begin{document}
\...
0
votes
1
answer
623
views
Multiple ornaments between the corners
I would like to bring in several ornamental elements in the lines between the corners. I'am usigng,
\begin{tikzpicture}[every node/.style={inner sep=0pt}]
\node[shift={(1.cm,-1cm)},anchor=north west](...
0
votes
0
answers
60
views
Same feature on every page
I would like to have the same feature on every page. For instance, on one page, I created two minipages, which are now on top of the page. I would like to have this similarly on every page (I guess ...
1
vote
1
answer
31
views
Use style in a single node depending of the style of its parent matrix
I have the following TikZ snippet that renders some selected nodes in a matrix:
\tikzset{
red/.style={ nodes={font=\large} },
blue/.style={ nodes={font=\small} },
special red/.style={ text=...
0
votes
1
answer
112
views
How to get acronyms entries in uppercase letters and capitalize only the first letter of the entries from the glossary?
I found a lot of information on this forum about how to present the entries into a glossary (uppercase, lowercase, first letter capitalized); but I don't understand how to have two different styles ...
0
votes
1
answer
46
views
Can I tell Biblatex to put contributor type in parentheses after the contributor names instead of in a phrase before them with style authoryear?
I am working on a project and need a specific style of Heimildir (i.e. References). I've got everything almost like I want:
Except that I need the phrase "Gefið út af" (equivalent to "...
0
votes
0
answers
24
views
Specify additional include directories within a tex file [duplicate]
I want my document to use class files, style files or bibliography style files located in some subdirectory of my TeX document's directory. Sometimes I can sorta-kinda- use, say,
\documentclass{...
0
votes
1
answer
62
views
Biblatex: Two bibliographies with different styles and sortings II Part 4
The solution of moewe to the question Biblatex: Two bibliographies with different styles and sortings II Part 3 produces the desired output. Unfortunately, there is a special case where the output ...
0
votes
1
answer
183
views
Biblatex: Two bibliographies with different styles and sortings II Part 3
Based on the solutions to Biblatex: Two bibliographies with different styles and sortings II and Biblatex: Two bibliographies with different styles and sortings II Part 2 given by
gusbrs and
moewe, ...
2
votes
1
answer
386
views
Make chapter, references, appendix names in TOC uppercase without patch or macro. Document class - Book
I need my chapter names displayed as uppercase in my TOC. I am quite new to Latex and I am not comfortable using patches or macros as explained in this solution Uppercase sections and subsections on ...
3
votes
0
answers
5k
views
Installation of own *.sty files in TeXstudio?
How do I have to include my own *.sty files in TeXstudio (with default setting, e.g. with PdfLaTeX)?
According to the log file TeXstudio uses TeX Live 2019 .
The *.sty files are organised in folders ...
0
votes
0
answers
63
views
show margins in latex document [duplicate]
Let's say we would like to heed the margins when writing a submission such as using https://www.dagstuhl.de/en/publications/lipics
Now I remember there was an option that makes the margins visible, so ...
2
votes
0
answers
93
views
Open source document classes similar to Cam. Ser. Stat. & Prob. Math. journal style?
I quite like the style file used in the Cambridge Series in Statistical and Probabilistic Mathematics.
There are some key features of this style:
Times New Roman used throughout; tailored ...
1
vote
1
answer
101
views
Styling parts of document depending on section
How can I define section styles in a cls file based on the title of or label associated with a section? I don't have control over the content of the tex file other than knowing a minimal subset of ...
0
votes
0
answers
695
views
Add styles to MacTeX
I am a new user of LaTeX and would like to use it for my Master's thesis. I would like to use the styles from Journal of Finance (cf. http://faculty.haas.berkeley.edu/stanton/texintro/).
...
1
vote
2
answers
297
views
change the style of chapter, addchap and listof koma-script problem
I have a problem by redefining my chapter styles. I'm using \makechapterhead and \makeschapterhead for this, but I'm not able to make it work with \addchap. The chapter names of the upper section ...
0
votes
0
answers
61
views
Latex with full style packages
I have been learning latex for mathematics journal typing for a while now. I installed and I've been able to do just a little because of problems like missing styles e.g. enumitem, fancy, etc. These ...
0
votes
0
answers
224
views
Paragraph Styles
Trying to set up a section mimicking U.S.C. format: Question - Is there a way to set up personal paragraph styles. ie. paragraph section; paragraph subsection; clause, etc. Indents are set at 2em ...
5
votes
2
answers
340
views
Is The Word "\LaTeX" Professional
When you compile \LaTeX it comes out it in its own format, the logo, which is very unique. I'm wondering if that particular format is professional? Would you use it on resumes, company documents, ...
2
votes
2
answers
141
views
How can I make a modification to gchords.sty to use actual fret numbers?
I'm using LaTeX to put together a jazz guitar chords book. I've been using gchords.sty (https://kasper.phi-sci.com/gchords/) and it's worked well for me so far except for one thing: you have to ...
3
votes
2
answers
2k
views
Switch font and color of TOC and LOT titles
What I'm trying to do is pretty basic it seems, but it's also above my pay grade: change the font and the color used for the TOC title Contents and the LOT title List of Tables (see attached screen ...
2
votes
1
answer
218
views
Query beamer document class option aspectratio in a .sty file [duplicate]
I am writing my own latex beamer style. I want to use different background graphics depending on the aspect ratio chosen in the documentclass in the main file, like
\documentclass[12pt, aspectratio=...
2
votes
2
answers
659
views
Application Note style
I am trying to set-up an application note style, and this is what I have come up so far:
\documentclass[a4paper,twocolumn,twoside,11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[]{Chivo}
\...
0
votes
1
answer
1k
views
EuScript gives a strange error, even with included files
I wanted to use
the curly S style, so that I wrote this:
\documentclass{article}
\usepackage{amsmath,amssymb}
\DeclareMathAlphabet\EuScript{U}{eus}{m}{n}
\SetMathAlphabet\EuScript{bold}{U}{eus}{b}{n}...
6
votes
1
answer
282
views
Automatically add \begin{multicols}{N} to chapters
I'm trying to create a 3 column book layout. So far the only way I've figured out to get 3 columns is to use the venerable multicol package, which works nicely.
\chapter{Something Kant Said}
\begin{...
3
votes
2
answers
208
views
Theoretical CS style math steps
I am interested in reproducing this style of stepwise exposition:
This particular example is from Bird and de Moor's Algebra of Programming. This style seems to be common in theoretical computer ...
0
votes
1
answer
497
views
AGSM style: Period after years and collection titles, but not after chapter names?
I'm trying to get agsm.bst to format Harvard-style correctly (or at least the way my university requires me to do it :-) ). I have an @InCollection record like the following:
@incollection{Berndt99,
...
2
votes
1
answer
974
views
Composition of \mathbb and \mathcal
Is there any method to compose \mathbb and \mathcal, that is, to obtain a blackboard version of the caligraphic style?
Something like:
but maybe not so ugly!
1
vote
1
answer
676
views
Biblatex: Two bibliographies with different styles and sortings II
The answer of moewe to the question Biblatex: Two bibliographies with different styles and sortings is almost what I want to achieve. Because of the large number of entries in my document, I would ...
1
vote
1
answer
543
views
How to change the style of escaped symbols such as "\&"?
Well, that's pretty it.
I was wondering if there's any way to change the default style of the escaped special characters, because sometimes I find them a bit "out of the line", especially \&, ...
2
votes
1
answer
4k
views
Set custom title colour in beamer title page
I am trying to replicate the style of an Impress presentation that has a yellow on brown title in the title page. I have created a .sty file that opens with:
\mode<presentation>
\...
2
votes
1
answer
3k
views
How to produce hollow Greek letters (in math mode)
I have a strange question regarding the notation of my thesis. My paper is on the topic of quantum algebra, so I have a plethora of symbols to sign to my definitions and defined functions. In a recent ...